Professional Documents
Culture Documents
Note:
1. Please read and follow all the instructions given on the cover page of the answer script.
2. Start each answer from a fresh page. All parts of a question should be answered consecutively.
Section – A ( 6 x 5 = 30 marks)
1. Computer graphics has enhanced the quality of work in many areas. Support this statement
through a brief discussion on areas of application of computer graphics. Specify at least one
specific application in each area of application.
2. Consider a line with end points A (5, 8) and B(9, 11) whose slope m is 0<-m<1. Plot/Scan
convert the intermediate pixel positions of line AB, using Midpoint Line drawing technique
by showing all the deviations for the decision parameters, to scan convert a line.
3. As a part of graphic design application, you have to find the coordinate values of the triangle
A(10, 5), B(25, 10), C(10, 20) after rotating it by 90 degrees. The specific task is to find the
coordinate values of this triangle after rotation, keeping A(10, 5) fixed.
4. As a part of a machine design work, your team lead has assigned you the task of drawing a
white rectangle on a black background. Write an OpenGL program to develop this
application.
6. Briefly describe following OpenGL functions and under what circumstance you will use
them in developing an application.
a. glutInit() b. GL_LINE_STRIP()
c. gluInitDisplayMode() d. glOrtho()
e. glFlush()
************************************