1.

Which of the following represents shearing?(a) (x, y) → (x+a, y+b)(b) (x, y) → (ax, by)(c) (x, y) → (x cos(θ)+y sin(θ), -x sin(θ)+y cos(θ))(d) (x, y) → (x+ay, y+bx)I have been asked this question in an interview for internship.Enquiry is from 2D Reflection and Shear in division 2D Transformation and Viewing of Computer Graphics

Answer»

Right answer is (d) (x, y) → (x+ay, y+bx)

Easy explanation: The first one REPRESENT TRANSLATION, the SECOND one represents SCALING, THIRD one rotation and the last one is representing shearing.



Discussion

No Comment Found

Related InterviewSolutions