I'm a newbie playing few weeks with Vuforia for iOS. I slightly modified ImageTarget example to play video instead 3D objects using a Queue that stores each video frame and renderFrameQCar method in EAGLView.mm binds 25 frames per second.
My problem, instead, relies on recognizing different trackables. In ImageTargetsAppDelegate's applicationdidFinishLaunchingWithOptions: I added this
[qUtils addTargetName:@"page_1" atPath:@"page_1.xml"];
[qUtils addTargetName:@"page_2" atPath:@"page_2.xml"];
But only the first one (page_1) get recognized (the default as they say). If I swap those two lines of code than only the second page gets recognized.
The problem is that in renderFrameQCar's for cycle:
returns 0 while capturing the second trackable and 1 while capturing the first. Can anyone could figure out why?
I didn't even understood which is the method that actually recognizes the trackable because I couldn't find any. It would be great to have some more infos about writing an iOS program from scratch that uses Vuforia .
Thanks for anyone's time.