RayTracing
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.
How to build
Use CMake
.
How to use
Run: <executable> π
π
π
π
π
where:
π
- render width
π
- render height
π
- smoothing samples (anty-aliasing)
π
- aperture of camera's lens
π
- output path