Graphic Rendering ipeline Model Modeling Tranformation M Viewing Tranformation Model 2 M 2 3DWorld Scene V 3D View Scene Model n M n 2D Image Raterization 2D Scene rojection
Scaling S. ], [ ], [ ;, (, (
Scaling S. ], [ ], [ ;, (, ( caling differential : : uniform caling
Rotation R φ r φ r φ r φ r. co( in( in( co( ], [ ], [ co( in( in( co( in( co( in( ; co(, (, ( + + + φ
General 22 Matri X X [ X X. T, ] [, ] a c b d [( a + c,( b + d ] If a d and b c T Identit Matri X X
General 22 Matri If b c X [a, d] : Scaling If b c and a -, d X [-, ] : Reflection
General 22 Matri [, ] [, ] [ + c, ] c Shearing in X
General 22 Matri b [, ] [, ] [, b + ] Shearing in Y
Tranlation ], [ ];, [ ;, (, ( t t T T t t + + + T
Homogenou Coordinate Scale/Rotate/Reflect/Shear: X XT Tranlate: X X + T [, ] [,, w ] h Multiple value for the ame point e.g., (2, 3, 6 and (4, 6, 2 are ame point
Homogenou Coordinate w (,,w w (/w, /w,
Homogenou Coordinate Unifing repreentation for tranformation Tranformation matri from 22 to 33 [, X X X X. T a, w ] [,,] c l [( a + c + b d m l,( b + d + m,]
Homogenou Coordinate Tranlation T l m X XT [, ] [ + l, + m]
Homogenou Coordinate Scaling/Rotation/Shear T a c b d
Homogenou Coordinate Succeive tranlation are additive l m X X After T l 2 m 2 X X After T and T 2 + + 2 2 2 2 m m l l X m l m l X X Succeive tranlation: T (l, m, T 2 (l 2, m 2
Homogenou Coordinate Succeive caling i multiplicative X X After S After S and S 2 Succeive caling: S (,, S 2 ( 2, 2 2 2 X X 2 2 2 2 X X X
Homogenou Coordinate After R( X Succeive rotation: R(, R(φ co X in X in co X co( + φ X in( + φ After R( and R(φ coφ X inφ in( + φ co( + φ Succeive rotation are additive inφ coφ
Compoition of tranformation Rotation about arbitrar point Rotation about origin i known Tranlate uch that become O Rotate (about O Tranlate back to O
Compoition of tranformation Rotation about arbitrar point Rotation about origin i known Tranlate uch that become O X X l m O
Compoition of tranformation Rotation about arbitrar point Rotation about origin i known Rotate about O co in X X in co O
Compoition of tranformation Rotation about arbitrar point Rotation about origin i known Tranlate back to X X l m O
Compoition of tranformation Compoite tranformation + in (co in (co co in in co co in in co m n n m X m l m l X X f
Compoition of tranformation Reflection about an arbitrar line B C A O
Compoition of tranformation Reflection about an arbitrar line Tranlation B C A O
Compoition of tranformation Reflection about an arbitrar line Rotation B A C O
Compoition of tranformation Reflection about an arbitrar line Reflection O A C B
Compoition of tranformation Reflection about an arbitrar line Rotation C O A B
Compoition of tranformation Reflection about an arbitrar line Tranlation C O A B
Compoition of tranformation Given T and T 2 In general, T T T 2 T2T
Rigid Tranformation Square remain quare reerve length and angle Sequence of rotation and tranlation T r r l 2 r r 2 22 m
Affine Tranformation reerve parallelim Sequence of rotation, tranlation, caling and hear T a c l b d m Linear tranformation i when no tranlation
General Tranformation 33 matri T a c l b d m p q