[Closed] exporting to different coordinate system
I am trying to export my vertex positions, normals, and UVs from Max to a file. My file is read into a different coordinate system. (DirectX)
Been working on this for 4 days and still getting incorrect data for the UVWs.
I’m not confident about my vertex position transform either, but I just have a unit cube to test with.
Ive tried multipying max UVs by
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
Ive tried multipying max UVs by
[1 0 0]
[0 -1 0]
[0 0 1]
[0 0 0]
Ive tried several others
First off, someone tell me if the matrices in max are row major or column major?
Why is the matrix class the odd 3×4 size instead of 4×4 or 3×3?
Then please help me figure out how take these vectors and transform them into the desired vectors
Max -> Exported File
[0 1 0] -> [0 0 0]
[0 0 0] -> [0 1 0]
[1 0 0] -> [1 1 0]
[1 1 0] -> [1 0 0]
I just want to make the top left -> bottom left and the top right -> bottom right
It shouldnt be a week long chore!
Ive googled, Ive read my linear algreba, Ive read my graphics books.
It just appears to be a simple reflection right?
Google doenst give me clear directions on creating a reflection matrix.
My OpenGL book seems to think I should just use [1 0 0] [0 -1 0] [0 0 1], but it doesnt work