A simple CPU ReSTIR DI raytracer application based on the paper by Bitterli et. al. built during a few courses at Utrecht University.
The program is built in C++ in an early version of TheCherno's Hazel Engine and uses Jacco Bikker's tinybvh.
It is currently capable of running a 32M triangle scene at 5.1 fps vs a 400K triangles scene at 6 fps on a Ryzen 5 5600X.
Features:
- ReSTIR Direct Illumination
- Rigid Animations
- OBJ Mesh Importing
- Fast BVH Traversal
Warning: The build system uses the .\vendor\bin\premake\premake5.exe executable included in the repository to build a visual studio solution.
Download and replace it with the executable from the official site if you want to be sure its safe!
Build Instructions:
- Clone Repository.
- Edit
GenerateProject.batto generate a solution for your version of Visual Studio (vs2022orvs2019). - Run
GenerateProject.bat. - Open
hazel.slnand set toReleaseconfiguration - Build and run program.
Requirements:
- Windows 10 or higher.
- Visual Studio 2019 or higher.
- C++17

