The project is based on the book Ray Tracing in One Weekend.
On Unix-like systems:
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --parallel
./bin/Release/Ray-Tracing --config-file-path config/weekend/sky.json --output-file-path result/weekend/sky.png
On Windows:
cmake -S . -B ./build
cmake --build ./build --config Release --parallel
.\bin\Release\Ray-Tracing.exe --config-file-path config\weekend\sky.json --output-file-path result\weekend\sky.png
These results are rendered on Windows 11 platform with Visual Studio 2022.
Configuration File Name | Result |
---|---|
week/checker.json | |
week/two-spheres.json | |
week/earth.json | |
week/perlin.json | |
week/quad.json | |
week/light.json | |
week/cornell-box.json | |
week/cornell-smoke.json | |
week/week.json |
Configuration File Name | Result |
---|---|
life/cornell-box.json | |
life/mirror.json | |
life/glass.json | |
life/mirror-glass.json |