Created
March 23, 2021 22:57
-
-
Save oliviano/5ab074e56ee7e0c2d9c63029d67d41c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Change Coordinate System --- | |
If you are only changing the handedness then you just need to scale the axis you want to switch. In this case scale in -1.0 in Z. | |
However what this also does is change the winding of your polygons. | |
When a polygon’s normal is facing the camera, TD expects the polygon’s vertex winding to be counter-clockwise. | |
Scaling by -1.0 in only one axis direction will cause the polygon windings to be reversed | |
so now the face with the normal pointing out will be clockwise. | |
You need to fix this using a Vertex SOP to re-reverse the winding. Otherwise your lighting won’t work correctly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment