Simple raytracer implementation with:
- sphere geometry
- 3 materials (diffuse, metallic, refractive)
- hardcoded demo-world
- naive arguments parser
- ppm exporter
- tons of math
Produces .ppm
file with rendered camera's view.
Use CMake
.
Run: <executable> 🅐 🅑 🅒 🅓 🅔
where:
🅐
- render width
🅑
- render height
🅒
- smoothing samples (anty-aliasing)
🅓
- aperture of camera's lens
🅔
- output path