Perspective projection, step by step

How a 3D point lands on a flat screen, and how a 4×4 matrix does it with one extra coordinate (Lay, Linear Algebra and Its Applications 5e, §2.7). About 7 minutes.

  1. What a 3D point is, and why a side view only shows two directions
  2. The window and the string: farther things are drawn smaller
  3. Similar triangles: divide by "how many times farther"
  4. Textbook coordinates: screen at z = 0, eye at z = d, distance d − z
  5. (d − z)/d = 1 − z/d
  6. Why no ordinary matrix can do it (not linear)
  7. The 4th coordinate H, and the rule "divide by H"
  8. Building the projection matrix P one row at a time
  9. Running (3, 3, −2) through P to get (1, 1, 0)

Download the video (MP4, 13 MB)