an OpenGL based path tracer with SVGF(Spatiotemporal Variance-Guided Filter)
more detail about SVGF see paper link here
this work is based on the project EzRT and Falcor
SVGF algorithm takes in one sample per pixel image input use normal path tracing (with next event estimation)
SVGF will reconstruct image,here is the result
the accumulate color after 133 iterations
- Windows 10 x64
- Visual Studio 2019
- cmake
- vcpkg
- GLFW
- glad
- glm
- hdrloader
- imgui
you can build these third party library yourself or use vcpkg, hdrloader and imgui have been already included in this project.
if use vcpkg:
.\vcpkg install glfw3:x64-windows
.\vcpkg install glad:x64-windows
.\vcpkg install glm:x64-windows
.\vcpkg integrate install
then visual studio will automatically link these libraries.
after that, come to source code folder, use command:
cmake ./
to generate visual studio solution.
set project 'path_tracer_svgf' as start project,build on x64 and Realease mode.(Debug mode would be really slow).
- add some documents to fully explain how to implement this algorithm
- add cmake file
- refactor code, now it's a little bit messy