Closed roenyroeny closed 3 months ago
Duplicate of #346
P.S. Pretty sure it's a duplicate of the issue I linked (same symptom, can be resolved by changing threshold in hasTriangleFlips
from 0
to 1e-9
- not a generally correct fix but still), but it's the best repro out of that entire issue by far in terms of being easy to investigate :) Thanks for preparing that!
Simplifying this mesh produces output with 1 face reversed. input wireframe:
output wireframe:
output with backface culling showing 1 reversed face:
![image](https://github.com/zeux/meshoptimizer/assets/13182141/8f82a245-0c8e-4fd4-b99e-e9892d59de00)
Here is the input mesh, and a small repro to make sure the settings for the simplifier are just right.
The repro outputs a reduced.obj which should contains the rogue reversed face. It should also output the following: