I figured it out myself. I guess "pageOne" means load target with the name "pageOne" form the target collection. "*" seems to act like a wildcard to load all targets from this collection. Sorry for bothering you.
- this.trackable = new AR.ImageTrackable(this.tracker, "pageOne", { + this.trackable = new AR.ImageTrackable(this.tracker, "*", {
Jan Owiesniak
Hallo there,
i'm using SDK Version 8.1.0 and testing against the https://github.com/Wikitude/wikitude-sdk-samples/tree/master/11_Video_1_SimpleVideo sample scene.
The 11_Video_1_SimpleVideo magazine.wtc file includes this image target http://www.wikitude.com/external/doc/documentation/latest/android/images/magazine_page_one.jpeg and it works as expected.
I replaced the magazine.wtc file with my own (a business card, uploaded to Studio and downloaded by clicking on the WTC icon in the left corner of my project).
I hook into the AR.ImageTracker onTargetsLoaded callback and figured out that the my tracker.wtc file is loaded properly.
Neverless the AR.ImageTrackable onImageRecognized is never executed. I tried all available .wtc versions.
Am i missing something here? Shouldn't it be possible to simply replace the .wtc file and thereby track another target?
Appreciate any help here.