Computer Graphics Assignment
1. Perform a 30° rotation of a triangle A ( 2, 2 ), B ( 3, 3 ), C ( 6, 5 ) about
a) the origin
b) a point P ( – 8, – 5 ).
2. Write the steps of the Z-buffer algorithm. Discuss its advantages and disadvantages.
3. Distinguish between window and viewport. Describe how window to viewport mapping
is done.
4. Why are homogeneous coordinates used for transformation computations in
Computer Graphics ?
5. A Bezier curve is to be drawn by the given control points as P1 ( 40, 40 ),
P2 ( 10, 40 ), P3 ( 60, 60 ) & P4 ( 60, 0 ). Calculate the coordinates of the points
on the curve corresponding to the parameter t = 0·2, 0·4, 0·6. Show the rough
sketch of the curve with the coordinates of various points on it.
6. Using mid-point circle drawing algorithm, draw a circle with radius of 8 units.
7. What do you mean by B-Spline curve ? Discuss the properties of B-Spline
curves.
8. Sutherland-Hodgeman Polygon Clipping Algorithm
9. Cubic B-Spline.
10. What are the differences between raster scan and vector
scan technique ?
11. Derive mid-point line drawing algorithm.
12. What is the relationship between RGB and CMYK colour
model ?
13. Derive the transformation matrix for rotation about any
axis.
14. Explain the reflection of a 2D figure on y = m x + c.
Derive its component matrix.
15. What do you mean by shearing ?
16. Using mid-point circle drawing algorithm draw a circle
with radius of `10 units.
17. Derive the algorithm of Flood-fill.
18. What do you mean by hidden surface removal ?
19. Anti-aliasing.
20. Derive Bresenham's line drawing algorithm. Discuss its
advantages over DDA.
21. Write in brief Cohen-Sutherland line clipping algorithm.
22. Write boundary-fill algorithm for region filling. Compare and
contrast the boundary-fill algorithm and flood fill algorithm.