I appreciate the interest but if you need help or have questions on how to use something please make a dedicated help thread or a Github issue with appropriate context.
Three-mesh-bvh v0.7.5 has just been released which focuses primarily on even more raycast performance improvements thanks to @agargaro! Specifically you should see up to 15% or more perf improvement with from the removal of an array → box conversion. And when setting the raycaster near / far fields the BVH traversal now ignores bounds outside that range which speeds things up even further. I massively appreciate the help on the project.
You can try the adjusted near / far field behavior in the raycast demo.
The next version of three-mesh-bvh has just been released with some more great changes from @agargaro! The MeshBVH class now allows for specifying sub ranges of the geometry which means they can be used for generating a new BVH for individual sub-geometries in a BatchedMesh geometry.
Release notes here.
BatchedMesh Raycasting
BatchedMesh raycasting demo here
And new functions for initializing BatchedMesh geometry bounds trees to accelerate raycasting:
I’m blown away by this plugin. Its enabled my project to actually be feasible. Is an update to work with Three.js 0.17+ a possibility in the future? Either way, thanks so much!!
Is there something that’s not working? If so then please make an issue at the repo and we can see if we can get it fixed.
Ignore that! Works perfectly! super stoked.