UGC NET CS 2021Programming Languages and Computer Graphics › 2-D Geometrical Transforms and ViewingVerified
UGC NET CS 2021 PYQ: What is the transformation matrix M that transforms a square in the xy plane defined by (1, 1), (-1, 1),…
What is the transformation matrix M that transforms a square in the xy plane defined by (1, 1), (-1, 1), (-1, -1), (1, -1) to a parallelogram whose corresponding vertices are (2, 1), (0,1), (-2, -1), and (0, -1) ?
- A1 1 0Correct answer
0 1 0
0 0 1 - B1 0 0
1 1 0
0 0 1 - C1 1 1
0 1 0
0 0 1 - D1 1 0
1 1 0
0 0 1
Answer
(A) 1 1 0 0 1 0 0 0 1
Approach
Apply the matrix to each vertex in homogeneous coordinates.
Reviewed by UGC IQ Editorial Team.