This is a raytracing implementation that features simple shadows, reflections and specular lighting.
Compile with make
and run the program with ./main
.
When running the code, the output image will be in PPM format since it is easy to manage in C. To open this kind of image I recommend GIMP and then you can export in whatever format you like.