hey this is awesome thanks i will try this out when I get the chance to do so ... probably tomorrow morn..
Cheers! mark
--- On Sat, 11/21/09, Martin Schied crinimal@gmx.net wrote:
From: Martin Schied crinimal@gmx.net Subject: Re: [PD] pix_artoolkit example To: mgrimm@syr.edu Cc: "pd_list Listserve" pd-list@iem.at Date: Saturday, November 21, 2009, 8:39 PM mark edward grimm wrote:
attached is what i found in my archive from last year.
sorry there is some pdmtl code in there it looks like. otherwise the camera_para.dat and patt.hiro have to sit at "/"
looks like there was some "cube" code in there too...
i never got a chance to get it going though. hmm. no luck today. tried an eyetoy camera @ 640x480 using your patch, the freshly compiled pix_artoolkit external and a hiro pattern. unfortunately i didn't use the most recent Gem from svn (I'll do so when I'm awake again).
I attached a patch showing the use of a transformation matrix which you'll get from most tracking systems. I'm not quite sure which format it'll be from artoolkit, but I'm sure its not compatible with mine out of the box. also units migt be some factors too big (marker size is given in millimeters, so i assume the translation will also be set in mm.
I saw there's an option to use quaternion output for rotations (I'm not very familiar with that) or "normal output" which is is probably a 3d vector for translation and a rotation matrix.
cheers martin