Archived

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

EomViper

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

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
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