Lecture: Matrix Transformations

How to 3D

Chapter 4: Transformation Machinery

Lecture: Matrix Transformations

Dear students:

Geometry makes paintings, and transformations make movies. A transformation is achieved by simple adding and multiplying, but this arithmetic gets out of hand when we have a lot of transformations to apply. Enter matrices. These little grids of numbers offer a universal interface for transformations. A sequence of tranformations may be collapsed down to a single matrix by multiplying all of its steps together. Today we'll look at bringing some life into a renderer by moving models around with matrix transformations.

Matrices are a graphics superpower. Speaking of superpowers, this AI woman really knows how to rotate.

Mat Chat

Let's warm up with a friendly exploration of matrices. Find a partner and complete these steps:

  1. Go to Transformula (transformula.twodee.org).
  2. Each partner secretly chooses a single transformation matrix and configures it according to their desires. Choose between translation, scaling, and the three rotations. Make sure your transformation isn't the identity.
  3. Take turns trying to figure out each other's transformation type. On each turn, you can either query a single element (saying something like “What value's at row 3, column 0?”), or you can guess the transformation.

Everything Creature

Next we'll apply the matrices you read about by making a creature that galumphs through the scene by rotating, just like in the game Everything:

We'll model the creature in Blender, color its vertices, load it in from a glTF file, and then have it rotate around in a circle.

TODO

Here's your list of things to do before we meet next:

Complete the middle quiz as desired before Thursday.
Keep working on Rastercaster and Boxels. You've got everything you need for the Boxels assignment.

See you next time.

Sincerely,

P.S. It's time for a haiku!

My alma mater If you matriculate there You will be transformed
← QuaternionsLab: Matrix Transformations →