Shweta

04-25-2005, 10:57 PM

hi all,

thanx for the prompt responses i received last time.

this time new problem.

given a 3d rotation matrix how do you find out what parameters were given

ex:

if i had the 3d rotation matrix

-0.001 1.00 -0.027

0.964 0.265 -0.036

-0.029 -0.026 -0.964

what was the value of :theta,x,y,z

in GlRotate i.e.

glRotatef(theta,x,y,z);

if the q is not clear to you,tell me and i shall give more explanation on it.

thanx for the prompt responses i received last time.

this time new problem.

given a 3d rotation matrix how do you find out what parameters were given

ex:

if i had the 3d rotation matrix

-0.001 1.00 -0.027

0.964 0.265 -0.036

-0.029 -0.026 -0.964

what was the value of :theta,x,y,z

in GlRotate i.e.

glRotatef(theta,x,y,z);

if the q is not clear to you,tell me and i shall give more explanation on it.