This is a CPU Raytracer written as part of the Advanced Graphics course, taught by Jacco Bikker at Utrecht Unversity.
This is a multi-threaded, CPU-based ray-tracer that can run in real-time.
Notable features
- Reflective/refractive materials, with absorption factor through Beer's law.
- Point, directional and spotlights
- Mesh loading through assimp.
- Dynamic BVH debuggin interface through Egui.
- High-speed BVH building based on the paper by Wald.
- Triangle displacement mapping in raytracing, based on the paper by Smits et al., though not fully operational
As one of the primary goals of this project is proper and fast BVH construction, we added some options for visualizing the BVH hits in several ways:
- Traverse Only: Only show the visualization of traversing the BVH.
- Blend: Still show the triangle hits, evaluating material results.
- Exclude Hits: Do not blend the debug visualization colors when a triangle is hit.





