By jiarongkoh
on Thu, 01/01/2015 - 16:22
Hi everyone, I just recently got started with android programming and vuforia, and I hope to be able to build great AR apps soon. I begin with the Image Target sample app provided by vuforia and I loaded my 3D model as the augmented model and it works fine. I would like to ask how can I translate the model, say left or right about the x-axis. I can't seem to find where can I perform translation in the java code itself. Any advise please?
I am developing using Eclipse with the ADT plugin.
Translate the augmented model
Have a look at the ImageTargetsRenderer.java source file; the renderFrame() method in there shows how to perform a model translation by acting on the modelview matrix in OpenGL.