February 2019
Intermediate to advanced
292 pages
6h 55m
English
Matrix transposition will come in handy when you get to Chapter 6, Light and Shading. You’ll use it when translating certain vectors (called normal vectors) between object space and world space. This may sound like science fiction, but is crucial to shading your objects correctly.
When you transpose a matrix, you turn its rows into columns and its columns into rows:

Transposing a matrix turns the first row into the first column, the second row into the second column, and so forth. Here’s a test that demonstrates this.
| | Scenario: Transposing a matrix |
| | Given the following matrix A: |
| | | 0 | 9 ... |
Read now
Unlock full access