By MBeata
on Wed, 07/18/2012 - 15:23
Hello,
I have an application which dinamically downloads the dataset before every appearance of the AR view. I would like to reload the dataset every time the AR appears. Please help me.
Hello,
I have an application which dinamically downloads the dataset before every appearance of the AR view. I would like to reload the dataset every time the AR appears. Please help me.
Reload dataset everytime the camera view is started
Hi MBeata
I have an application which dinamically downloads the dataset before every appearance of the AR view.
Reload dataset everytime the camera view is started
Thank you for the reply.
Reload dataset everytime the camera view is started
Hi MBeata,
What is the problem you are having with this?
N
Reload dataset everytime the camera view is started
Hi,
The problem is that only the first dataset is working (which was added the first time that vuforia view was started).
Reload dataset everytime the camera view is started
Can you post up what the XCode log is actually showing and whether there are any errors at all?
Reload dataset everytime the camera view is started
on QCARutils.mm
////////////////////////////////////////////////////////////////////////////////
// destroy the Augmented Reality context
- (void)destroyAR
{
NSLog(@"QCARutils onDestroy()");
Reload dataset everytime the camera view is started
I have crash on "if (!theDataSet->load([dataSetPath cStringUsingEncoding:NSASCIIStringEncoding], QCA
Reload dataset everytime the camera view is started
After calling the destroyAR, and continue to use the singleton qUtils of intact, it seems to crash.
So, this code it is NG.
Reload dataset everytime the camera view is started
Hi,
Thank you for your answer. Now all the dat and xml files are in app bundle, so the problem isn't related to download.
This is the implementation of the class which contains the Vuforia AR view:
Reload dataset everytime the camera view is started
Actually the dataset added second time isn't loaded and activated.
Reload dataset everytime the camera view is started
so does this line get called:
Reload dataset everytime the camera view is started
The problem was with the missing [qUtils activateDataSet:...] line. Now it works. Thank you very much for your help!
Reload dataset everytime the camera view is started
Awesome !
Figured there had to be a reason, which came to mind after the initial reply - hence the edit :)
N