• Advertisement

Archived

This topic is now archived and is closed to further replies.

Converting between different euler rotation forms

This topic is 5309 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Advertisement
Rather than convert between Euler systems, you probably want to just write your own Euler-to-matrix function.

Share this post


Link to post
Share on other sites
thanks, it looks like there isnt much code to work with euler directly, rather people convert it to matrix or quaterions.

-ddn

Share this post


Link to post
Share on other sites

  • Advertisement