Film●●●●●Difficulty 5 of 5

Why does computer animation look real once it simulates light instead of faking it?

Until Monsters University, Pixar's artists built reflections and shadows by hand; then a lighting system that imitates real light did it for them.

▶ Start the story

Because it stops painting the look of light and starts calculating what light would do. Physically based rendering, or PBR, renders images by modelling lights and surfaces with the optics of the real world. It rests on the idea that, in the real world, everything is shiny: even matte surfaces such as concrete reflect a small amount of light, and many metals and liquids reflect a great deal.

The rendering equation, introduced into computer graphics in 1986 by David Immel and colleagues and independently by James Kajiya, says that the light leaving a point on a surface is the sum of emitted light and reflected light. The light arriving at that point usually comes from the outgoing light at other points in the scene. Path tracing solves the equation approximately, by tracing rays from the camera that bounce in random directions and averaging the results over many samples per pixel.

How a path tracer computes one pixel
  1. Step 1: Start at the camera

    Trace a ray from the camera through the pixel

  2. Step 2: Bounce randomly

    The ray bounces in random directions off objects

  3. Step 3: Find a light

    Add up the light carried back whenever the path meets a light source

  4. Step 4: Repeat and average

    Each repetition is a sample; many thousands are averaged to reduce noise

Path tracing was very slow on the computers of the 1980s and 1990s, and most animated films until around 2010, including Pixar's, used a different method, with ray tracing used selectively. Before the new system, Pixar's artists had to build reflections and shadows manually. Monsters University is described as the first Pixar film to use global illumination, a lighting system that imitates the behaviour of light in the real world, which automated the process and delivered more realism and soft shadows. Accounts differ on the milestone, though: another source names Finding Dory (2016), made after Pixar rewrote its RenderMan software for path tracing, as Pixar's first feature-length path-traced film.

Quiz me

0/3

  1. 1.Why does path tracing produce noise?
  2. 2.What did global illumination change for Pixar's artists?
  3. 3.What does PBR mean by saying everything is shiny?

Recap

Path tracing averages many random light paths to solve the rendering equation, trading computing time for realism.

💡 A trick to remember it · Throw thousands of random light rays at each pixel, average them, and the noise clears like a photograph developing.

Surprising fact · Path tracing is noisy: images often need many thousands of random samples per pixel.

Sources (5)

No source, no claim. Every fact in this lesson (17 claims) cites at least one of these.

  1. [1]Physically based rendering · Wikipedia
  2. [2]Rendering equation · Wikipedia
  3. [3]Path tracing · Wikipedia
  4. [4]Monsters University · Wikipedia
  5. [5]Subsurface scattering · Wikipedia
More lessons in 🎬 Film (3) See all film lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗