All mock tests are FREE till 31 December — register to save your progress

Consider the matrix M = [2 0 2; 0 1 1; 0 0 1] representing a set of planar (2D) geometric transformations in homogeneous coordinates. Which of the following statements about M is true?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. M represents first, a translation of vector (1, 1) followed by scaling of vector (2, 1)

Explanation

Scale(2, 1) · Translate(1, 1) = [2 0 2; 0 1 1; 0 0 1]: translate first, then scale (which doubles the x-translation). Scaling first would give [2 0 1; 0 1 1; 0 0 1].

More Programming Languages and Computer Graphics questions