educelab / volume-cartographer

Volumetric processing toolkit and C++ libraries for the recovery and restoration of damaged cultural materials
GNU General Public License v3.0
63 stars 22 forks source link

(OrientNormals) Also flip face normals #59

Closed csparker247 closed 1 year ago

csparker247 commented 1 year ago

This is a follow-on to #48. If the vertex normals get flipped, also flip the face normals by reversing the face winding order. This leads to better automatic orientation of the UV map after flattening (#49). Here's an example from the En-Gedi scroll:

auto-face-normals