jrealpe / droidar

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

Couple of Questions- #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.  What is the best way to present a GeoObj with text associated with it?  In 
looking @ the demoSetups, I add a MeshComponent to the GeoObj, but I dont see 
an example of how to also put a text description with it.

2.  How can I control how large the the VirtualCamera can "see" into the World 
object?  I am putting some GeoObjs in the World.  Some of these objects may be 
miles away from the current location of the phone, thus current Camera, so the 
user cannot see those objects. When I move the VirtualCamera(with 
EventManager.setPosition) close to the GeoObj, it appears, but I need a way to 
scale the camera so the user knows those items are in the world with out my 
moving the VirtualCamera close by.  

3.  Other frameworks(Mixar) have the concept of a RadarView that helps the user 
frame up the items.  And give some context to the GeoObjs in the World.  Any 
plans on implementing something like that to help the user navigate through the 
world object?

I hope someone can help us...we have a few project in the pipeline...and really 
want to use DroidAR...but the docs are kinda light.

Thanks

Original issue reported on code.google.com by eastrate...@gmail.com on 8 Oct 2011 at 8:21

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by simon.heinen on 11 Nov 2011 at 12:15