Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries!

Revision v0.5.18 of three-mesh-bvh has been published! The big addition in this release is the ability to perform closest point-to-point queries against the BVH on the GPU in addition to a new demo showing how to generate and raymarch render a signed distance field into a 3d texture! Signed distance fields can be used for a variety of things including rendering implicit surfaces, particle animation, lighting effects, and more!

SDF Demo Here!

Rendering the SDF via Raymarching

Grid of SDF Texture Layers

Animated SDF Texture Layers

3 Likes