A path tracer based on the Raytracing in one weekend book series.
The feature set includes what is covered in the first two books in the series:
- Geometry: Spheres, Rectangle and boxes.
- Materials (metal, glass...), multiple Texture types and Light sources.
- Configurable camera: fov, focus distance, motion blur...
- Bounding volume hierarchy to speed up scene traversal.
Additional features:
- Integrated STB library to generate PNG image output.
- Multi threaded rendering.
The main executable has multiple scene samples which can be rendered at different quality presets: low, medium and high.
raytracer --scene [SCENE_ID] --quality [low|medium|high]