C14T
C14T
VIDYASAGAR UNIVERSITY
Question Paper
Full Marks : 40
Time : 2 Hours
COMPUTER GRAPHICS
2. Using the midpoint ellipse drawing algorithm, draw an ellipse with a radius of 8 units and
centered at (10, 10). 3+2
3. Using the Bresenham circle drawing algorithm, draw a circle with a radius of units. 3+2
4. Show how reflections in the line y = x and in the line y = –x can be performed by a
scaling operation forllowed by a rotation. 5
5. Explain the midpoint line drawing algorithm with a proper example. 3+2
( 2 )
6. Suppose a window has its lowest left corner at (–3, –2) and its upper-right corner at
(4, 2). Find the visible portion of a line joining points (–4, 2) and (3, 5) using the Cohen
Sutherland line clipping algorithm. 5
7. Derive Mid-Point circle drawing algorithm. Using the Mid-point circle drawing algorithm
draw a circle with a radius of 10 units. 7+3
8. Explain the reflection of a 2D figure on y=mx + c. Derive its component matrix. 5+5
10. Derive the transformation matrix for rotation about any axis. What is homogeneous co-
ordinate ? Why is a homogeneous co-ordinate system needed in transformation matrix ?
5+2+3
—————