Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
92 views
in Computer by (106k points)
closed by
How much memory is required to implement z-buffer algorithm for a 512 × 512 × 24 bit-plane image
1. 768 KB
2. 1 MB
3. 1.5 MB
4. 2 MB

1 Answer

0 votes
by (106k points)
selected by
 
Best answer
Correct Answer - Option 3 : 1.5 MB

Answer Option 3

Explanation

Z-buffer

  • Z-buffer is generally used for hidden surface detection. It is also known as the Depth-buffer method.
  • The time complexity is the number of pixels times the number of objects and the space complexity is two times the number of pixels because two arrays of pixels are required, one for the frame buffer and the other for the depth buffer.
  • These two buffers are used to store depth values and intensity of color respectively.


CALCULATION:

Memory required = 2 × 512 × 512 × 24 = 2 × 29 × 29 × 8 × 3 bits

= 2 × 2 × 3 × 220 bits = 12 M bits = 1.5 MB

Since 1 M = 220  and 1 byte = 8 bits

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...