1.

The scale factor of viewport transformation for x co-ordinate is ________(a) Sx = (svmax – svmin)/ (swmax – swmin)(b) Sx = (svmax – svmin)/ (swmax + swmin)(c) Sx = (svmin – svmax)/ (swmax – swmin)(d) Sx = (svmax + svmin)/ (swmax – swmin)This question was posed to me in final exam.I would like to ask this question from Window to Viewport Coordinate Transformation topic in division 2D Transformation and Viewing of Computer Graphics

Answer»

The correct answer is (a) Sx = (svmax – svmin)/ (swmax – swmin)

For explanation: The mapping or transformation involves DEVELOPING formulas that start with a POINT in the world window, say (xw, yw). The formula is used to produce a CORRESPONDING point in viewport COORDINATES, say (XV, yv). So after keeping it proportional in ‘x’ co-ordinate, we get, (svmax– svmin)/ (swmax – swmin).



Discussion

No Comment Found

Related InterviewSolutions