Word :   Username :  
 
Bottom
Author
 Thread :

need help interpreting camera ascii export

 
n°103
Posted on 02-23-2002 at 05:11:16 PM  answer
 

Hi,  
 
I'm in a tight spot because I was given a matchmover ascii camera export which
I have to apply to another package (Houdini).  I was also given the
specs, but I don't understand how to use the 3x3 rotation matrix
to extract the x y z rotations (which is what I need). Everything else is
pretty straightforward.  
 
I'm downloading a trial version of matchmover in the hope that it will be
fully functional so that I can do this darn export myself (maybe in a format
in which xyz rots are separate),
 
but if anyone here could give me a pointer on how to extract xyz rots
from the 3x3 matrix exported in ascii format, that would save me A LOT
of time and aggravation! :)
 
thanks!!
Daniele Colajacomo

n°104
Posted on 02-25-2002 at 11:34:46 PM  answer
 

The 3x3 rotation matrix can be decomposed to rotation angle (also known as euler angles).
 
Graphic's Gem 4 contains an article about the conversion and also source code.
 
http://www1.acm.org/pubs/tog/Graph [...] ler_angle/
 
But you have to find, which euler angles houdini is using...
 
Hope this helps.


Go to:
Add a reply