ๅฐŠๆ•ฌ็š„ ๅพฎไฟกๆฑ‡็Ž‡๏ผš1ๅ†† โ‰ˆ 0.046166 ๅ…ƒ ๆ”ฏไป˜ๅฎๆฑ‡็Ž‡๏ผš1ๅ†† โ‰ˆ 0.046257ๅ…ƒ [้€€ๅ‡บ็™ปๅฝ•]
SlideShare a Scribd company logo
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 1
COMPUTER GRAPHICSCOMPUTER GRAPHICS
Visible Surface DetectionVisible Surface Detection
(Z-Buffer/Depth Buffer)(Z-Buffer/Depth Buffer)
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 2
DEPTH-BUFFER METHODDEPTH-BUFFER METHOD
๏ƒ˜ Compares surface depth values throughout a scene
for each pixel position on the projection plane
๏ƒ˜ Usually applied to scenes only containing polygons
๏ƒ˜ Fast approach due to easy depth values computation
๏ƒ˜ Also often called the z-buffer method
(x2, y2) & z2
(x3, y3) & z3
(x1, y1) & z1
๏‚ง (x1, y1), (x2, y2) &
(x3, y3) are the pixel
positions of surfaces
S1, S2, and S3
respectively.
๏‚ง z1, z2 and z3 defines
the depth values
(distance) of surfaces
S1, S2, and S3
respectively from the
View Plane
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 3
DEPTH-BUFFER METHOD (Contโ€ฆ)DEPTH-BUFFER METHOD (Contโ€ฆ)
1. Initialise the depth buffer and frame buffer so that for
all buffer positions (x, y)
depthBuff(x, y) = 1.0
frameBuff(x, y) = bgColour
2. Process each polygon in a scene, one at a time
โ€“ For each projected (x, y) pixel position of a
polygon, calculate the depth z (if not already
known)
โ€“ If z < depthBuff(x, y), compute the surface colour
at that position and set
depthBuff(x, y) = z
frameBuff(x, y) = surfColour(x, y)
๏ƒ˜ After all surfaces are processed depthBuff and frameBuff
will store correct values
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 4
DEPTH CALCULATIONDEPTH CALCULATION
ExampleExample
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 5
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
6 6 6 6 6 6 6
6 6 6 6 6 6
6 6 6 6 6
6 6 6 6
6 6 6
6 6
6
6 6 6 6 6 6 6 1
6 6 6 6 6 6 1 1
6 6 6 6 6 1 1 1
6 6 6 6 1 1 1 1
6 6 6 1 1 1 1 1
6 6 1 1 1 1 1 1
6 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
6 6 6 6 6 6 6 1
6 6 6 6 6 6 1 1
6 6 6 6 6 1 1 1
6 6 6 6 1 1 1 1
6 6 6 1 1 1 1 1
6 6 1 1 1 1 1 1
6 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
Surface-1
Depth Buffer
Depth Buffer Frame Buffer
ExampleExample
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 6
6 6 6 6 6 6 6 1
6 6 6 6 6 6 1 1
6 6 6 6 6 1 1 1
6 6 6 6 1 1 1 1
6 6 6 7 1 1 1 1
6 6 7 7 7 1 1 1
6 7 7 7 7 7 1 1
1 1 1 1 1 1 1 1
6 6 6 6 6 6 6 1
6 6 6 6 6 6 1 1
6 6 6 6 6 1 1 1
6 6 6 6 1 1 1 1
6 6 6 1 1 1 1 1
6 6 1 1 1 1 1 1
6 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
7 1 1 1 1 1 1 1
7 1 1 1 1 1 1
7 1 1 1 1 1
7 1 1 1 1
7 1 1 1
7 1 1
1 1 1 1 1 1 1 1
7 7 7 7 7
7 7 7 7
7 7 7
7 7
7
6 6 6 6 6 6 6 1
6 6 6 6 6 6 1 1
6 6 6 6 6 1 1 1
6 6 6 6 1 1 1 1
6 6 6 1 1 1 1 1
6 6 1 1 1 1 1 1
6 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
Surface-2Depth Buffer
Depth Buffer Frame Buffer
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 7
Iterative Calculations (contโ€ฆ)Iterative Calculations (contโ€ฆ)
top scan line
bottom scan line
y scan line
y - 1 scan line
x xโ€™
A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 8
DISADVANTAGES OF DEPTH BUFFERDISADVANTAGES OF DEPTH BUFFER
This method only find out one visible surface
at each pixel position that means it deals
with only Opaque surface.
1
2
3
4
5
6
1 Red
2 Red
3 Green
4 Blue
5 Green
6 Red

More Related Content

What's hot

3 d viewing
3 d viewing3 d viewing
3 d viewing
Deepak Singh
ย 
Computer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal AlgorithmComputer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal Algorithm
Jyotiraman De
ย 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
SHIVANI SONI
ย 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
Mohd Arif
ย 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
Balakumaran Arunachalam
ย 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
Mohd Arif
ย 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projection
Pooja Dixit
ย 
3D Display
3D Display3D Display
3D Display
Toushik Paul
ย 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
KALESHWAR KUMAR
ย 
Unit 3
Unit 3Unit 3
Unit 3
ypnrao
ย 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
University of Potsdam
ย 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
ย 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
anku2266
ย 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
ย 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - Notes
Omprakash Chauhan
ย 
hidden surface elimination using z buffer algorithm
hidden surface elimination using z buffer algorithmhidden surface elimination using z buffer algorithm
hidden surface elimination using z buffer algorithm
rajivagarwal23dei
ย 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithm
Mani Kanth
ย 
Liang barsky Line Clipping Algorithm
Liang barsky Line Clipping AlgorithmLiang barsky Line Clipping Algorithm
Liang barsky Line Clipping Algorithm
Arvind Kumar
ย 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
ย 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
Safayet Hossain
ย 

What's hot (20)

3 d viewing
3 d viewing3 d viewing
3 d viewing
ย 
Computer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal AlgorithmComputer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal Algorithm
ย 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
ย 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
ย 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
ย 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
ย 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projection
ย 
3D Display
3D Display3D Display
3D Display
ย 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
ย 
Unit 3
Unit 3Unit 3
Unit 3
ย 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
ย 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
ย 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
ย 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
ย 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - Notes
ย 
hidden surface elimination using z buffer algorithm
hidden surface elimination using z buffer algorithmhidden surface elimination using z buffer algorithm
hidden surface elimination using z buffer algorithm
ย 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithm
ย 
Liang barsky Line Clipping Algorithm
Liang barsky Line Clipping AlgorithmLiang barsky Line Clipping Algorithm
Liang barsky Line Clipping Algorithm
ย 
3D Transformation
3D Transformation3D Transformation
3D Transformation
ย 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
ย 

Recently uploaded

nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
chaudharyreet2244
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
ย 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Catherine Dela Cruz
ย 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
ย 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
Celine George
ย 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
ย 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
Celine George
ย 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
Celine George
ย 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
ย 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
MattVassar1
ย 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
ย 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
ย 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
biruktesfaye27
ย 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
ย 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
ย 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
ย 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
ย 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
Sarojini38
ย 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
ย 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
Kalna College
ย 

Recently uploaded (20)

nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
ย 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
ย 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
ย 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
ย 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
ย 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
ย 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
ย 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ย 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
ย 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
ย 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
ย 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
ย 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
ย 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
ย 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
ย 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
ย 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
ย 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
ย 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
ย 

Z buffer

  • 1. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 1 COMPUTER GRAPHICSCOMPUTER GRAPHICS Visible Surface DetectionVisible Surface Detection (Z-Buffer/Depth Buffer)(Z-Buffer/Depth Buffer)
  • 2. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 2 DEPTH-BUFFER METHODDEPTH-BUFFER METHOD ๏ƒ˜ Compares surface depth values throughout a scene for each pixel position on the projection plane ๏ƒ˜ Usually applied to scenes only containing polygons ๏ƒ˜ Fast approach due to easy depth values computation ๏ƒ˜ Also often called the z-buffer method (x2, y2) & z2 (x3, y3) & z3 (x1, y1) & z1 ๏‚ง (x1, y1), (x2, y2) & (x3, y3) are the pixel positions of surfaces S1, S2, and S3 respectively. ๏‚ง z1, z2 and z3 defines the depth values (distance) of surfaces S1, S2, and S3 respectively from the View Plane
  • 3. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 3 DEPTH-BUFFER METHOD (Contโ€ฆ)DEPTH-BUFFER METHOD (Contโ€ฆ) 1. Initialise the depth buffer and frame buffer so that for all buffer positions (x, y) depthBuff(x, y) = 1.0 frameBuff(x, y) = bgColour 2. Process each polygon in a scene, one at a time โ€“ For each projected (x, y) pixel position of a polygon, calculate the depth z (if not already known) โ€“ If z < depthBuff(x, y), compute the surface colour at that position and set depthBuff(x, y) = z frameBuff(x, y) = surfColour(x, y) ๏ƒ˜ After all surfaces are processed depthBuff and frameBuff will store correct values
  • 4. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 4 DEPTH CALCULATIONDEPTH CALCULATION
  • 5. ExampleExample A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 1 6 6 6 6 6 6 1 1 6 6 6 6 6 1 1 1 6 6 6 6 1 1 1 1 6 6 6 1 1 1 1 1 6 6 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 6 6 6 6 6 6 1 6 6 6 6 6 6 1 1 6 6 6 6 6 1 1 1 6 6 6 6 1 1 1 1 6 6 6 1 1 1 1 1 6 6 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Surface-1 Depth Buffer Depth Buffer Frame Buffer
  • 6. ExampleExample A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 6 6 6 6 6 6 6 6 1 6 6 6 6 6 6 1 1 6 6 6 6 6 1 1 1 6 6 6 6 1 1 1 1 6 6 6 7 1 1 1 1 6 6 7 7 7 1 1 1 6 7 7 7 7 7 1 1 1 1 1 1 1 1 1 1 6 6 6 6 6 6 6 1 6 6 6 6 6 6 1 1 6 6 6 6 6 1 1 1 6 6 6 6 1 1 1 1 6 6 6 1 1 1 1 1 6 6 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 7 1 1 1 1 1 1 7 1 1 1 1 1 7 1 1 1 1 7 1 1 1 7 1 1 1 1 1 1 1 1 1 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 6 6 6 6 6 6 6 1 6 6 6 6 6 6 1 1 6 6 6 6 6 1 1 1 6 6 6 6 1 1 1 1 6 6 6 1 1 1 1 1 6 6 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Surface-2Depth Buffer Depth Buffer Frame Buffer
  • 7. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 7 Iterative Calculations (contโ€ฆ)Iterative Calculations (contโ€ฆ) top scan line bottom scan line y scan line y - 1 scan line x xโ€™
  • 8. A. K. Biswas, Dept. Of Computer Apllication, B.I.T., Durg 8 DISADVANTAGES OF DEPTH BUFFERDISADVANTAGES OF DEPTH BUFFER This method only find out one visible surface at each pixel position that means it deals with only Opaque surface. 1 2 3 4 5 6 1 Red 2 Red 3 Green 4 Blue 5 Green 6 Red
  ็ฟป่ฏ‘๏ผš