gkjohnson / three-mesh-bvh

A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.
https://gkjohnson.github.io/three-mesh-bvh/example/bundle/raycast.html
MIT License
2.47k stars 255 forks source link

Add geometric clip cap example #457

Open gkjohnson opened 2 years ago

gkjohnson commented 2 years ago

See earcut utility in three.js:

https://threejs.org/docs/?q=earc#api/en/extras/Earcut

And add a shader with AA'd hatch marks and an outline.

Models

gkjohnson commented 1 year ago

https://sketchfab.com/tflexcad/models