amirmarmul / DroidAR

Augmented Reality Library for Android
1 stars 0 forks source link

How to make the MeshComponent to face camera without animation? #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

What is the expected output? 
MeshComponent face the camera without animation

What do you see instead?
the MeshComponent face the camera with animation

What version of the product are you using? On what operating system?

Please provide any additional information below.
I just want to know how to make the MeshComponent to face camera without 
animation. (without AnimationFaceToCamera)

Original issue reported on code.google.com by Yosafat...@gmail.com on 22 Jul 2012 at 3:14

GoogleCodeExporter commented 8 years ago
If you dont use the AnimationFaceToCamera you will have to do it similar like 
in the code for the AnimationFaceToCamera but this needs some opengl 
understanding. what is the problem with AnimationFaceToCamera?

Original comment by simon.heinen on 22 Jul 2012 at 7:15

GoogleCodeExporter commented 8 years ago
Actually there is no problem with animationFace to the camera I just want make 
the object face the camera without animation. Like I have an tooFarAway comp 
with text object that show the distance of the user from geoObject and when the 
distance change so the text object change too.. But I think there is no need to 
give animation to the text object. 

Thx for the reply

Original comment by Yosafat...@gmail.com on 25 Jul 2012 at 6:58

GoogleCodeExporter commented 8 years ago
jep ok then set the parameter of the animationFace object to allow instant 
lotation, there is no better way i would say, you will have to rotate the 
images according to the user position so the AnimationFaceToCamera is the right 
coise. maybe AnimationFaceToCamera also is not the right word for this class;)

Original comment by simon.heinen on 27 Jul 2012 at 9:32