New BVH has much cleaner design and is also using a much better heuristic for dividing the scene. Massive speedup (~28x!), presumable from having a heuristic that actually works. This is still a simple heuristic (sort by bounding box centres along largest dimension, and then divide into equal halves) which can definitely be improved. |
||
|---|---|---|
| .. | ||
| simple_scene.rs | ||