Given below are two statements
Statement I: The maximum number of sides that a triangle might have when clipped to a rectangular viewport is 6.
Statement II: In 3D graphics, the perspective transformation is nonlinear in z. In light of the above statements, choose the correct answer from the options given below
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Statement I is false but Statement II is true
Explanation
Clipping a triangle against a rectangle can cut it at every window corner, giving a polygon of up to 7 sides, so Statement I (6) is false. Perspective projection divides by z, which is non-linear in z, so Statement II is true.
More Programming Languages and Computer Graphics questions
- With 1-byte chars, 2-byte shorts, 4-byte ints and 8-byte doubles, each aligned to its size, no field reordering, and padding for alignment,…
- Consider the Java function: public static float f(long m, long n) { float result = (float)m / (float)n; if (m < 0 || n < 0) return 0.0f; el…
- In the context of 3D Computer graphics, which of the following statements is/are correct? (A) Under perspective projection, each set of par…
- Concerning phong shading and Gouraud shading in a 3D scene, which of the following statements are true? (A) Gouraud shading requires more c…
- Match List-I with List-II. List I gives matrices representing 2D transformations and List-II shows the corresponding transformation diagram…
- Given below are different properties of 3D projections from A-D. Identify the correct order on the basis of property true of (i) a perspect…