Habrador / Computational-geometry

Computational Geometry Unity library with implementations of intersection algorithms, triangulations like delaunay, voronoi diagrams, polygon clipping, bezier curves, ear clipping, convex hulls, mesh simplification, etc
https://www.habrador.com/
MIT License
1.24k stars 150 forks source link

Fixing cut mesh with plane #3

Closed iNakel closed 3 months ago

iNakel commented 3 years ago

I've never seen a cutting plane like this, that separates each island as a different mesh. AWESOME WORK.

But I must say I do a lot of mesh generation and I'm having problems to cut those objects... it recognizes as if there were many islands where there are none... Maybe you can check on that...

I'm pretty sure this occurs because the algorithm thinks its a non-closed mesh... (maybe because it was generated from script...

KEEP UP!