bartrobinson

01-06-2004, 04:47 PM

Hey,

I have a question for you folks. I'm writing a converter to translate 3D Tracking Data to and from MaxScript. I noticed in some sample data that a camera's rotation is represented by a 4x3 matrix (4 rows x 3 elements per row) with the last row being filled with 0's, possibly making it essentially a 3x3 matrix. Can anyone tell me what this matrix represents and maybe give me a pointer to converting this matrix in to a rotation represented by degrees or radians.

The script looks something like this at the point which I am talking about.

...

c = camera()

...

at time 0f c.rotation = (matrix3 [[0.003, 0.010, 0.000] [0.003, 0.002, 0.001] [0.001, 0.013, 0.002] [0, 0, 0]])

Thanks a lot.

Bart Robinson

Dynavision|FX

I have a question for you folks. I'm writing a converter to translate 3D Tracking Data to and from MaxScript. I noticed in some sample data that a camera's rotation is represented by a 4x3 matrix (4 rows x 3 elements per row) with the last row being filled with 0's, possibly making it essentially a 3x3 matrix. Can anyone tell me what this matrix represents and maybe give me a pointer to converting this matrix in to a rotation represented by degrees or radians.

The script looks something like this at the point which I am talking about.

...

c = camera()

...

at time 0f c.rotation = (matrix3 [[0.003, 0.010, 0.000] [0.003, 0.002, 0.001] [0.001, 0.013, 0.002] [0, 0, 0]])

Thanks a lot.

Bart Robinson

Dynavision|FX