Computer Graphics Question Bank
Computer Graphics Question Bank
Q. Given a circle C with a radius of 10 and centre coordinates (1, 4). Apply the
translation with a distance of 5 towards the x-axis and 1 towards the y-axis. Obtain
the new coordinates of C without changing its radius.
Q. Given a square with coordinate points A(0, 3), B(3, 3), C(3, 0), D(0, 0). Apply the
translation with a distance of 1 towards the x-axis and 1 towards the y-axis. Obtain the
new coordinates of the square.
Q. Given a line segment with starting point as (0, 0) and an ending point as (4, 4). Apply
30° rotation anticlockwise direction on the line segment and find out the new
coordinates of the line.
Q. Rotate a line AB whose endpoints are A(3, 4) and B(12, 15) about the origin through
a 45° anticlockwise direction.
Q. Rotate line AB whose endpoints are A(2, 5) and B (6, 12), about the origin
through a 30° clockwise direction.
Q. Given a triangle with corner coordinates (0, 0), (1, 0) and (1, 1). Rotate the triangle in
a 90° anticlockwise direction and find out the new coordinates.
Q. Given a square object with coordinate points A(0, 3), B(3, 3), C(3, 0), D(0, 0). Apply
the scaling parameter 2 towards X-axis and 3 towards Y-axis and obtain the new
coordinates of the object.
Q. Given a triangle with coordinate points A(3, 4), B(6, 4), C(5, 6). Apply the reflection
on the X-axis and obtain the new coordinates of the object.
Q.Given a triangle with coordinate points A(3, 4), B(6, 4), C(5, 6). Apply the reflection
on the Y-axis and obtain the new coordinates of the object.
Q. Given a triangle with points (1, 1), (0, 0) and (1, 0). Apply shear parameter 2 on
the X-axis and 2 on the Y-axis and find out the new coordinates of the object.
Q. Consider we have a square A(0, 0), B(4, 0), C(4, 4), D(0, 4) on which we first apply:
}
1) T1(scaling transformation) given scaling factor is Sx=Sy=0.5
2) T2 (rotation transformation in a clockwise direction) it by 90°
3) T3 (reflection transformation about the origin)
Q. A triangle is defined
by 2 4 4
2 2 4
(a) Find the coordinate after rotating 90 degrees anticlockwise.
(b) Find the coordinates after reflecting about the line y=-x
Q. Given a square with coordinates points A(0,4), B(3,4), C(3,0), D(0,0) . Apply the
translation with distance 1 towards x axis and 1 towards y axis. Obtain the new
coordinates of the square.
Q. Write the homogeneous matrix for Scaling, translation and Rotation with examples.
Q. Summarize Reflections along different axis with the help of suitable diagrams
and their homogeneous matrix.
Q. Write different steps involved in scaling about an arbitrary point with the help of
suitable diagram and matrix.
Q. Write different steps involved in Rotation about an arbitrary point with the help of
suitable diagram and matrix.