Open RossNordby opened 5 years ago
A convex hull simplification algorithm (#61) would also capture the spurious faces.
so worst possible case is when i have a flat quad made out of thousands of triangles, instead of one single quad?
That might cause some issues, yes.
With many near-coplanar points, it's possible for the ConvexHullHelper's convex hull algorithm to create spurious overlapping faces. Some mitigating factors:
It wouldn't be too hard to fix. A simple post-pass that attempts to detect and throw out (or merge) extra faces by normal or involved indices would suffice. I just didn't bother for the release since it's not critical.