guiqi134 / Area-ReSTIR

Source Code (Direct Lighting Part) for SIGGRAPH 2024 Paper "Area ReSTIR: Resampling for Real-Time Defocus and Antialiasing"
Other
151 stars 12 forks source link

Area ReSTIR (DI)

Introduction

Area ReSTIR: Resampling for Real-Time Defocus and Antialiasing
Song Zhang (University of Utah), Daqi Lin (NVIDIA), Markus Kettunen (NVIDIA), Cem Yuksel (University of Utah), Chris Wyman (NVIDIA)
(*Joint first authors)
Utah Graphics Research Page
NVIDIA Real-Time Graphics Research Page

Area ReSTIR extends ReSTIR reservoirs to also integrate each pixel's 4D ray space, including 2D areas on the film and lens. To maximize resampling quality on subpixel and lens region, it also includes novel subpixel-tracking temporal reuse and reconnection shift mapping. Compare to [Bitterli et al. 2020] (ReSTIR DI) and [Lin et al. 2022] (ReSTIR PT), our Area ReSTIR has significant improvements on bokeh, foliage, hair, and detailed normal maps.

Prerequisites

How to compile

IMPORTANT: We use git submodules to download dependencies! Downloading the git repository as a .zip (rather than using git clone) will ensure you lack required dependencies, and the build scripts will fail.

After cloning the repository:

Run the demo

Test with more scenes