Computer Graphics Question For Final Exam
Computer Graphics Question For Final Exam
1. a. Consider a 3D shape. The coordinates of the shape are A (-2, -1,-3), B(1,-1,-3), 5
C(1,3,2). After applying rotation of θ degree towards the X axis, the new coordinate
points are A’(-2,3,-1), B’(1,3-1), C’(1,-2,3). Now find out the rotation angle θ. Show
all calculations.
b. Consider the point A’(-2,3,-1), B’(1,3-1), C’(1,-2,3) and apply shear parameter i on X 5
axis, j on Y axis and k on Z axis and find out the new coordinates of the object where
i= last digit of your id, j= 2nd last digit of your id k = 3rd last digit of your id.
After finding out Xmin, Ymin, Xmax, Ymax values, you have to draw
Now, find the line categories of the lines and clip the lines using Cohen-Sutherland
line clipping algorithms and find out clipped points.
3. a. What kind of projection is shown in figure 1 and figure 2? Describe each of its kinds 6
with examples.
i)
Figure 1
ii)
Figure 2
b. Assume for a rag day party you have designed a common t-shirt for everyone using 4
RGB color format. But when the t-shirts were being printed you did not get the
expected color. Explain the reason behind that.
4. In figure 3, ABCD is the clipping window where the blue polygon is the clipping
object. Now,
i) Which algorithm should you use to clip this polygon? Compare this 3
algorithm with other polygon clipping algorithm.
ii) Clip the given polygon in figure 3 using the best fit algorithm according to 7
your opinion.
Instructions:
** Perform an anticlockwise direction whose ID is ODD and clockwise
direction whose ID is EVEN.
** Here, Vertices of BLUE polygon will be your name of Capital Letter. Do
not use the same character, take only the first character.
Figure 3