Converting between different euler rotation forms

Started by
1 comment, last by ddn3 20 years, 8 months ago
Im working with a library which uses a different rotational representation than the DX libraries. I beleive it uses a Pitch(Y),Yaw(Z),Roll(X) representation. when i pass in these paramters to the D3DX build matrix which takes yaw,pitch,roll the corresponding matrix doesnt match the rotation of the entity which is rotated by the library. So the question is how do i convert between different rotational reprenstation of DX and the lib? Is there a forumla i can use? -ddn [edited by - ddn3 on August 5, 2003 6:49:27 PM]
Advertisement
Rather than convert between Euler systems, you probably want to just write your own Euler-to-matrix function.
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!
thanks, it looks like there isnt much code to work with euler directly, rather people convert it to matrix or quaterions.

-ddn

This topic is closed to new replies.

Advertisement