Closed GoogleCodeExporter closed 9 years ago
1. What do you mean with "put a text description"? do you mean adding a text to
the virtual world which will fly around near the object or do you mean a text
that should be displayed when the user clicks on the objects or get close to
the object or whatever?
2. i also thought about this a while ago but i'm still not sure what the best
solution is. i think something like a arrow with information about the object
which is far away might be a solution so that the user can be guided to the
object. i already implemented a small component which will help you doing this
and i will add a new blogpost about how to do this in the droidar blog (
http://droidar.blogspot.com/ ) soon
3. jep i planned to add a little 2d compass view to droidar for a long time but
didn't have the time jet. its on the todo list so just check the blog from time
to time and if you find a free to use android compass view or something like
this tell me;)
Original comment by simon.heinen
on 11 Oct 2011 at 11:23
1. For this example. We are putting a GeoObj in the world with the arrow
MeshComponent. We also want some text to go along with that GeoObj and Arrow.
So the user can see what each of the arrows describe. So our example is we
drop a bunch of arrows in the world based on GeoLocation spots, and we want to
have the description also be able to be seen as text by the user as they
walk(move) around the world(virtualworld).
Original comment by eastrate...@gmail.com
on 11 Oct 2011 at 12:22
Forgot about #3-
3. Mixar has a good 2d compass that im sure you could use to get that
functionality into DroidAR.
Original comment by eastrate...@gmail.com
on 11 Oct 2011 at 12:24
you can use the
http://code.google.com/p/droidar/source/browse/trunk/droidar/DroidAR/src/gl/GLTe
xt.java class to display text to the user. just combine two meshes like this:
Mesh arrow = newArrow
Mesh text = new GLText(...
text.setPostion(new Vec(0,0,10)) to move it above the arrow
arrow.addChild(text)
the alternative to GLText would be to use objectFactory.newTextObject(..)
Original comment by simon.heinen
on 11 Oct 2011 at 3:35
Original comment by simon.heinen
on 11 Nov 2011 at 12:15
Original issue reported on code.google.com by
eastrate...@gmail.com
on 8 Oct 2011 at 8:21