Matthew Gordon
7172bab68f
Fix benchmark
...
Benchmark code had become out-of-sync with main code and wasn't compiling.
2025-03-21 21:12:59 -03:00
Matthew Gordon
f5b0a35635
Replace nalgebra matrix and vector classes with own classes
...
Nalgebra only used to find matrix inverse now.
2020-08-28 23:08:44 -04:00
Matthew Gordon
699c308782
Rewrite BoundingVolumeHierarchy
...
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.
2020-08-11 23:59:03 -04:00
Matthew Gordon
5aad1242b3
For simple_scene benchmark, regerenerate BVH periodically
...
This makes the results much more consistent run-to-run. I suspect
the inconsistency was caused by random variations in the memory
layout of the BVH.
2020-07-04 21:16:28 -04:00
Matthew Gordon
90bb7d84af
Big rijiggering of types
2020-06-11 22:13:51 -04:00
Matthew Gordon
63afdfa36e
Make the camera module private and just re-export partial_render_scene()
2020-04-23 23:16:50 -04:00
Matthew Gordon
9904d3f06e
Fix test model path in benchmark
2020-04-03 21:23:38 -04:00
Matthew Gordon
bbeb39ba5d
Replace unnecessary Arcs with Boxes.
2020-03-27 20:34:19 -04:00
Matthew Gordon
3afbc600e6
Switch to Criterion for benchmarks
2020-03-19 22:40:17 -04:00