Simple C++ Raytracer parses Wavefront format and uses the Phong Reflection model to render the scene.
- Reflection / Refraction
- Textures
- Clone the project with submodules
git clone https://github.com/TolyaTalamanov/Raytracer
git submodule update --init --recursive
- Go to project folder and run CMake:
cd Raytracer && mkdir build
cmake ../ -DCMAKE_BUILD_TYPE=Debug
- Build with make:
make -j32
- Run the tests:
./bin/raytracer-tests
- Run tool:
./bin/raytracer-tool <path-to-obj-file>