...
API
December 26, 2024
API
December 26, 2024

Z-buffer-Algorithm

Question 1
Which of the following is true about the z-buffer algorithm?
A
It is a depth sort algorithm
B
No limitation on total number of objects
C
Comparisons of objects is done
D
z-buffer is initialized to background colour at start of algorithm
Question 1 Explanation: 
The Z-buffer algorithm is a convenient algorithm for rendering images properly according to depth.
To begin with, a buffer containing the closest depth at each pixel location is created parallel to the image buffer. Each location in this depth buffer is initialized to negative infinity.
Since the algorithm processes objects one at a time, the total number of polygons in a picture can be arbitrarily large.
Correct Answer: B
Question 1 Explanation: 
The Z-buffer algorithm is a convenient algorithm for rendering images properly according to depth.
To begin with, a buffer containing the closest depth at each pixel location is created parallel to the image buffer. Each location in this depth buffer is initialized to negative infinity.
Since the algorithm processes objects one at a time, the total number of polygons in a picture can be arbitrarily large.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!