- Sort Posts
- 25 replies
- Last post
Can't download Trackables
Can't download Trackables
Can't download Trackables
Hello,
e.g.
// Provide a list of targets we're expecting - the first in the list is the default
[qUtils addTargetName:@"Stones & Chips" atPath:@"StonesAndChips.xml"];
[qUtils addTargetName:@"Tarmac" atPath:@"Tarmac.xml"];
---> Absolutely I updated the code.
&
// Choose the texture based on the target name
int targetIndex = 0; // "stones"
if (!strcmp(trackable->getName(), "chips"))
targetIndex = 1;
else if (!strcmp(trackable->getName(), "tarmac"))
targetIndex = 2;
----> VideoPlayback project does't have two context.
I updated the code like this.
if (strcmp(trackable->getName(), "d1") == 0)
{
playerIndex = 1;
}
I want to share my trackable files.
Two files are from sample code.
Those are "chips.jpg" and "stones.jpg".
The names are "d1", "d2".
http://dl.dropbox.com/u/5736528/StoneDemo.zip
Please download it and try to test and let me know.
Thanks
Can't download Trackables
To confirm, have you added your dataset at line 87 in ImageTargetsAppDelegate and also revised the section at line 128 in EAGLView to expect your targets?
e.g.
// Provide a list of targets we're expecting - the first in the list is the default
[qUtils addTargetName:@"Stones & Chips" atPath:@"StonesAndChips.xml"];
[qUtils addTargetName:@"Tarmac" atPath:@"Tarmac.xml"];
&
// Choose the texture based on the target name
int targetIndex = 0; // "stones"
if (!strcmp(trackable->getName(), "chips"))
targetIndex = 1;
else if (!strcmp(trackable->getName(), "tarmac"))
targetIndex = 2;
Can't download Trackables
Hello,
The SDK is 1.5.8.
The dataset is in assets folder.
I just put the xml/data files in StonesAndChips.xml/dat folder on Xcode.
Last Wednesday the code was working so I created new project with two images on last Friday.
Then the error was coming.
If I change my xml/data to "StonesAndChips.dat/xml", it is working well.
so I strongly think the trackable download has problem.
Can't download Trackables
Can't download Trackables
Can't download Trackables
Can't download Trackables
Hi changhwan
Certainly things have improved greatly regarding downloading trackables.
Can I ask how many images you are trying to download i.e. how big is the dataset? Any other details would be helpful...
One other thing you might try is a different browser, as other users had more luck with Firefox...
N
It may be due to your build environment. I've added the StoneDemo dataset files to the ImageTargets iOS sample and have been able to successfully load and execute that dataset. I'd also tested them w/ the Unity extension. They aren't corrupted.
e.g.
ImageTargets[8107:3d17] INFO/AR(8107) 2012-07-03 17:16:15: ImageTracker: Successfully created dataset
2012-07-03 17:16:15.328 ImageTargets[8107:3d17] Successfully loaded data set.
2012-07-03 17:16:15.330 ImageTargets[8107:3d17] Successfully activated data set.
2012-07-03 17:16:15.332 ImageTargets[8107:3d17] INFO/AR(8107) 2012-07-03 17:16:15: ImageTracker: Successfully created dataset
2012-07-03 17:16:15.504 ImageTargets[8107:3d17] Successfully loaded data set.
2012-07-03 17:16:15.506 ImageTargets[8107:3d17] INFO/AR(8107) 2012-07-03 17:16:15: ImageTracker: Successfully created dataset
2012-07-03 17:16:15.622 ImageTargets[8107:3d17] Successfully loaded data set.
2012-07-03 17:16:15.624 ImageTargets[8107:707] APPSTATUS_INITED
2012-07-03 17:16:15.626 ImageTargets[8107:707] APPSTATUS_CAMERA_RUNNING