Jump to content
  • Advertisement

Archived

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

EomViper

How convert "3dsmax matrix" to "direct3d matrix"?

This topic is 5622 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

Hi I hope someone can help mi with this problem. How convert "3dsmax matrix" to "direct3d matrix" (3dsmax has exchanged y,z-axis)? Viper [edited by - EomViper on May 4, 2003 1:58:21 PM] [edited by - EomViper on May 4, 2003 2:00:22 PM]

Share this post


Link to post
Share on other sites
Advertisement
How convert vector i know but i don't know how convert matrix, i.e. orientation matrix ??

[edited by - EomViper on May 4, 2003 4:49:19 PM]

Share this post


Link to post
Share on other sites
For vectors: just swap Y and Z.
For matrices: swap row 1 and 2 (first is 0), then swap column 1 and 2 too.
And remember - if a Node transformation matrix has < 0 determinant, then all faces are oriented 0,1,2, and normally they are oriented 0,2,1.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!