Skip to content

blxl909/path-tracing-svgf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

path-tracing-svgf

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

result

input

SVGF algorithm takes in one sample per pixel image input use normal path tracing (with next event estimation)
1spp_input

output

SVGF will reconstruct image,here is the result
svgf_output

compare to the accumulate color

the accumulate color after 133 iterations
acc_color

Build

requirement

  • Windows 10 x64
  • Visual Studio 2019
  • cmake
  • vcpkg

third party library

  • GLFW
  • glad
  • glm
  • hdrloader
  • imgui

build step

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).

TODO

  • add some documents to fully explain how to implement this algorithm
  • add cmake file
  • refactor code, now it's a little bit messy

About

still in progress ,has some bug

Resources

Stars

Watchers

Forks

Packages

No packages published