View Full Version : Euler To Viewing Matrix Help

04-21-2003, 04:46 AM
Hope this is the correct place to post this ...

I have a need to take positional and euler angle information from a simple trajectory file of an air vehicle and animate the flight of the vehicle. I assume that I will need to take the positional and euler angle information and transform it somehow into a viewing matrix but I am not quite sure how to approach this. Here is the information I have on file :

Time, position (ECI x/y/z and geodetic lat/lon/alt), euler angles (North/East/Down frame), and body rates (p/q/r).

Can someone point me in the right direction here?

Thanks in advance!

04-21-2003, 05:58 AM
take a look at the Matrix and quaternion FAQ. there's bunches of links to it (via google) here [ one (http://skal.planet-d.net/demo/matrixfaq.htm) ] in it, there is information and code snippets on how to convert from euler to matrix, euler to quat, quat to matrix, etc.


[This message has been edited by jebus (edited 04-21-2003).]