Log in or register to post comments

LoadTrackableTask ?

June 21, 2011 - 2:31pm #1

Looking into the native code in the ImageTargets.ccp file, with the goal of assigning certain textures to certain trackables. The only remote way I see of choosing anything is to change the Texture index to point to one trackable before the other. Is there a way to assign textures to trackables? Even better a way to assign in java?
Anyone please help,
Thank you,

Grant

Re: LoadTrackableTask ?

June 21, 2011 - 7:16pm #2

QCAR has no concept of models or textures bound to particular targets. It's up to you to write the rendering code that meets your application's needs. In native, you can tell which targets are currently visible by looping through the active trackables and checking the trackable's name. Based on the name, branch your code and bind a different texture.

- Kim

Log in or register to post comments