Skip to content

Test-driven development based on 'The Ray Tracer Challenge'

Notifications You must be signed in to change notification settings

kongsgard/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracer

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.

How to install

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!

About

Test-driven development based on 'The Ray Tracer Challenge'

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published