By abhishek1988
on Wed, 08/29/2012 - 19:54
Hi guys
I have been putting some effort in ImageTargets sample app and i have been able to dynamically change the 3D models at runtime.
Now my next task is to hold the 3D model(Like we touch the dominoes in camera view) and move it on the screen and it should stay even after i
remove the marker image . Also i want to ask can we add sound in this as well ?
thanks in advance
Hold the 3D object and place it somewhere else
In ImageTargets.java file where the modelViewMatrix is being defined on line 351 i added this line
modelViewMatrixforPos = modelViewMatrix;
Hold the 3D object and place it somewhere else
This thread provides instructions on how to freeze a model - https://ar.qualcomm.at/content/how-disable-pose-updates-rendered-model-aka-freezing-model-disabling-tracking