Jump to content
  • Advertisement
Sign in to follow this  
EverIce

Right handed system to left

This topic is 4955 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've exported a mesh from max 5.1 to direct3d. Max has right handed system. My question how to transform vertices and local trans matrices to left handed system ? I'd be glad for any help.

Share this post


Link to post
Share on other sites
Advertisement
If you use column-vectors and 3dsmax use row-vectors, or the other way around, then you have to transpose the matrices you get from 3dsmax.

Remember

if you use row-vectors:

[a, b, c
[1, 1, 1] d, e, f == [a+d+g, b+e+h, c+f+i]
g, h, i]


and for column-vectors:

[a, b, c [1
d, e, f * 1 == [a+b+c, d+e+f, g+h+i]
g, h, i] 1]

Share this post


Link to post
Share on other sites
Thanks for the help.

Max Matrix3 is an 4*3 matrix. It seems to be a column matrix. Are you sure i have to transpose ?

Share this post


Link to post
Share on other sites
4x3 probably means that you have the position in the last row, correct? In that case, it is a row matrix.
And if you use the same type of matrices you don't have to transpose them

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!