You are on page 1of 1

COMPUTER GRAPHICS

Answer any 5 questions


Each question carries equal marks

Q.1 (a) Write the algorithm for Breshenham’s line drawing primitive. ( 1.5 * 2 = 3 marks)
(b) Differentiate between Raster and Random scan.

Q.2 For the given matrix ( 3 marks)


2 0 1 0
1 3 0 0
4 0 1 0
0 3 6 1
First apply a rotation of 45 degree about the y-axis followed by a rotation of 45 degree
about x-axis.

Q.3 Suppose R be the window which has its lower left corner at ( -3,1 ) and upper right
corner at ( 2, 6) for each of the following line segments , state whether it is visible , invisible
or partially visible.
( 1) ( -4 ,2 ) to ( -1 , 7) (2) ( -1 , 5 ) to ( 3 , 8)
(3) ( -2 ,3 ) to ( 1 , 2 ) (4) ( 1 , -2 ) to ( 3 , 3) ( 3 marks)

Q.4 (a) State the transformation matrix for all 2-D objects . ( 1.5 * 2 = 3 marks)
(b) Differentiate between view coordinates and window coordinates.

Q. 5 Write short notes on ( 1.5 * 2 = 3 marks)


(a) GKS
(b) Mid point Circle Algorithm

You might also like