Seen Geometry

03 · Matrix product

03

Order of transforms

The same translate, rotate, and scale can be multiplied in more than one order. Matrix products are read from right to left, so the rightmost matrix touches the point first.

Read the product from right to left

The rightmost matrix touches the point first. The dark dot is the origin. The origin does not move with the arrow.

M = T · R · S

Scale first. Then rotate. Then translate. The arrow turns about its tail. Then it steps along X.


    
    
    
    
    
    

Each line names one order. The rightmost column of its matrix is where the tail went. That point is the image of the local origin.

Matrix for T · R · S
————
————
————
————
Where this is used
Common mistakes

Morph targets · Next: point vs direction

Loading the picture…