English

Filter-adapted spatiotemporal sampling for real-time rendering

Graphics 2023-10-25 v1

Abstract

Stochastic sampling techniques are ubiquitous in real-time rendering, where performance constraints force the use of low sample counts, leading to noisy intermediate results. To remove this noise, the post-processing step of temporal and spatial denoising is an integral part of the real-time graphics pipeline. The main insight presented in this paper is that we can optimize the samples used in stochastic sampling such that the post-processing error is minimized. The core of our method is an analytical loss function which measures post-filtering error for a class of integrands - multidimensional Heaviside functions. These integrands are an approximation of the discontinuous functions commonly found in rendering. Our analysis applies to arbitrary spatial and spatiotemporal filters, scalar and vector sample values, and uniform and non-uniform probability distributions. We show that the spectrum of Monte Carlo noise resulting from our sampling method is adapted to the shape of the filter, resulting in less noisy final images. We demonstrate improvements over state-of-the-art sampling methods in three representative rendering tasks: ambient occlusion, volumetric ray-marching, and color image dithering. Common use noise textures, and noise generation code is available at https://github.com/electronicarts/fastnoise.

Keywords

Cite

@article{arxiv.2310.15364,
  title  = {Filter-adapted spatiotemporal sampling for real-time rendering},
  author = {William Donnelly and Alan Wolfe and Judith Bütepage and Jon Valdés},
  journal= {arXiv preprint arXiv:2310.15364},
  year   = {2023}
}

Comments

18 pages, 12 figures

R2 v1 2026-06-28T12:59:35.870Z