← All practice sets

Practice · Unit 2.3 Homogeneous Transformations

Homogeneous transforms

Build, invert, chain and push points through 4×4 transforms, always as R and r separately like on the Casio. A chain of three frames to play with, plus the order-of-moves and frame-chain traps.

The method formulary · Q36–39, Q47–48

Construct

TBA=[Rr03T1]T^A_B = \begin{bmatrix} R & r \\ 0_3^T & 1 \end{bmatrix}

R columns = B's axes in A, r = B's origin in A. 16 entries, 12 parameters, 6 DOF (Q36).

Invert

T−1=[RT−RTr03T1]T^{-1} = \begin{bmatrix} R^T & -R^T r \\ 0_3^T & 1 \end{bmatrix}

Not the plain transpose. The translation gets rotated by Rᵀ and flipped.

Map a point

rA=R rB+rr^A = R\,r^B + r
rB=RT (rA−r)r^B = R^T\,(r^A - r)

Append a 1 to the point; that 1 is what adds r. Going back: subtract first, then Rᵀ (Q24).

Chain

TCA=TBA TCBT^A_C = T^A_B\,T^B_C
R=R1R2,r=R1r2+r1R = R_1 R_2, \qquad r = R_1 r_2 + r_1

Inner indices must match. Inverting swaps top and bottom (Q39).

Order of two moves

  • rotate, then translate t: [R | t]
  • translate t, then rotate: [R | R t]
  • same axis: order doesn't matter

For a vector, read the product right to left: the rightmost move happens first (Q47, Q48).

Read it off

  • origin of B in A = last column
  • TAB maps B coordinates → A

Top index is the target, bottom index is where the coordinates come from.

Play with it a chain of three frames · drag to orbit

Dashed = A · thick = B · thin = C · dot = point p
Change C's translation and watch where C lands: r₂ is measured along B's axes, so in A it gets rotated by R₁ before being added. That's the R₁ r₂ in the chain rule.

Drill endless, mixed

The bottom row is always 0 0 0 1, so you only fill the top three rows. Work R and r separately, like you would on the Casio.

Loading…

Open