Log in or register to post comments

Running MultiImageTargets

November 25, 2010 - 2:39am #3

Hi all,

I'm new to augmented reality and QCAR. I have executed ImagetTargets succesfully in my HTC Desire.
However, I have had not luck with MultiImageTargets. Which is the trackable needed to run it (for example, stones, chips, ...)?

I think the problem is that it doesn't execute the code inside this "if", because the project hasn't got the data about any trackable.

if (state.getNumActiveTrackables())
{
// Get the trackable:
const QCAR::Trackable* trackable = state.getActiveTrackable(0);
assert(trackable->getType() == QCAR::Trackable::MULTIIMAGE_TARGET);
...

Thanks in advance and regards,

Marta

Re: Running MultiImageTargets

November 25, 2010 - 2:46am #2

If you go into the media folder of the MultiImageTargets directory you'll find a pdf in there to build a box. Those are the trackables.

Rob.

Re: Running MultiImageTargets

November 25, 2010 - 3:33am #1

Finally I have done my on trackable with another box, it's not perfect but it works.
But you are right, there is a pdf with the box, thanks.

Regards,

Marta

Log in or register to post comments