We are currently working on an app that will display objects superimposed on the camera view (basically an augmented reality), but are finding that the objects don’t appear “real”. The reason for this is because the size of our objects do not change in size the same way that objects in real life do.
For example, let’s say we placed an object in augmented reality at lat = 43, long = -70. If we started walking closer to this point with our phones, we should see the object getting larger as we get closer, but as of right now that increase in size is linear. However, as we started walking closer to the object in real life we would see it getting bigger according to a specific function.
Any ideas as to what that function might be?
Thank you.
I believe I’ve found the answer here: http://en.wikipedia.org/wiki/Visual_angle. Looks like the proper formula to use is tan(2 * arctan(realSize / [2 * distance])) * screenSize.
Someone please correct this if I made a mistake with my math.