Log in or register to post comments

Multiple Markers but not simultaneously.

October 27, 2011 - 3:07am #1

Hi Kim,

In my project i need to detect 4 markers (not simultaneously). I used the "My Trackables" to create My Custom Marker(config file and dat file). Now how can my app detect 4 markers. I know in config file i will have to put 4 entries for each marker. But there is only one qcar-resources.dat file.

Thanks,
Atik

Re: Multiple Markers but not simultaneously.

October 27, 2011 - 7:16am #2

That's fine, the one qcar-resouces.dat file contains all the information for all the targets that you selected in the TMS before downloading. The config.xml file should automatically have entries for all the targets you selected.

Now you just need to put that file in the assets folder of your Android project. Replace the files that are already there, you can only have one config and one qcar-resources file.

Finally, you can update the renderFrame method in the native file (e.g. ImageTargets.cpp) to look for your targets by name, and change the behavior accordingly.

- Kim

Log in or register to post comments