A simple C++ ray tracing renderer implementation following Ray Tracing in One Weekend.
- Material support for diffuse, metal, and dielectric (glass) spheres.
- Depth of field and anti-aliasing via camera sampling.
- Recursive ray tracing for realistic light transport.
Run from the project root:
cmake -S . -B build
cmake --build build --config Release.\build\main.exe | Set-Content image.ppm -Encoding String./build/main > image.ppm- The rendered image is saved as
image.ppm. - Open it with any image viewer that supports the PPM format.
