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

Investigate fast bool paper #97

Open gkjohnson opened 1 year ago

gkjohnson commented 1 year ago

https://twitter.com/Xelatihy/status/1597995979105787905

gkjohnson commented 1 year ago

See this image specifically as it relates to #51

image

gkjohnson commented 11 months ago

TODO

Questions

gkjohnson commented 6 months ago

Using "Constrained Delaunay Triangulation" may be the simplest way to get this working. See js implementation:

https://github.com/savithru-j/cdt-js

Additionally - a more effective way to deal with coplanar patches is to just remove the unnecessary ones without having to perform raycasts. This may require matching the trimmed patches between the clipped triangles.