1
0
mirror of https://github.com/kristov/ldraw2stl.git synced 2025-05-20 00:30:10 -07:00
ceade 708cca9627 Changes to handling BFC
There are two major changes here:

1) Previously I was inverting the winding of verticies only when calculating the normal. This was the wrong approach and I instead needed to invert the order of the verticies before calculating the normal. This is because most STL processing software (eg: Slic3r) will recalculate the normals based off the winding (correctly).

2) I *think* I am doing proper BFC handling now, although TBH the BFC handling logic in ldraw is super complex to me. See: https://www.ldraw.org/article/415 ("Rendering Engine Guidelines").
2020-05-03 02:34:13 +02:00
..
2020-05-03 02:34:13 +02:00