in Computer Graphics edited by
4,834 views
4 votes
4 votes

Which of the following is true about $z$-buffer algorithm?

  1. It is a depth sort algorithm
  2. No limitation on total number of objects
  3. Comparisons of objects is done
  4. $z$-buffer is initialized to background colour at start of algorithm
in Computer Graphics edited by
4.8k views

7 Answers

10 votes
10 votes

A is definitely  not true  Z-buffer is not depth sort it is depth buffer . Painters algorithm is called depth sort or priority algorithm

B is true in Z-buffer algo total number of objects can be arbitrary large . it is only limited by computer memory

C is not true objects are not compared only depth value is comapred

D is not true z-buffer is initialize to zero the depth of back clipping plane 

screen(frame buffer is initialized to background color)

hence ans is B refe

https://books.google.co.in/books?id=-4ngT05gmAQC&pg=PA671&lpg=PA671&dq=comparisons+of+objects+is+done+in+z-buffer+algorithm&source=bl&ots=QXMndZkxra&sig=HcfsOws81klvkm2oBVbv7hMXzrg&hl=en&sa=X&ved=0ahUKEwiDk7Kdh4bRAhUGSY8KHf-gAjUQ6AEIRTAH#v=onepage&q=comparisons%20of%20objects%20is%20done%20in%20z-buffer%20algorithm&f=false

1 comment

z buffer is initilized to infinity i guess? then the depths of each pixel of the polygon are compared with the values.
1
1
4 votes
4 votes

Answer : It is a depth Sort algorithm .I don't know much about it .So i can't tell you the details .You can refer it if you want to learn more about it.

Reference :: http://www.tutorialspoint.com/computer_graphics/visible_surface_detection.htm

4 votes
4 votes

Answer is D).

z buffer is a depth buffer algorithm in which it is initialized to background colour at the start .

It is used for hidden surface elimination.

by
1 vote
1 vote
It should be A , not D. Primary purpose is to determine visual surface first and then remove background hidden surface.

http://whatis.techtarget.com/definition/z-buffering
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true