gkjohnson / three-bvh-csg

A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh
MIT License
602 stars 46 forks source link

Choose a triangle split to optimize triangle area #37

Closed gkjohnson closed 2 years ago

gkjohnson commented 2 years ago

To avoid splits like this:

image

Choose the split that requires the shortest edge when splitting quads

gkjohnson commented 2 years ago

Before

image

After

image