Computer Graphics (CSC209)
Computer Graphics (CSC209)
Course Objectives: The objective of this course is to understand the theoretical foundation as
wellas the practical applications of 2D and 3D graphics.
Detail Syllabus
1
3.Two-Dimensional Geometric Transformations Class Lecture 5 Hours
3.1 Two-Dimensional translation, Rotation,Scaling, Reflection + Lab Session
and Shearing
3.2 Homogeneous Coordinate and 2D Composite
Transformations. Transformation between Co-ordinate
Systems
3.3 Two Dimensional Viewing: Viewing pipeline,Window to
viewport coordinate transformation
3.4 Clipping: Point,Lines(Cohen Sutherland line
clipping,Liang-BarskyLineClipping),Polygon
Clipping(Sutherland Hodgeman polygon clipping)
2
6.3 Binary Space Partition Trees (BSP)
6.4 Octree Representation
3
Text Books:
1. Donald Hearne and M.Pauline Baker, “Computer Graphics, C Versions.” Prentice Hall
Reference Books:
1. J.D. Foley, S.K. Feiner and J.F. Hughes, “Computer Graphics – Principles and Practises”
(Second Edition in C)
2. R.K. Maurya, “Computer Graphics with Virtual Reality”, Wiley India
3. F.S. Hill, Stephen M.Kelley, “Computer Graphics using Open GL” Prentice Hall
Laboratory Works:
Students should be able to write program on the most of the contents listed in syllabus, using any
known programming language (C, C++) in previous semester. Majorly, students should on
computer graphics primitives like line, circle and ellipse drawing algorithm to hidden surface
removal techniques. After completing the basic lab session the students must be able to design
some project works like game, 3D rotation, screen saver etc. Some sample lab sessions can be as
following:-
4
Unit 5 : 3D Objects Representation ( 4 Hours)
Implementation of polygon tables.
Write a program to draw Bezier curve, sphere
5
Model Question
Tribhuvan University
Institute of Science and Technology
Course Title: Computer Graphics Full Marks: 60
Course No: CSC 209 Pass Marks: 24
Level: B. Sc CSIT Second Year/ Third Semester Time: 3 Hrs
Section A
Long Answer Questions
Attempt any TWO questions [ 2 × 10 = 20]
1. Explain the working details of DDA algorithm? Explain. Digitize a line with end points
A(6,12) and B(10,5) using Bresenham’s line drawing algorithm. [5 + 5]
2. How can polygons be clipped? Why is Phong shading also called Normal Vector
Interpolation scheme? Explain. [5 + 5]
3. Given a window bordered by (1,2) at the lower left and (16,12) at the upper right, give the
screen coordinates of a triangle with vertices (3,2), (10,7.5) and (5,5) when mapped into a
viewport with corners (100,100) and (400,200). Provide accurate illustrations of the window,
viewport, and the untransformed and transformed triangles with your answer. [10]
Section B
Short Answer Questions
Attempt any EIGHT questions [8 × 5 = 40]
4. How to animate a two dimensional figure using transformations? Explain with example.
[5]
5. Remember in screen coordinates y increases as you go down. [5]
6. What are the key issues prevalent in producing a Virtual reality scene? Describe the
Binary Space Partition tree. [2 + 3]
7. How can a polygon surface be filled using the Flood fill approach? Explain. [5]
8. What is the significance of vanishing points in Perspective Projection? Explain. [5]
9. Explain ambient light, diffuse reflection and specular reflection with examples. [5]
10. Compute the midpoint of the Bezier Curve with control points p0 = (0,0,1), p1 = (1,0,1)
and p2 = (1,2,0). [5]
11. How does a polygon can be created in OpenGL? Illustrate with an example. [5]
12. How does a video controller and a frame buffer jointly collaborate to produce graphical
display on the screen, in case of a Raster Display? [5]
13. Write short notes on (Any TWO) [2.5 + 2.5]
a. Polygon Tables
b. Augmented Reality
c. Painter’s algorithm