Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 13 October 2008 - 08:45 PM
Posted 14 October 2008 - 01:52 AM
Quote:What you have there is a rotation matrix that's been built from a set of three Euler angles, and yes, you can get the angles (or an equivalent set of angles) back.
Original post by erik rostock
Hello,
I have a rotation matrix that represents the rotation around the x,y and z axes:
[IMG]http://picfront.de/d/tZKdqw89o/matrix_42.gif[IMG]
I know all fields of the output matrix, unfortunately not the original angles. (The variables x,y,z in the image represent the angles around the respective axis , not any vectors)
Is it possible to get the original angles just from this matrix?
Thanks for your help in advance :)
erik
Posted 14 October 2008 - 04:01 AM
Posted 14 October 2008 - 06:02 AM
Quote:What I mean by 'aliasing' in this context is that more than one set of Euler angles can represent the same orientation. Because of this, if you build a matrix from a set of Euler angles, and then extract a set of Euler angles from the matrix, the extracted angles may be different than the original angles. However, this doesn't mean the extracted angles are incorrect; they're just another way of representing the orientation in question.
Original post by erik rostock
What do you mean with:
-> they may not be the same as the angles used to build the matrix (due to aliasing).
?
What I expect is that it won't be possible to get the angles, as sin(0.4PI) = sin(0.6PI) for example ... and so on.
Posted 14 October 2008 - 09:04 AM
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.