This repo contains the chapterwise code for the book: Raytracing in One Weekend.
You can generate the .ppm
files from the .cpp
files using the commands:
$ g++ [name_of_file].cpp
$ ./a.out
The .cpp
and .ppm
files for each chapter can be found in its corresponding folder.