Problem with normals when building my own LDraw interpreter.


RE: Problem with normals when building my own LDraw interpreter.
#7
(2019-03-12, 23:24)Lasse Deleuran Wrote: While I am not 100% sure about the root cause, I believe this problem is caused by inversions due to negative determinants.

Try to treat negative determinants of the rotation matrix as a switch for the winding.

Seeing as I didn't know that this was a thing, this could indeed very very likely be the problem. I can check in a few hours. For some reason I figured unity would do that for me, but really all it does is give the coordinates and lets me do the rest. Thanks for everyone on this ancient forum still knowing what they're talking about.

However, as the other commentor said, I think I will leave this for later and just use double sided faces for now.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Problem with normals when building my own LDraw interpreter. - by Lasse Boijens - 2019-03-13, 6:31

Forum Jump:


Users browsing this thread: 1 Guest(s)