This project implements a very simple raytracer, following the book Raytracing in a weekend. It supports anti-aliasing and diffuse objects.
Here is a simple sample render:
Diffuse:
The raytracer also supports multiple materials: metals, dielectrics and lambertian materials:
Finally, it also supports defocus blur:
Images can be generated using:
make && ./raytracer | pnmtojpeg > image.jpg



