chufall / SVGF

Final Project for CS2240

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS224 Final Project — Render Denoising

Loudon Cohen & Raphael Kargon

Link to Github repo (note: use branch temporal-history)

Features

  • Separation of albedo, direct lighting, and indirect lighting channels
  • Spatial wavelet filtering -- taking into account normals, color edges, and depth/world-position differences
  • Temporal accumulation -- Accumulation of color from previous frames, and variance estimation (to improve edge blurring).
  • Motion vectors -- reprojection to match up points across frames, even w/ movement.
  • Fast approximate anti-aliasing

Results

results1

results2

Known Issues

  • Reflections and refractions can be blurry (esp. on flat surfaces)
  • Temporal history works, but "history length" parameter seems stuck at one, making it difficult to add improvements to areas w/ no history (e.g. spatial variance estimation)

Usage

 mkdir build && cd build
 qmake -makefile ../final.pro
 make release
 ./release/final <scene xml>
./release/final -h (for more options)

About

Final Project for CS2240


Languages

Language:C 53.5%Language:C++ 44.3%Language:Perl 0.7%Language:Objective-C 0.5%Language:Shell 0.4%Language:GLSL 0.3%Language:QMake 0.1%Language:CSS 0.1%Language:CMake 0.0%