Log in or register to post comments

Switch model bye changing Image

June 22, 2013 - 5:06am #1

Hi,

my 2 models shows on the pciture stonesandchips.

But now i want that if i switch to the tarmac image that only my second model had to show on the screen.

How can i do this.

 

Switch model bye changing Image

June 22, 2013 - 12:01pm #4

The renderFRame() function is the one that is entirely responsible for the rendering of the 3D models; that is the place where you would need to adjust your code

 

Switch model bye changing Image

June 22, 2013 - 8:24am #3

You mean i have to change it in the

ImageTarget.cpp

renderFrame(..)

or

loadTrackerData(..)

?

Switch model bye changing Image

June 22, 2013 - 5:46am #2

Hi, if you were able to render 2 models, then you can just check if the trackable name is "tarmac" and, in that case, only execute the opengl rendering code for one of the 2 models.

 

Log in or register to post comments