1
Fork 0
CPU raytracer with threads, mesh support and indirect bouncing
Find a file
2024-09-26 13:57:03 +02:00
cmake Fix Windows build 2022-03-27 21:29:37 -04:00
extern Port to C++ modules 2024-09-26 13:49:16 +02:00
misc Include example models in misc/ folder, rename load button for clarity 2022-08-16 07:33:10 -04:00
src Port to C++ modules 2024-09-26 13:49:16 +02:00
.clang-format Reformat code 2022-08-16 07:41:12 -04:00
.editorconfig Reformat code 2022-08-16 07:41:12 -04:00
.gitignore Add imgui ini to gitignore 2022-08-16 07:33:32 -04:00
CMakeLists.txt Port to C++ modules 2024-09-26 13:49:16 +02:00
LICENSE Update license year 2022-02-28 21:20:35 -05:00
README.md Note that the project is now C++23 in the README 2024-09-26 13:57:03 +02:00

Raytracer

A multi-threaded raytracer using glm, tinyobjloader and C++23. The UI is written in imgui and image display is rendered using OpenGL. I tried to write this to not be insanely fast or compact like other raytracers, but to be readable and understandable.

example result

The example image shown above is rendered using simple direct light computation and naive indirect light sampling.

Building

A recent version of Clang is recommended. GCC may be used but I experienced crashes when trying to compile some of our bigger modules.