Home

Awesome

Real-Time Rendering with Lighting Grid Hierarchy I3D 2019 Demo

Daqi Lin

This demo is for the I3D 2019 paper Real-Time Rendering with Lighting Grid Hierarchy (Lin & Yuksel, 2019). The project page of the paper can be found at https://dqlin.xyz/pubs/2019-i3d-LGH/.

For a CPU version of lighting grid hierarchy, please visit https://github.com/cemyuksel/cyCodeBase/blob/master/cyLightingGrid.h.

This demo is built upon MiniEngine by Team Minigraph at Microsoft.

Images produced by this demo:

Default demo scene with a teapot added (see additional notes)

San Miguel scene from the McGuire Computer Graphics Archive

System Requirements

Libraries Used

If the prebuilt binaries do not work with your computer, you should easily find them online.

Run the Demo:

Build the Demo:

Controls

Demo Settings

Application

All options related to techniques used in the paper.

Debug View : Iterate through 4 different debug views for shadow sampling - stochastic and filtered results of unshadowed and shadowed indirect lighting.

Direct Lighting Only : Switch off all indirect illumination.

Enable Indirect Shadow : Switch on shadow in indirect illumination.

Enable Shadow TAA : Switch on temporal anti-aliasing for indirect illumination shadow, see section 4.3 last paragraph in the paper.

Enable Temporal Random : Enable this to change pseudo-random seed for shadow sampling in every frame. Deterministic bias for indirect shadow sampling can be eliminated when this is on. It is recommended to combine this with Shadow TAA and SVGF filtering.

Filter Type for Shadows : Iterate through 3 different shadow filters available: wavelet À-trous filter [Dammertz et al., 2010], Spatiotemporal Variance-Guided Filtering (SVGF) [Schied et al., 2017] and a naive bilateral filter [Heitz et al., 2018].

Filtering : Options for shadow filtering.

LGH : Sets parameters for lighting grid hierarchy construction, lighting computation and shadow sampling.

Lighting : Sets parameters for direct lighting (sun light). You can tune these parameters if you find the sun shadow for your custom model looks incorrect.

VPL : Sets parameters that controls VPL generation.

Graphics

The original MiniEngine post effect settings. Including FXAA and TAA, Bloom filter, depth of field, HDR, and motion blur.

Timing

VSync and frame rate limiting options.

Additional notes

For questions, please email daqi@cs.utah.edu or post an issue in the GitHub repository.