edited by
5,288 views
5 votes
5 votes

How much memory is required to implement $z$-buffer algorithm for a $512 \times 512 \times 24$ bit-plane image?

  1. $768$ KB
  2. $1$ MB
  3. $1.5$ MB
  4. $2$ MB
edited by

3 Answers

4 votes
4 votes

In Z-buffer algorithm 2 buffers are used:

1. Frame Buffer

2. Depth Buffer

Depth buffer is used to store depth values for (x, y) position, as surfaces are processed (0 ≤ depth ≤ 1).

The frame buffer is used to store the intensity value of color value at each position (x, y).

total space required= depth buffer + frame buffer space

=>512 * 512 * 24 + 512 * 512 * 24 = 6291456 + 6291456 bits.

=> 12582912 bits

=> 1572864 Bytes

=>1.5 MB

2 votes
2 votes

The Z-buffer is a technology used in almost all contemporary computers, laptops and mobile phones for performing 3D graphics, for example for computer games. The Z-buffer is implemented as hardware in the silicon ICs (integrated circuits) within these computers. The Z-buffer is also used (implemented as software as opposed to hardware) for producing computer-generated special effects for films.

Furthermore, Z-buffer data obtained from rendering a surface from a light's point-of-view permits the creation of shadows by the shadow mapping technique.

1 votes
1 votes
512 X 512 X 24= 6291456 bits.

in KB= 6291456/ 1024 x 8 = 768 KB.

Related questions

3 votes
3 votes
4 answers
1
neha singh asked Jun 26, 2016
9,167 views
A frame buffer array is addressed in row major order for a monitor with pixel locations starting from $(0,0)$ and ending with $(100,100).$ What is address of the pixel $(...
3 votes
3 votes
1 answer
2
go_editor asked Jul 1, 2016
3,656 views
A computing architecture, which allows the user to use computers from multiple administrative domains to reach a common goal is called asGrid ComputingNeutral NetworksPar...
6 votes
6 votes
1 answer
3
go_editor asked Jul 1, 2016
4,443 views
A web client sends a request to a web server. The web server transmits a program to that client ans is executed at client. It creates a web document. What are such web do...
5 votes
5 votes
1 answer
4
go_editor asked Jul 1, 2016
3,304 views
For a software project, the spiral model was employed. When will the spiral stop?When the software product is retiredWhen the software product is released after Beta test...