Compiling Single Marker Detector plugin with multiple markers

apple pi's picture

Hello, I downloaded the PatternMaker from http://www.cs.utah.edu/gdc/projects/augmentedreality/download.html and choose 6 markers from the ones allready made. How do I compile de SMD plugin with those markers? I tried to copy those gif's to the resources folder in the xcode project but with no results. What am I missing here? Thanks in advance

apple pi's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Please disregard this thread, I probably just mixed all the markers. Working just fine :)

gtoledo3's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Oh that's cool! How many markers were you able to add? The thing that has irritated me is that once you load a composition, that composition seems latched to the ARToolkit plugin project patch, until you just restart QC. Is it possible for you to post your results?

apple pi's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Hi, Right now I'm tunning the all thing up, but when I'm done , I'll let you know ;)

gtoledo3's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Fair enough! It all used to build "ok" for me when I was using Leopard, but for some reason fails in Snow Leopard. It may be user error. I get people asking me about this all the time, so it would be interesting to see a modified version with some more marker samples.

However... I don't think that the non-pro ARToolkit (or maybe even the pro?) allows one to "see" more than one marker at a time, and it also seems like the ARToolkit example for QC "latches on" to whatever the first marker type loaded is for the duration of QC running, once it's been loaded. So, these problems have always outweighed any seeming need for more markers, to me.

apple pi's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Hello and sorry for the late reply,

I just picked up (in this case) 6 gif's markers from the ones in the ARToolkit Patternmaker and the corresponding patt's, changed their names (ex: "patt.sample1" for the patt and "pattSample1.gif" for the image), opened the single marker detector Xcode project and then I added them to the resources folder. Then build the plug in, go to build folder and use it :) I think that's all, but if it doesn't work properly with you, let me know and I'll try to help.

gtoledo3's picture
Re: Compiling Single Marker Detector plugin with multiple ...

Oh, that isn't what I thought you were doing. Nevermind, yeah, that works fine. I thought you were adding dynamic pattern loading.

Jonathan.Muth's picture
Re: Compiling Single Marker Detector plugin with multiple ...

I am facing the problem that I cannot get the new markers to work right. They show up in QC after recompiling the Single Marker Detector - for some reason the tracking tolerance is much higher now and many of the codes aren't recognized properly.

Any thoughts on this topic?