O'Reilly logo

Ray Tracing from the Ground Up by Kevin Suffern

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17

Ambient Occlusion

image

Image courtesy of Mark Howard, Stanford bunny model courtesy of Greg Turk and the Stanford University Graphics Laboratory

Objectives

By the end of this chapter, you should:

  • understand how ambient occlusion is computed;
  • know how to set up a local orthonormal basis at a hit point;
  • have implemented ambient occlusion as a light shader;
  • understand some of the limitations of the sampling techniques discussed in Chapter 5.

In Chapter 14, ambient illumination was a constant term throughout a scene. As a result, the surface of any object that only received ambient illumination was rendered with a constant color. Ambient ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required