I'm not aware of any OSG function to give you what you want. It's
probably because there are so many different conventions and sequences
to address.

Here's some useful links to extract Euler angles from a rotation matrix.
These may be of some use for the problem you're trying to solve...

http://www.euclideanspace.com/maths/geometry/rotations/conversions/matri
xToEuler/index.htm

http://paulbourke.net/geometry/eulerangle/Aij-to-Eulerangles.pdf

-Shayne

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Alexey
Petruchik
Sent: Thursday, September 08, 2011 5:19 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Get euler angles from rotation matrix

Hi, everyone

I have a rotation matrix, and I need to reconstruct yaw, pitch, roll
angles from it. Is there any osg function to do this. I looked through
MatrixDecomposition.cpp but didn't find any.

Thank you!

Cheers,
Alexey

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42531#42531





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to