in Computer Graphics edited by
5,321 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
in Computer Graphics edited by
5.3k views

1 comment

plz provide correct solution...
0
0

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

1 comment

space required=  depth buffer + frame buffer space

                         = 512 x 512 x 24bit + 512 x 512 x 24bit

                         =  29 x 29 x 3 Bytes  + 29 x 29 x 3 Bytes 

                         =  3/4 x 220 Bytes   +  3/4 x 220 Bytes 

                         =0.75 MB + 0.75 MB  = 1.5 MB

                               

0
0
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.

2 Comments

but ITS ANSWER IS 1.5 MB
3
3
Haha
0
0
1 vote
1 vote
512 X 512 X 24= 6291456 bits.

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

3 Comments

But the right answer is 1.5 MB.
0
0
Please provide correct answer with relevant expalnation
0
0

Please provide correct answer with relevant expalnation

0
0

Related questions

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