[PD] pix_artoolkit example

Martin Schied crinimal at gmx.net
Sun Nov 22 02:39:17 CET 2009


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





-------------- next part --------------
A non-text attachment was scrubbed...
Name: mat2gemlist.zip
Type: application/zip
Size: 1857 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091122/9bba4194/attachment.zip>


More information about the Pd-list mailing list