Output | Normalized z-buffer |
Render time 0:00:01. Without the BVH (previous project), the render time was 0:01:28. Without the bounding box check (previous project), the same scene took 0:10:18.
First implemented the recursive version for traversing the BVH, then changed it to manage my own stack. Did not observe performance gains in this scene (both take 1s).
Processor | 1.4 GHz Intel Core i5 |
RAM | 4 GB 1600 MHz DDR3 |
Graphics | Intel HD Graphics 5000 1536 MB |
Software | Xcode 9.0 on macOS Sierra 10.12.6 |