Final answer:
Both statements are true. The maximum sides a clipped triangle can have is 6, and perspective transformations in 3D graphics are indeed nonlinear.
Step-by-step explanation:
The question asks about two statements related to computer graphics and 3D transformations. Specifically, it requires an understanding of how triangles are manipulated when clipped to a rectangle and how perspective transformations work.
Statement I posits that the maximum number of sides a triangle can have when clipped to a rectangular viewport is 6. This statement is true. A triangle can have a maximum of 6 sides after clipping against a rectangular viewport because each of the original sides can potentially intersect with each of the 4 sides of the viewport, creating additional vertices and consequently additional sides.Statement II asserts that in 3D graphics, the perspective transformation is nonlinear. This statement is also true. Perspective transformations involve dividing by the z-coordinate, which is not linear operation because it affects the scaling of x and y coordinates in a non-uniform way, depending on the depth of the object.