May 2023
May 2023
23
ga
31DZV
(3llours)
Qr a) What are homogeneous coordinates? Write a homogenous transformation maffix for IOJI
translation, scaling, and rotation
b) Explain the working of the Raster scan $ystem with a neat diagram, [0sl
d) Scale a triangle A(4,4), B(12,4) and C(s,lO) with scaling factor Sx: 2 and S5l. Issl
L
Q2a) \Mrite a midpoint circle drawing algorithm. Apply this algorithm to find pixel ll0l
coordinates of the circular boundary only for the first quadrant, whose radius is 8
units.
b) Rotate a line segment with endpoint A (3,3) to B(10,10) in a clockwise direction by u0l
an qgle 45 degrees by keeping A (3,3) as fixed point. Find new transformed
coorihtes of a line.
Q3a) Explain Flood fill and boundary fill algorithm with a suitable example. Write merits [101
and demerits of the same.
b) Derive transformation matrix for 2D rotation about a fixed point.
Q4 a) Explain the z-buffer algorithm for hidden surface removal with a suitable example. t10l
b) Explain Sutherland-Hodgeman polygon clipping algorithm with a suitable example. u0l
I
Q5 a) What is Bezier crrve? Write importantproperties of the Bezier curve. t10I
YY b) What do you mean by line chpping? Explain Cohen-Sutherland line clipping ll0l
algorithm with a suitable exanple.
,.]
,i{,;
Q6 a) Write a note on 3D projections. t0sl
t0sl
t0sl
t0sl
J
t