Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Pixar-style images look realistic because the computer simulates how light travels through a virtual scene. Instead of only coloring objects directly, modern rendering follows many paths that light could take as it bounces, bends, scatters, and gets absorbed. This matters because small effects like soft shadows, reflections, glass distortion, and glowing skin make animated worlds feel believable. The goal is not just to draw objects, but to calculate how light from a camera viewpoint would actually look.

Key Facts

  • Ray tracing follows imaginary rays of light through a scene to find what color each pixel should be.
  • Reflection angle rule: angle of incidence = angle of reflection.
  • Refraction changes light direction when it enters a new material: n1 sin(theta1) = n2 sin(theta2).
  • Rendering equation idea: outgoing light = emitted light + reflected incoming light from many directions.
  • More samples per pixel reduce noise but increase render time.
  • Render time grows with image resolution, scene complexity, light bounces, material effects, and sample count.

Vocabulary

Ray tracing
A rendering method that traces paths of light rays through a virtual scene to compute pixel colors.
Global illumination
The simulation of both direct light and indirect light that has bounced off other surfaces.
Subsurface scattering
A material effect where light enters a surface, scatters inside it, and exits nearby, common in skin, wax, and leaves.
Refraction
The bending of light as it passes between materials with different optical densities, such as air, water, and glass.
Samples per pixel
The number of simulated light paths used to estimate the final color of one pixel.

Common Mistakes to Avoid

  • Thinking ray tracing only makes mirror reflections, which is wrong because it also handles shadows, refraction, indirect light, transparency, and material scattering.
  • Assuming one ray per pixel is enough, which is wrong because realistic lighting is estimated from many possible light paths and too few samples create noisy speckles.
  • Treating glass and water as simple transparent colors, which is wrong because they bend light according to refraction and can also reflect light at the surface.
  • Ignoring indirect light bounces, which is wrong because bounced light carries color between surfaces and strongly affects how natural a scene feels.

Practice Questions

  1. 1 A frame is 1920 by 1080 pixels. If the renderer uses 64 samples per pixel, how many light-path samples are traced before considering extra bounces?
  2. 2 A ray hits a flat mirror at an angle of incidence of 35 degrees from the normal. What is the angle of reflection from the normal?
  3. 3 Explain why a character standing near a red wall may have a slight red tint on one side even if the main light is white.