In 3D Graphics, which of the following statements is/are true? P : Back-face culling is an example of an image- precision visible-surface determination procedure. Q : Z-buffer is a 16-bit, 32-bit, or 64-bit field associated with each pixel in a frame buffer that can be used to determine the visible surfaces at each pixel.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. Q only
Explanation
Back-face culling tests polygon normals, an object-precision method, so P is false. A z-buffer stores a depth value per pixel (Q true).
More Programming Languages and Computer Graphics questions
- Consider the two C++ programs P1 and P2 shown below and two statements about them: S1: P1 prints out 3 S2: P2 prints out 4:2 What can you s…
- Consider the following recursive Java function f that takes two long arguments and returns a float value : public static float f(long m, lo…
- What does the following Java function perform? (Assume int occupies four bytes of storage) public static int f( int a) { // Pre-conditions…
- Which of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content?
- Consider the C/C++ function f() given below: void f(char w[]) { int x = strlen(w); // length of the string char c; for (int i = 0; i < x; i…
- The definitions in an XML document are said to be __________ when the tagging system and definitions in the DTD are all in compliance.