gkjohnson / three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.
https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html
MIT License
1.27k stars 125 forks source link

DynamicPathTracingSceneGenerator: Automatically regenerate the bvh if the surface area has grown too much #570

Open gkjohnson opened 3 months ago

gkjohnson commented 3 months ago

Same for worker variant

gkjohnson commented 3 months ago

Generating the surface area score can be very slow (over 3ms on the t rex example). Is it best to do this automatically?