Support for Multiple Targets


#43

Hey jvouillon thanks for share this. It’s very good for me!

I have a question: How can i increase the image tracking detection? I’ve create a third trackingImage symbol but only detects the trackingImage_0 and trackingImage_1

I read the code but i’m not sure where you increase the targets tracking.

Cheers,

Pablo.


#44

Change the number in “++trackingImageIndex>1” to one less than the number of your tracking images since its zero indexed.

function nextTrackingImage(){
trackingImageIndex = (++trackingImageIndex>7) ? 0 : trackingImageIndex;
trackingImageDisplayed = Z.Symbol(“trackingImage_”+trackingImageIndex);
}


#45

Hello everyone. I have a general question I’d like to get input from staff and users in regards to multiple targets.

If you have a project such as an intended AR picture storybook that you want to release in multiple languages, would you recommend creating one overall zpp project and one zapcode for all of the different versions or having a zpp project and corresponding zapcode for each of the different versions?

Many thanks,
Richard