Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation of images in coordinate plane obscures them #34

Open
GoogleCodeExporter opened this issue Jan 29, 2016 · 2 comments
Open

Rotation of images in coordinate plane obscures them #34

GoogleCodeExporter opened this issue Jan 29, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

Issue 39 has been merged into this issue.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant