Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

FAST: Filter-Adapted Spatio-Temporal Sampling for Real-Time Rendering

Published: 13 May 2024 Publication History

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.

Supplemental Material

MP4 File
Supplemental video
PDF File
Uniform scalars, uniform unit vectors, uniform vectors

References

[1]
Abdalla G. M. Ahmed, Jing Ren, and Peter Wonka. 2022. Gaussian Blue Noise. ACM Trans. Graph. 41, 6, Article 260 (nov 2022), 15 pages. https://doi.org/10.1145/3550454.3555519
[2]
Abdalla G. M. Ahmed and Peter Wonka. 2020. Screen-Space Blue-Noise Diffusion of Monte Carlo Sampling Error via Hierarchical Ordering of Pixels. ACM Transactions on Graphics 39, 6, Article 244 (Nov. 2020).
[3]
David Bauer, Qi Wu, and Kwan-Liu Ma. 2023. FoVolNet: Fast Volume Rendering using Foveated Deep Neural Networks. IEEE Transactions on Visualization and Computer Graphics 29, 1 (2023), 515--525. https://doi.org/10.1109/TVCG.2022.3209498
[4]
Bryce E. Bayer. 1973. An optimum method for two-level rendition of continuous-tone pictures. IEEE International Conference on Communications 1, 11--15.
[5]
Laurent Belcour and Eric Heitz. 2021. Lessons Learned and Improvements When Building Screen-Space Samplers with Blue-Noise Error Distribution. In ACM SIGGRAPH 2021 Talks (Virtual Event, USA) (SIGGRAPH '21). Association for Computing Machinery, New York, NY, USA, Article 9, 2 pages. https://doi.org/10.1145/3450623.3464645
[6]
Vassillen Chizhov, Iliyan Georgiev, Karol Myszkowski, and Gurprit Singh. 2022. Perceptual error optimization for Monte Carlo rendering. ACM Trans. Graph. 41, 3 (2022). https://doi.org/10.1145/3504002
[7]
Cameron N. Christou. 2008. Optimal Dither and Noise Shaping in Image Processing. MSc thesis, University of Waterloo.
[8]
Iliyan Georgiev and Marcos Fajardo. 2016. Blue-Noise Dithered Sampling. In ACM SIGGRAPH Talks. Article 35.
[9]
Mikkel Gjoel and Mikkel Svendsen. 2016. Low Complexity, High Fidelity: The Rendering of INSIDE. In Game Developer's Conference.
[10]
Eric Heitz and Laurent Belcour. 2019. Distributing Monte Carlo Errors as a Blue Noise in Screen Space by Permuting Pixel Seeds Between Frames. Computer Graphics Forum 38, 4 (2019), 149--158.
[11]
Eric Heitz, Laurent Belcour, Victor Ostromoukhov, David Coeurjolly, and Jean-Claude Iehl. 2019. A Low-Discrepancy Sampler that Distributes Monte Carlo Errors as a Blue Noise in Screen Space. In SIGGRAPH Talks.
[12]
Jorge Jimenez. 2014. Next generation post processing in call of duty advanced warfare. SIGGRAPH Advances in Real-Time Rendering in Games (2014).
[13]
Brian Karis. 2014. High-Quality Temporal Supersampling. SIGGRAPH Advances in Real-Time Rendering in Games (2014).
[14]
Alexander Keller, Iliyan Georgiev, Abdalla Ahmed, Per Christensen, and Matt Pharr. 2019. My Favorite Samples. In SIGGRAPH Courses. Article 15, 271 pages.
[15]
Miša Korać, Corentin Salaün, Iliyan Georgiev, Pascal Grittmann, Philipp Slusallek, Karol Myszkowski, and Gurprit Singh. 2023. Perceptual Error Optimization for Monte Carlo Animation Rendering. In SIGGRAPH Asia 2023 Conference Papers (Sydney) (SA '23). Association for Computing Machinery, New York, NY, USA, Article 89, 10 pages. https://doi.org/10.1145/3610548.3618146
[16]
Don P. Mitchell. 1987. Generating Antialiased Images at Low Sampling Densities. In Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH '87). Association for Computing Machinery, New York, NY, USA, 65--72. https://doi.org/10.1145/37401.37410
[17]
Harald Niederreiter. 1992. Random Number Generation and Quasi-Monte Carlo Methods. Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9781611970081 arXiv:https://epubs.siam.org/doi/pdf/10.1137/1.9781611970081
[18]
Alexey Panteleev and Christoph Schied. 2019. Real-Time Path Tracing and Denoising in 'Quake 2' (Presented by NVIDIA). In Game Developer's Conference.
[19]
Christoph Peters. 2017. The problem with 3D blue noise. https://momentsingraphics.de/3DBlueNoise.html. [Online; accessed 27-March-2023].
[20]
Ravi Ramamoorthi, John Anderson, Mark Meyer, and Derek Nowrouzezahrai. 2012. A Theory of Monte Carlo Visibility Sampling. ACM Trans. Graph. 31, 5, Article 121 (sep 2012), 16 pages. https://doi.org/10.1145/2231816.2231819
[21]
Nathan Reed. 2013. Quick And Easy GPU Random Numbers In D3D11. https://www.reedbeta.com/blog/quick-and-easy-gpu-random-numbers-in-d3d11/. [Online; accessed 03-April-2023].
[22]
Martin Roberts. 2018. The Unreasonable Effectiveness of Quasirandom Sequences. http://extremelearning.com.au/unreasonable-effectiveness-of-quasirandom-sequences/. [Online; accessed 3-August-2022].
[23]
Corentin Salaün, Iliyan Georgiev, Hans-Peter Seidel, and Gurprit Singh. 2022. Scalable Multi-Class Sampling via Filtered Sliced Optimal Transport. ACM Trans. Graph. 41, 6, Article 261 (nov 2022), 14 pages. https://doi.org/10.1145/3550454.3555484
[24]
Christoph Schied, Anton Kaplanyan, Chris Wyman, Anjul Patney, Chakravarty R. Alla Chaitanya, John Burgess, Shiqiu Liu, Carsten Dachsbacher, Aaron Lefohn, and Marco Salvi. 2017. Spatiotemporal Variance-guided Filtering: Real-time Reconstruction for Path-traced Global Illumination. In High Performance Graphics. 2:1--2:12. https://research.nvidia.com/publication/2017-07_Spatiotemporal-Variance-Guided-Filtering%3A
[25]
John Spitzer. 2021. Next-Generation Game Development on NVIDIA RTX GPUs (Presented by NVIDIA). In Game Developer's Conference.
[26]
Robert Ulichney. 1987. Digital Halftoning. The MIT Press. https://doi.org/10.7551/mitpress/2421.001.0001
[27]
Robert Ulichney. 1988. Dithering with blue noise. Proc. IEEE 76, 1 (1988), 56--79. https://doi.org/10.1109/5.3288
[28]
Robert Ulichney. 1993. The Void-and-Cluster Method for Generating Dither Arrays. In SPIE Symposium on Electronic Imaging Science & Technology. 332--343.
[29]
Alan Wolfe, Nathan Morrical, Tomas Akenine-Möller, and Ravi Ramamoorthi. 2022. Spatiotemporal Blue Noise Masks. In Eurographics Symposium on Rendering, Li-Yi Ghosh, AbhijeetWei (Ed.). The Eurographics Association, 117-12610 pages. https://doi.org/10.2312/sr.20221161 Bart Wronski. 2020. "Optimizing" blue noise dithering -- backpropagation through Fourier transform and sorting. Retrieved October 11, 2022 from https://bartwronski.com/2020/04/26/optimizing-blue-noise-dithering-backpropagation-through-fourier-transform-and-sorting/
[30]
Lei Yang, Shiqiu Liu, and Marco Salvi. 2020. A Survey of Temporal Antialiasing Techniques. Computer Graphics Forum 39, 2 (2020), 607--621. https://doi.org/10.1111/cgf.14018 arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.14018
[31]
Lei Yang, Diego Nehab, Pedro V. Sander, Pitchaya Sitthi-amorn, Jason Lawrence, and Hugues Hoppe. 2009. Amortized Supersampling. ACM Trans. Graph. 28, 5 (dec 2009), 1--12. https://doi.org/10.1145/1618452.1618481

Cited By

View all
  • (2024)Converging Algorithm-Agnostic Denoising for Monte Carlo RenderingProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/36753847:3(1-16)Online publication date: 9-Aug-2024

Index Terms

  1. FAST: Filter-Adapted Spatio-Temporal Sampling for Real-Time Rendering

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Proceedings of the ACM on Computer Graphics and Interactive Techniques
    Proceedings of the ACM on Computer Graphics and Interactive Techniques  Volume 7, Issue 1
    May 2024
    399 pages
    EISSN:2577-6193
    DOI:10.1145/3665094
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 13 May 2024
    Published in PACMCGIT Volume 7, Issue 1

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. noise
    2. rendering
    3. sampling

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Data Availability

    Uniform scalars, uniform unit vectors, uniform vectors https://dl.acm.org/doi/10.1145/3651283#FAST-supplemental.pdf

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)77
    • Downloads (Last 6 weeks)20
    Reflects downloads up to 13 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Converging Algorithm-Agnostic Denoising for Monte Carlo RenderingProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/36753847:3(1-16)Online publication date: 9-Aug-2024

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media