You can start with this: Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries! - #18 by gkjohnson
@gkjohnson’s solution is way faster than the original mine.
You can start with this: Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries! - #18 by gkjohnson
@gkjohnson’s solution is way faster than the original mine.