Transform between two 3d cartesian coordinate systems

Posted by Pris on Game Development See other posts from Game Development or by Pris
Published on 2012-03-24T04:17:45Z Indexed on 2012/03/24 5:40 UTC
Read the original article Hit count: 346

Filed under:

I'd like to know how to get the rotation matrix for the transformation from one cartesian coordinate system (X,Y,Z) to another one (X',Y',Z'). Both systems are defined with three orthogonal vectors as one would expect. No scaling or translation occurs. I'm using OpenSceneGraph and it offers a Matrix convenience class, if it makes finding the matrix easier: http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00403.html.

© Game Development or respective owner

Related posts about linear-algebra