Fast BVH picking
Divide the triangle into the boundary box tree (BVH), and check only the triangle in the box where the light can be struck, and quickly find the place where it is pressed even in a large model.
- Category
- Optimization techniques
Technical terms · Bounding volume hierarchy (BVH) · three-mesh-bvh (computeBoundsTree · acceleratedRaycast) · Ray–AABB slab test · Raycasting