ARToolKit | Mailing List Archive |
![]() |
From: | "Teis Draiby" <teis@d .........> | Received: | Dec 15, 2002 |
To | artoolkit@h .................. | ||
Subject: | Understanding camera position | ||
Hi all, I would like to modify the simpleTest example (v2.52) to output the coordinates of the camera relative to the pattern. As far as I understand the camera translation parameters are stored in the patt_trans[3][4] array (or object[i].trans in other versions) as a 3 by 4 matrix. How is the position (and direction) stored in this matrix? For example, how can I retrieve the xyz coordinates of the camera? Thanks in advance!! -Teis |