Tribhuwan University

Institute of Science and Technology

2081

Bachelor Level / Second Year / Third Semester / Science

B.Sc in Computer Science and Information Technology (CSC214)

(Computer Graphics)

Full Marks: 60

Pass Marks: 24

Time: 3 Hours

Candidates are required to give their answers in their own words as for as practicable.

The figures in the margin indicate full marks.

Section A

Long Answers Questions

Attempt any TWO questions.
[2*10=20]
1.
Derive the expression for Bresenham's Line Drawing algorithm. Trace the points in the line path with starting point (6, 12) and end point (10, 5) using Bresenham’s line drawing algorithm.[10]
2.
What is the major drawback of Sutherland Hodgeman Polygon Clipping Algorithm? Illustrate with a suitable example. Explain B-spline curve and its properties.[10]
3.
Explain RGB color model. Differentiate between virtual reality and augmented reality with examples. Explain Binary Space Partitioning (BSP) trees with a suitable example.[10]
Section B

Short Answers Questions

Attempt any Eight questions.
[8*5=40]
4.
What do you mean by the refresh rate of a display device? Explain vector scan display with a suitable diagram. [5]
5.
Plot the first octant of a circle centered at (-2, -2), having a radius of 5 units using the mid-point circle algorithm. [5]
6.
Given a triangle with vertices A(2,3), B(5,5), C(4,3) by rotating 90 degrees about the origin and then translating two units in each direction. Use the homogeneous transformation matrix to find the new vertices of the triangle. [5]
7.
Construct the Bezier curve with the following polygon vertices (control points): A(1,1), B(2,3), C(4,3), and D(6,4). [5]
8.
Compare the Scanline Method for Visible Surface Detection with the Depth Buffer Method. [5]
9.
Explain any two functions in OpenGL. Write the basic commands to draw the pixel and polygon in OpenGL. [5]
10.
Differentiate between parallel projection and perspective projections. [5]
11.
Describe any two basic illumination models. [5]
12.
Write short notes on: a) Sweep Representation b) Intensity Attenuation [5]