rohegde / droidar

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

Display 2D images/text and real time refresh #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey !

I would like to implement some information view like you can see in AR 
application like wikitude where you see the far POI and a information display 
in 2D rectangle which is no affect by distance in real world (ie rectangle 
keeps his aspect).

You can see in this image.

http://media.smashingmagazine.com/wp-content/uploads/images/first-person-user-in
terface/wikitude.jpg

I am not  comfortable with all opengl stuff so what i have done : (GLText is a 
bit simple for what I want to do)

- Make a FrameLayout add TextView in it.
- Use util.IO.loadBitmapFromView to get bitmap of FrameLayout
- Make a mesh with newTexturedSquare and the bitmap
- Then use this mesh

But I need to refresh the text.

What I will to do ?

- Delete mesh
- Remake a mesh with new text

But I don't know if it is optimal, I think not.

Do you have hints to do what I want to do ?

Actually I need to do farAwayObject effect but with the refresh of text.

Thank you.

PP.

Original issue reported on code.google.com by pphom...@gmail.com on 23 May 2012 at 5:17

GoogleCodeExporter commented 9 years ago
And another question,

SimpleTooFarAwayObject object displayed is a bit trembling whereas GeoObj 
object is very stable on display. Why  a such difference ?

Original comment by pphom...@gmail.com on 24 May 2012 at 10:56