Some raytracer including basic features such as shadows & reflection
Building requires C++17 installed.
mkdir build
cd build
cmake ..
make
./raytracer [width] [height] [fov] [outputName]
The program can be run dynamically without recompiling when updating the scene. This can be done within the config.json
file. Check the format to play with it.
- Diffuse and specular lighting
- Shadows
- Reflection
- Sphere
- Box
- Plane
- Triangle
- Mengen Sponge (fractale)