ARToolKit | Mailing List Archive |
![]() |
From: | "guillaumeboutin" <guillaumeboutin@l ..........> | Received: | Apr 26, 2006 |
To | "artoolkit" <artoolkit@h ..................> | ||
Subject: | Artoolkitplus transformation matrices from multiple markers | ||
Hi, Is there a simple way to get identities and independant transformation matrices from several markers, using trackersinglemarker or trackermultimarkers classes? At the moment, i just can get id and trans matrix from one single marker with trackersinglemarker class, and a global trans matrix of visible markers with the multimarker class. I need to use, at the same time, static markers, for situating cam in space, and also some markers in movement. I tried to work around available functions, without results, classes documentation is not so clear about that. Thanks, G.=0A=0AAcc=E9dez au courrier =E9lectronique de La Poste : www.laposte.ne= t ; =0A3615 LAPOSTENET (0,34 =80/mn) ; t=E9l : 08 92 68 13 50 (0,34=80/mn= )=0A=0A |
From: | Daniel Wagner <daniel@i ...............> | Received: | Apr 26, 2006 |
To | ARToolkit <artoolkit@h ..................> | ||
Subject: | Re: Artoolkitplus transformation matrices from multiple markers | ||
guillaumeboutin wrote: > Is there a simple way to get identities and independant > transformation matrices from several markers, using > trackersinglemarker or trackermultimarkers classes? > At the moment, i just can get id and trans matrix from one > single marker with trackersinglemarker class, and a global > trans matrix of visible markers with the multimarker class. > I need to use, at the same time, static markers, for situating > cam in space, and also some markers in movement. > I tried to work around available functions, without results, > classes documentation is not so clear about that. > you can use TrackerSingleMarker or TrackerMultiMarker, but then you'll have to work around the simplified interfaces those two classes expose (after all, that's the purpose of these classes). You can use the calc() method of TrackerSingleMarker and pass in the last two optional parameters to get information about all found markers, but TrackerSingleMarker will only calculate the matrix for the best found marker automatically. if you require the full power of ARToolKit(Plus) then you should use the Tracker class instead. for the next version 2.1 we added some improvements on handling multiple single-markers with the TrackerSingleMarker but the general rule stays the same: full power requires low level API... bye, Daniel |