Raytracing in one weekend. Based on the book with the same name.
This project tries to use modern C++20 features to improve on the original code.
Dependencies are listed in conanfile.py.
- In one command:
conan build . -s build_type=Debug --build=missing
- Using
conan
andcmake
:
conan install . -s build_type=Debug --build=missing
cmake --workflow --preset debug # Use multi-debug for multi-configs.
Check contents of CMakePresets.json for more info.
./build/Debug/bin/rt-one-weekend
Output image produced by the program.