Test-driven development based on the book 'The Ray Tracer Challenge' using only standard C++17.
Example images rendered at the end of each completed chapter can be found in the images folder, and are saved in the .ppm format. Preview on macOS can open these files, but if you're on another OS you might need to use a program such as GIMP.
mkdir build
cd build
cmake ..
# On Ubuntu
make -j$(nproc)
# On macOS
make -j$(sysctl -n hw.physicalcpu)
However, I mostly use VSCode's CMake Tools for building the app and running the unit tests. Highly recommended!