Raytracing in one weekend. Based on the book with the same name.
Find a file
2025-03-27 16:32:00 +02:00
.github/workflows Removed conan workaround, updated github actions 2024-01-11 20:28:21 +02:00
include Change clang-format rules. 2025-03-27 16:32:00 +02:00
output Working Aabb and Bvh (but slow). 2024-08-26 16:24:45 +03:00
profiles Initial commit 2023-09-25 20:44:55 +03:00
src Change clang-format rules. 2025-03-27 16:32:00 +02:00
.clang-format Change clang-format rules. 2025-03-27 16:32:00 +02:00
.clang-tidy Clang-tidy changes. 2025-01-26 12:32:16 +02:00
.clangd Migrate to C++23, remove fmt library. 2025-02-13 00:09:22 +02:00
.cmake-format Initial commit 2023-09-25 20:44:55 +03:00
.gitignore Initial commit 2023-09-25 20:44:55 +03:00
CMakeLists.txt Migrate to C++23, remove fmt library. 2025-02-13 00:09:22 +02:00
CMakePresets.json Initial commit 2023-09-25 20:44:55 +03:00
conanfile.py Migrate to C++23, remove fmt library. 2025-02-13 00:09:22 +02:00
LICENSE Initial commit 2023-09-25 20:44:55 +03:00
README.md Migrate to C++23, remove fmt library. 2025-02-13 00:09:22 +02:00
suppressions.txt Initial commit 2023-09-25 20:44:55 +03:00

rt-one-weekend

Raytracing in one weekend. Based on the book with the same name.

This project tries to use modern C++23 features to improve on the original code.

Dependencies

Dependencies are listed in conanfile.py.

How to build

  • In one command:
conan build . -s build_type=Debug --build=missing
  • Using conan and cmake:
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.

How to run

./build/Debug/bin/rt-one-weekend

Result

Output image produced by the program.

Image