ErNancy / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

Rotation of images in coordinate plane obscures them #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to display images at various GPS locations using GeoObj. The problem 
is that some images get thinned down, since they are along the axis. Because of 
this, it's hard to see them.
I also don't want images which are further away to be smaller.
Can you point me to where in your code do you rotate and resize the images so I 
can remove it, or is this just a feature of GL?

Also, I wanted to add text under the image to show how far away the object was, 
which should update as you move closer to the object. Any hints on how to do 
this?

Thanks a lot.

Original issue reported on code.google.com by shresht...@gmail.com on 1 Apr 2012 at 5:16

GoogleCodeExporter commented 8 years ago
OpenGL renders the objects in the 3d space and objects far away are obviously 
smaller then close object ;) I do not recommend this type of ar overlay where 
the icon is just in the same direction then the real world object because it 
reduces the impression of augmentation and the user will be much more 
interested in a simple list of objects near him or a map then this type of 
POIs. AR gets interesting if the user has the impression that the virtual 
objects are part of the real world, so I would do it like I did in the 
ToFarAwaySetup example and show some sort of direction hint for object which 
are far away (or maybe a path to the target object). 
the other option would be to upscale the virtual meshes myMeshComp.setScale() 
in relation to their distance. 

The rotation problem can be solved by using a AnimationFaceToCamera animation. 
Just add it to the meshes and they will face to the virtual camera. I use it in 
the DebugSetup example e.g

Original comment by simon.heinen on 2 Apr 2012 at 9:57

GoogleCodeExporter commented 8 years ago
Issue 39 has been merged into this issue.

Original comment by simon.heinen on 24 May 2012 at 6:27