NEW
Font size
WorksheetsCG-Assignment1
Total questions: 10
Worksheet time: 13mins
What are the final coordinates after a translation of point P (10, 10, 10) into 3D space with translation factor T (10, 20, 5)?
(20, 30, 15)
(20, 20, 25)
(15, 30, 25)
(15, 20, 25)
Arrange steps of general 3D rotations in the correct order :
1. Apply inverse rotations to bring the rotation axis back to its original orientation.
2.Apply the inverse translation to bring the rotation axis back to its original position.
3. Rotate the object so that the axis of rotation coincides with one of the coordinate axes.
4. Perform the specified rotation about that coordinate axis.
5. Translate the object so that the rotation axis passes through the coordinate origin.
3, 5, 4, 2, 1
3, 2, 4, 5, 1
5, 3, 4, 1, 2
1, 2, 3, 4, 5
Consider a window that is bounded by these lines : y = 0; x = 0; y = 3 and x = 5. If clipped against this window, the line segment joining the (-1, 0) and (4, 5) will connect the points will be:
(0, 1) and (3, 2)
(0, 1) and (4, 3)
(0, 1) and (3, 3)
(0, 1) and (2, 3)
A Bezier cubic curve with control points Po, Pi' P2, P3 is defined by the equation. B32 is
(1-u)3
u3
3u(1-u)2
3u2(1-u)
Which is a correct equation for 3D rotation about X-axis?
Xnew = Xold
Ynew = Yold x cosθ – Zold x sinθ
Znew = Yold x sinθ + Zold x cosθ
Xnew = Zold x sinθ + Xold x cosθ
Ynew = Yold
Znew = Yold x cosθ – Xold x sinθb
Xnew = Zold x sinθ -Xold x cosθ
Ynew = Yold
Znew = Yold x cosθ + Xold x sinθ
Xnew = Xold
Ynew = Yold x cosθ + Zold x sinθ
Znew = Yold x sinθ - Zold x cosθ
Even-odd method of inside test counts ----- to decide the position of a point.
edges
vertices
intersections
pixels
If the pixel is already filled with desired color then does nothing, otherwise fills it. This is called
flood fill algorithm
boundary fill algorithm
scan line polygon filling algorithm
none of these
The 4-connected Polygon filling technique has disadvantage(s) as
requires more memory
may fill polygon partially
stack overflow
all of above
Scaling factor Sx in Viewing transformation is given by ____
(xvmax-xvmin)/(xwmax-xwmin)
(xwmax-xwmin)/(xvmax-xvmin)
(xvmin-xvmax)/(xwmax-xwmin)
(xvmin-xvmax)/(xwmin-xwmax)
In 4 connected region if one pixel is (2,3) then remaining neighboring pixels are
(3, 3 ) (1,3) (2,4) (2,2) (1,2) (1, 4) (3,2) (3, 4)
(3, 3 ) (1,1) (2,4) (2,2) (2,2) (1, 4) (3,2) (3, 4)
(3, 3 ) (1,2) (2,3) (2,2)
(3, 3 ) (1,3) (2,4) (2,2)
