Start a new topic
Solved

Target WTC is not working

Hi,

Am using the  wikitude cordova samples and trying to replace the images for the snapping video sample.


I replaced the video.mp4 and magazine.wtc with the ones that I wanted to display. But it is not working. If I run with the same sample wtc and video file, it is working. If I try to keep the video same and just the wtc file, it doesn't work. So i presume it is the WTC file that I downloaded is having the problem.


Please advise


Hello Shahul,

Please give details regarding the SDK version and platform you are working with and the version of your .wtc file and advice the table below in order to see if these tow version you are working with are compatible.

 

image


If the versions are compatible then please make sure that when you replace the targets in the asset folder you are also changing the names (of the .wtc file, of the targets inside this file and of the images) in the .js file to the corresponding ones.


Thanks

Eva

Hi Eva,

Thanks for the reply.


I am using SDK Version 6.0.0 and generating the target WTC file from the cloud(targetmanager.wikitude.com) and selecting the SDK version to be 6.0. It generated the tracker.wtc file which I replaced in the corresponding js file. Attached the JS and wtc files as well.

js
wtc
(32 KB)
Hello Shahul,

I just tested our sample with your .wtc file and I was able to see the video. Does our sample without changing anything (including images) work for you? Did you make sure that you changed the code where it refers to the wrc file to target.wtc instead of magazine.wtc?

Thanks
Eva

Hi Eva,


I have same issue in ClientRecognition_5_HtmlDrawable, SDKExamples.xcodeproj.

I changed magazine.wtc with tracker.wtc. 

magazine.wtc is working, but my tracker.wtc file not working. (I have 2 item in wtc, one image has augmented text simply)


I am using SDK Version 6.0.0 and generating the target WTC file from the cloud(targetmanager.wikitude.com) and selecting wtc 5.0. Versions are compatible.


You can find htmldrawable.js file refers new tracker.wtc file in attachment.


xcode project using kWT_LICENSE_KEY, It was default key when i download the source. 

Bundle identifier same : com.wikitude.SDKExamples


I also changed kWT_LICENSE_KEY with my trial key, but result is same. Wtc not working.


Please help me about issue.

Dogukan



wtc
(34.4 KB)
js

Hi,


I realized the cause of the error.

I changed "pageOne" name with my image name  

fixed for me.


var pageOne = new AR.Trackable2DObject(this.tracker, "pageOne", {

   drawables: {

    cam: [overlayOne, pageOneButton, weatherWidget]

   }

  });




Hi,


I am using Android Studio with Wikitude SDK 8 beta version.

For me the htmldrawable example with magazine.wtc provided by SDK samples working .

But if i add same image and create the wtc from target manager it is not recognising.

Your help would be highly appreciated.


Attached is the WTC .

zip
wtc
(78.9 KB)

Hi,


Please make sure to follow the details in the documentation section for Image on Target. Especially the section which deals with 'Recognize your own images'. This explains how you can recognize your own targets.


Thx and greetings

Nicola

Login or Signup to post a comment