"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

how to config trackables??

Hi everyone I would like to map the model with the track but I don't know how to config. For example track A model is banana and track B is apple like this. I am not sure that use ID to refrence or not like in FrameMakers example but in this example not has .dat file. Please give me a suggestion how to change model in diffrence trackable. Thank you

rasarahul

Mon, 01/24/2011 - 08:48

Hello, Have you created trackables in qualcomm website,u will receive config.xml and .dat file,create two image targets and place different models for each target.

To rasarahul I already create config.xml and .dat file from web already but I confuse that which part of code is switch the model. In file config has code like this [CODE]<?xml version="1.0" encoding="UTF-8"?>

Models are not switched automatically. Take a look at the ImageTargets.cpp file. You can figure out which target is currently visible using the trackable->getName() method. This will return the target name from the config.xml file (in your case "entrance", "bird", "logo", or "exit").

To everyone I have some question about tracker in Domino sample. In file domino.cpp which part that check the name of trackable. is it in this part ?

The Dominoes sample only recognizes a single trackable, the "stones" target. It never checks to see which trackable is visible, since it assumes that if any trackable is visible it is the stones target. The ImageTargets sample recognizes two different trackables, the "stones" and "chips" targets.

I have modified domino with my audio I need to play and select music with trackable but domino recognizes only a single trackable I need to have 3 trackables I need to know How to return value in JNI.