2077 5

Computer Graphics20775 marksNumerical: triangle translation transformationTwo-Dimensional translation, Rotation, Scaling, Reflection a

Translate a triangle ABC with co-ordinates A(0, 0), B(5, 0) and C(5, 5) by 2 units in x-direction and 3 units in y-directions.

Translate a triangle ABC with co-ordinates A(0, 0), B(5, 0) and C(5, 5) by 2 units in x-direction and 3 units in y-directions. [5]

  • Triangle vertices: $A(0, 0)$, $B(5, 0)$, $C(5, 5)$ - Translation: $tx = 2$ (x-direction), $ty = 3$ (y-direction) Translation formula: $$x' = x + tx, \qquad y' = y + ty$$ Homogeneous translation matrix: $$T = \begin{bmatrix} 1 & 0 & 2 \ 0 & 1 & 3 \ 0 & 0 & 1 \end{bmatrix}$$ Point A(0, 0): $$A'...
Up nextDifferentiate between orthographies, parallel, and perspective projections.