MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following equation is used in 2D translation to move a point(x, y) to the new point (x’, y’)?
A
x’ = x + ty and y’ = y + tx
B
x’ = x-tx and y’ = y-ty
C
x’ = x + tx and y’ = y + ty
D
x’ = x + tx and y’ = y-ty
Explanation: 

Detailed explanation-1: -Answer: (c) x’ = x + tx and y’ = y + ty Explanation: We translate a 2-D point by adding translation distance, tx, and ty, to the original coordinates position (x, y) to move the points to a new position (x’, y’).

Detailed explanation-2: -Explanation: The 2D translation equation is P’=P+T.

Detailed explanation-3: -This is written as T = T1∙T2. Composite transformation can be achieved by concatenation of transformation matrices to obtain a combined transformation matrix. The change in the order of transformation would lead to different results, as in general matrix multiplication is not cumulative, that is [A] . [B] ≠ [B] .

Detailed explanation-4: -2D Translation in Computer Graphics The translation is repositioning an object along a straight-line path from one coordinate location to another coordinate location. The translation is the rigid body transformation that saves an object without deformation. A translation moves to a different position on the screen.

Detailed explanation-5: -Two Dimensional Transformation in Computer Graphics – Shear. A 2D transformation in computer graphics that slants the shape of an object is called the shear transformation. There are two shear transformations – X-Shear and Y-Shear. One shifts X coordinates values and the other shifts Y coordinates values.

There is 1 question to complete.