BIT304 · TU past paper
Computer Graphics 2080 question paper
The complete TU 2080 exam paper for Computer Graphics (BIT304), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksSutherland-Hodgman polygon clipping algoriHideAnswer
How Can Polygons Be Clipped? Describe Gouraud Shading Model with Necessary Derivations [10]
- Q2.10 marksNumericalBresenham's line drawing algorithmHideAnswer
Write the algorithm for Bresenham's line drawing? Digitize a line with end points A(6, 9) and B(10,5) using Bresenham's line drawing algorithm.[10]
- Q3.10 marksNumericalParallel projectionHideAnswer
Differentiate between parallel and perspective projection. Perform the rotation of triangle with vertices A(5,7), B(12,85) and C(5,3) counterclockwise 30 degree about the pivot point (5,3).[10]
Model Answer: Parallel vs Perspective Projection and Triangle Rotation
Part 1: Parallel vs Perspective Projection
Aspect Parallel Projection Perspective Projection Projectors Projection lines (projectors) are parallel to each other Projectors converge to a single point (center of projection) Center of projection At infinity At a finite distance Vanishing point None; parallel lines remain parallel One or more vanishing points; parallel lines converge Depth realism Does not depict realistic depth; size independent of distance Realistic depth; distant objects appear smaller (foreshortening) Scale/proportion True dimensions and proportions preserved Scale varies with distance from viewpoint Mathematics Simpler (orthographic/oblique matrices, no division) More complex; requires division by the depth coordinate Applications Engineering/technical drawings, CAD, blueprints Realistic rendering, architecture, games, photography
Part 2: Rotation of Triangle 30° CCW about Pivot (5,3)
Given data:
- Vertices: $A(5,7)$, $B(12,85)$, $C(5,3)$
- Angle: $\theta = 30^\circ$ counterclockwise
- Pivot: $P(p_x,p_y) = (5,3)$
Rotation about a pivot: $$x' = p_x + (x-p_x)\cos\theta - (y-p_y)\sin\theta$$ $$y' = p_y + (x-p_x)\sin\theta + (y-p_y)\cos\theta$$
Trig values: $\cos 30^\circ = 0.8660$, $\sin 30^\circ = 0.5$
Vertex A(5,7): $\Delta x = 0,\ \Delta y = 4$ $$x'_A = 5 + (0)(0.866) - (4)(0.5) = 5 - 2 = 3$$ $$y'_A = 3 + (0)(0.5) + (4)(0.866) = 3 + 3.464 = 6.464$$ $$A' = (3,\ 6.464)$$
Vertex B(12,85): $\Delta x = 7,\ \Delta y = 82$ $$x'_B = 5 + (7)(0.866) - (82)(0.5) = 5 + 6.062 - 41 = -29.938$$ $$y'_B = 3 + (7)(0.5) + (82)(0.866) = 3 + 3.5 + 71.012 = 77.512$$ $$B' = (-29.938,\ 77.512)$$
Vertex C(5,3): $\Delta x = 0,\ \Delta y = 0$ (this is the pivot) $$x'_C = 5 + 0 - 0 = 5,\quad y'_C = 3 + 0 + 0 = 3$$ $$C' = (5,\ 3)$$
Final Result:
- $A' \approx (3.00,\ 6.46)$
- $B' \approx (-29.94,\ 77.51)$
- $C' = (5,\ 3)$
(Note: vertex B(12,85) appears unusually large for a triangle, but the computation follows the given data exactly.)
- Q4.5 marksMotion capture and keyframe animationHideAnswer
Explain motion capture with an example. [5]
- Q5.5 marksBezier curves and propertiesHideAnswer
Explain about parametric curve. Describe the properties of Bezier curve. [5]
- Q6.5 marksWireframe representation of 3D objectsHideAnswer
Explain the wireframe representation of 3D objects. [5]
- Q7.5 marksPolygon creation in OpenGLHideAnswer
How does a polygon can be created in OpenGL? Illustrate with an example. [5]
- Q8.5 marksZ-buffer method and limitationsHideAnswer
Write short notes a. Z-Buffer b. Polygon Table [5]
- Q9.5 marksRandom scan display systemsHideAnswer
Explain architecture of random scan display systems with suitable diagram. [5]
- Q10.5 marksCohen-Sutherland line clipping algorithmHideAnswer
Explain Cohen-Sutherland Line Clipping algorithm with example. [5]
- Q11.5 marksNumericalShearing transformationHideAnswer
Reflect a line segment having end points (9,3) and (12,10) about a line X = 7. Draw initial and final result graph as well. [5]
- Q12.5 marksAmbient light and ambient reflectionHideAnswer
Explain ambient light, diffuse reflection and specular reflection with examples. [5]