Finish Ray-tracing, Start Lighting




CS116b/CS216

Chris Pollett

Apr 7, 2014

Outline

Introduction

Secondary Rays

Checking for object occlusion with a shadow ray

Even More Rays

Quiz

Which of the following statements is true?

  1. Our plane intersection test presented last week involved the quadratic formula to determine `lambda`.
  2. The triangle intersection test we had last week involved doing a plane intersection.
  3. Our sphere intersection test of last week involved tessellating the sphere using triangles.

Light

Radiant Flux

A drawing of a photon sensor

Irradiance

How irradiance is approximated

Radiant Flux from Irradiance

Radiance

Getting rid of vec n

Radiant Flux from Radiance