Hi all,
currently i use 3ds max to create my geometry , cameras ,lights...
Then i export to collada and create my own format (no change to coordinate system)
Then i load into dx. Because camera is imported from 3ds max i see models properly rendered.
I needed to change face clipping to front. So far do good and working as expected.
But rendered objects are mirrored in x axis (DX) so i need to do pos.x = -pos.x in vertex shader after applying
projection matrix.
Do you know why ?
How can i fix it ?
(i need to keep 3ds max coordinates because of physx plugin)
vertex coordinates
Hi all,
currently i use 3ds max to create my geometry , cameras ,lights...
Then i export to collada and create my own format (no change to coordinate system)
Then i load into dx. Because camera is imported from 3ds max i see models properly rendered.
I needed to change face clipping to front. So far do good and working as expected.
But rendered objects are mirrored in x axis (DX) so i need to do pos.x = -pos.x in vertex shader after applying
projection matrix.
Do you know why ?
How can i fix it ?
(i need to keep 3ds max coordinates because of physx plugin)
In your code, what is the up axis? In Max it is Z-up, so if you have implemented y-up, everything will be rotated 90 degrees.
You should have a matrix that describes a rotation of pi/2 around the X axis, and apply that to every exported mesh.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement