0% found this document useful (0 votes)
18 views2 pages

CG Test II

This document is an exam paper for the Computer Graphics subject at Tribhuvan University, Institute of Engineering. It includes a series of questions covering topics such as 2D and 3D transformations, clipping algorithms, rotation matrices, and homogeneous coordinates. The exam is intended for BE level students with full marks of 20 and a pass mark of 8, to be completed in 40 minutes.

Uploaded by

arbindahal07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

CG Test II

This document is an exam paper for the Computer Graphics subject at Tribhuvan University, Institute of Engineering. It includes a series of questions covering topics such as 2D and 3D transformations, clipping algorithms, rotation matrices, and homogeneous coordinates. The exam is intended for BE level students with full marks of 20 and a pass mark of 8, to be completed in 40 minutes.

Uploaded by

arbindahal07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Tribhuvan University Exam Test II

Level BE Full Marks 20


Institute of Engineering
Programme BCT Pass Marks 08
Kathmandu Engineering
Year/Part II/I Time 40 min.
College
2081 Magh 7
Subject: Computer Graphics
1. Define window and view port. Describe about two – dimensional viewing pipeline with
matrix representation at each steps.
2. Write the advantages of Bresenham’s line drawing algorithm. Digitize the Ellipse with
radius Rx = 12 and Ry = 7 and center (19, 10)
3. How decision parameters can be used to draw circle? Calculate the points to draw a circle
having radius 5 and center as (10,5).
4. What are the conditions for a point clipping? Find the clipped region of the line with
endpoints (5, 130) and (50, 5) in a rectangular window with (10, 10) and (100, 100)
diagonal vertices using Cohen-Sutherland line clipping algorithm.
5. Use Liang-Barsky clipping method to clip a line starting from A(10, 10) and ending at
B(60, 30) against the window having its lower corner at (15, 15) and upper right corner at
(25, 25)
6. Clip the line P1P2 with P1(-5,3) and P2(15,9) with clip window having diagonal
coordinates (0,0) and (10, 10) using Liang Barskey line clipping method.
7. A triangle A(15,20), B(20,30) and C(30,20) lies inside a window (10,10), (40,50). Find
the final image of this triangle after transforming into the viewport (0,0), (20,20). Show
all transformation steps.
8. Write rotation matrix in clockwise direction with respect to x-axis, y-axis and z-axis.
Rotate the object (0, 0, 0), (2, 3, 0), (5, 0, 4) about the rotation axis y=4.
9. The reflection along the line y=x is equivalent to the reflection along the X-axis followed
by counter clock wise rotation by α (alpha) degree. Find the angle α.
10. An object ABCD is defined by

[ ]
10 5 15 20
10 5 5 7
0 5 4−5

Rotate the object about z axis with 90 CCW direction. Find the new coordinates of the object.

11. Write the matrix for rotation of a point about an arbitrary pivot position. Transform the
isosceles triangle A(0, 0) B(1,1) and C(2, 0) to right angle triangle.
12. Find the composite transformation matrix, CM, for a clockwise rotation of 90° around the
y axis fixing the point (1, 0, 1) followed by a scale of (2, 1, 1) fixing the point (0, 1, 1).
Apply the matrix to the Cartesian point (1, 2, -1). Find the transformed coordinate.
13. Find the composite transformation matrix, CM, for a clockwise rotation of 90° around the
y axis fixing the point (1, 0, 1) followed by a scale of (2, 1, 1) fixing the point (0, 1, 1).
Apply the matrix to the Cartesian point (1, 2, -1). Find the transformed coordinate.
14.List down the steps for rotating a 3D object by 90 0 in counter clockwise
direction about an axis joining end points (1, 2, 3) and (10, 20, 30). Also
derive the final transformation matrix.
15. Write matrix for 2D reflection about axes. Derive the transformation matrix responsible
for the reflection of 2D object about line y+x=0.
16. Reflect the triangle ABC about the line 3X – 4Y + 8= 0 the position Vector of
coordinate ABC as A(4,1), B(5,2) and C(4, 3).
17. Explain the steps required to rotate an objects in 3D about a line which is not parallel to
any one coordinate axis
18. Perform rotation of a line (10, 10, 10), (20, 20, 15) about Y-axis in clock wise direction
by 90 degree. Explain about vector display.

19. What do you mean by homogeneous coordinates? Rotate a triangle A(5, 6), B(6, 2) and
C(4, 1) by 45 degree about an arbitrary pivot point (3,3).
20. Derive a decision parameter for midpoint circle algorithm assuming the start position as
(+r, 0) and points to be generated along the curve path in clockwise direction.

You might also like