- Phong shading as basic shading model
- multithreaded rendering in CPU
- Three types of primitive objects are supported
- Teapot
- Cube
- Sphere
- Images are rendered to screen using SDL
This project compiles with visual studio 2022 by default. If you need a different version of visual studio, feel free to change the content
of the scripts/win-genproject.bat
to match your visual studio version.
For now, the only supported platform is windows. To install:
git clone --recurse-submodules
this repository- Go to
recursive-ray-tracer/scripts
- Run
win-genproject.bat
. This command will generate a Visual Studio 2022 project you can open and compile. - Open the generated visual studio solution
RecRays.sln
- Set start up project as
rec_rays
if necessary - Specify path of scene to render as command line arguments. You can find a default scene in
rec_rays/scenes/test.txt