Skip to main content

Advertisement

Springer Nature Link
Account
Menu
Find a journal Publish with us Track your research
Search
Cart
  1. Home
  2. Ray Tracing Gems
  3. Chapter

On the Importance of Sampling

  • Chapter
  • Open Access
  • First Online: 26 February 2019
  • pp 207–222
  • Cite this chapter

You have full access to this open access chapter

Download book PDF
Ray Tracing Gems
On the Importance of Sampling
Download book PDF
  • Matt Pharr3 
  • 64k Accesses

Abstract

With the recent arrival of ray tracing to the real-time graphics pipeline, developers are faced with a new challenge: figuring out how to make the most of the rays that they’re able to trace. One important question to decide is for which lighting effects to trace rays—choices include shadows, reflections, ambient occlusion, and full global illumination.

Another important question is how to choose which rays to trace for the chosen effect; an introduction to that question is the topic of this chapter. In the following, we will see how most lighting calculations in rendering can be interpreted as estimating the values of integrals and how tracing rays is a natural fit to an effective numerical integration technique: Monte Carlo. Given some background in Monte Carlo integration, we then see how well-chosen rays can dramatically improve the speed of convergence, which in turn can either improve overall system performance—by getting the same quality result for fewer rays—or improve image quality—by getting lower error from the same number of rays.

Download to read the full chapter text

Chapter PDF

Similar content being viewed by others

Ray Tracing in Control

Chapter © 2021

Hybrid Ray Traced and Image-Space Refractions

Chapter © 2021

Practical approach to the fast Monte-Carlo ray-tracing

Article 11 September 2015

Author information

Authors and Affiliations

  1. NVIDIA, Santa Clara, CA, USA

    Matt Pharr

Authors
  1. Matt Pharr
    View author publications

    You can also search for this author in PubMed Google Scholar

Editor information

Editors and Affiliations

  1. Somerville, MA, USA

    Eric Haines

  2. Lund University, Lund, Sweden

    Tomas Akenine-Möller

Rights and permissions

Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nc-nd/4.0/), which permits any noncommercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if you modified the licensed material. You do not have permission under this license to share adapted material derived from this chapter or parts of it.

The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

Reprints and permissions

Copyright information

© 2019 NVIDIA

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Pharr, M. (2019). On the Importance of Sampling. In: Haines, E., Akenine-Möller, T. (eds) Ray Tracing Gems. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4427-2_15

Download citation

  • .RIS
  • .ENW
  • .BIB
  • DOI: https://doi.org/10.1007/978-1-4842-4427-2_15

  • Published: 26 February 2019

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-4842-4426-5

  • Online ISBN: 978-1-4842-4427-2

  • eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)

Share this chapter

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Publish with us

Policies and ethics

Search

Navigation

  • Find a journal
  • Publish with us
  • Track your research

Discover content

  • Journals A-Z
  • Books A-Z

Publish with us

  • Journal finder
  • Publish your research
  • Open access publishing

Products and services

  • Our products
  • Librarians
  • Societies
  • Partners and advertisers

Our imprints

  • Springer
  • Nature Portfolio
  • BMC
  • Palgrave Macmillan
  • Apress
  • Your US state privacy rights
  • Accessibility statement
  • Terms and conditions
  • Privacy policy
  • Help and support
  • Cancel contracts here

Not affiliated

Springer Nature

© 2024 Springer Nature