ARToolKit | Mailing List Archive |
![]() |
From: | JS <js@d .......> | Received: | Nov 13, 2006 |
To | artoolkit@h .................. | ||
Subject: | Rectangle markers | ||
Hi, I would like to know if it's possible in ARToolKit+ to use rectangle markers (i.e. non-square). I've noticed that the template classes e.g. TrackerMultiMarkerImpl have a __PATTERN_SIZE_X and __PATTERN_SIZE_Y attributes. Can we use this iot use rectangle markers? Otherwise, well, I'd like to implement this feature, but it'd help if I'd know a bit where to look. Any insights? Thanks, -- J. S. Senécal http://drone.ws |
From: | Daniel Wagner <daniel@i ...............> | Received: | Nov 14, 2006 |
To | ARToolKit Mailinglist <artoolkit@h ..................> | ||
Subject: | Re: Rectangle markers | ||
JS wrote: > I would like to know if it's possible in ARToolKit+ to use rectangle > markers (i.e. non-square). I've noticed that the template classes e.g. > TrackerMultiMarkerImpl have a __PATTERN_SIZE_X and __PATTERN_SIZE_Y > attributes. Can we use this iot use rectangle markers? Otherwise, > well, I'd like to implement this feature, but it'd help if I'd know a > bit where to look. Any insights? The PATTERN_SIZE_X and PATTERN_SIZE_Y attributes are for the resolution of the marker image (in pixels) not for the physical size of the marker. While it should be no problem to extend ARTK+ to support non-square markers, i'd rather suggest using multi-markers for that purpose... Daniel |
From: | JS <js@d .......> | Received: | Nov 14, 2006 |
To | Daniel Wagner <daniel@i ...............> | ||
Subject: | Re: Rectangle markers | ||
Daniel Wagner wrote: > JS wrote: > >> I would like to know if it's possible in ARToolKit+ to use rectangle >> markers (i.e. non-square). I've noticed that the template classes e.g. >> TrackerMultiMarkerImpl have a __PATTERN_SIZE_X and __PATTERN_SIZE_Y >> attributes. Can we use this iot use rectangle markers? Otherwise, >> well, I'd like to implement this feature, but it'd help if I'd know a >> bit where to look. Any insights? >> > The PATTERN_SIZE_X and PATTERN_SIZE_Y attributes are for the resolution > of the marker image (in pixels) not for the physical size of the marker. > > While it should be no problem to extend ARTK+ to support non-square > markers, i'd rather suggest using multi-markers for that purpose... > I can't do that. I'm working on an interactive installation and the visual aspect is important, and for that reason I can't use multi-markers. I'll dig into the code then... I might later have some interesting patch to send back to the project! Thanks, -- J. S. Senécal http://drone.ws |