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.55k stars 268 forks source link

Investigate AVERAGE split ending with 151 triangles in a leaf #283

Open gkjohnson opened 3 years ago

gkjohnson commented 3 years ago

See benchmark stats for AVERAGE BVH

gkjohnson commented 3 years ago

It seems that the centroids of the triangles being split all lie on the same plane on the longest axis resulting in no partition being made.