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 20

Affine Transformations

image

Objectives

By the end of this chapter, you should:

  • understand what affine transformations are;
  • understand how to represent transformations with matrices;
  • know why we use 4 × 4 matrices for 3D transformations;
  • know how to compose a sequence of transformations;
  • understand how to define and represent inverse transformations.

Transformations are an essential tool for ray tracing: we use them to alter the size, shape, orientation, and location of geometric objects. Without them, it would not be practical to ray trace objects such as non-axis-aligned rectangular boxes or arbitrary cylinders, cones, and tori. We ...

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