Log in or register to post comments

Add Second Object and Marker

April 17, 2013 - 12:34pm #1

Hi everyone; I have one marker and 3d model in my ImageTargets project. Now, I want to add second object(a,b) and second marker(x,y). When program see marker x, marker should show model a, and when program see marker y, marker should show model b. I investigate frameMarkers project but i think it has different attributes. I tried some solutions which is in my mind, but I can not do it.  Thank you for your helps ...

Add Second Object and Marker

April 17, 2013 - 11:20pm #2

Hi,

you can play with the kObjectScale parameter, and also change the translation of your model in this code:

 

SampleUtils::translatePoseMatrix(0.f, 0.f, kObjectScale,  &modelViewMatrix.data[0]);
 
You can try and replace kObjectScale with some different value in the code above.
Log in or register to post comments