SlideShare une entreprise Scribd logo
1  sur  48
Visible Surface Detection CEng 477 Introduction to Computer Graphics Fall 2006
Visible Surface Detection ,[object Object],[object Object],[object Object],[object Object],[object Object]
Object Space Methods ,[object Object],[object Object],[object Object],[object Object],[object Object]
Image Space Methods ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Depth Cueing ,[object Object],[object Object]
Back-Face Detection ,[object Object],[object Object],[object Object],[object Object]
Back-Face Detection ,[object Object],[object Object]
Back-Face Detection ,[object Object]
Back-Face Detection ,[object Object],[object Object]
Depth-Buffer Method ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Depth-Buffer Method
Depth-Buffer Method ,[object Object],[object Object],[object Object],[object Object]
Depth-Buffer Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Calculating depth values efficiently ,[object Object],[object Object]
Calculating depth values efficiently ,[object Object],[object Object]
Calculating depth values efficiently ,[object Object]
Depth-Buffer Method ,[object Object],View from the Right-side
Z-Buffer and Transparency ,[object Object],[object Object],[object Object],Partially transparent Opaque Opaque 1st 2nd 3rd Front 1st or 2nd 1st or 2nd Must recall this  color and depth OK. No Problem Problematic Ordering 3rd: Need depth of 1st and 2nd
A-Buffer Method ,[object Object],[object Object],[object Object]
A-Buffer Method ,[object Object],[object Object],[object Object]
Ray Casting Algorithm ,[object Object],[object Object],Viewer View Plane A B C D E It is like a variation of the depth-buffer algorithm, in which we proceed pixel by pixel instead of proceeding surface by surface.
Object Space Methods
Depth Sorting ,[object Object],6 6 5 2 3 4 1 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5
Depth-sort algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Depth-sort algorithm ,[object Object],depth max depth min
Depth-sort algorithm ,[object Object],z x surface 1 surface 2
Depth-sort algorithm
Depth-sort algorithm ,[object Object],[object Object]
Depth-sort algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Depth-sort algorithm P Q if they do, test fails x - extents not overlap? z x
Depth-sort algorithm if they do, test fails y - extents not overlap? P Q z y
Depth-sort algorithm Is P entirely behind the surface Q relative to the viewing position (i.e., behind Q’s plane with respect to the viewport)? z x P Q Test is true…
Depth-sort algorithm Is Q entirely in front of P's plane relative to the viewing position (i.e., the viewport)?  z x P Q Test is true…
Depth-sort algorithm Do the projections of P and Q onto the (x,y) plane not overlap?  z x P Q y x P Q hole in P Test is true…
Depth-sort algorithm ,[object Object],[object Object],[object Object],[object Object]
Depth-sort algorithm ,[object Object],[object Object]
Binary Space Partitioning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Building BSP-Trees ,[object Object],[object Object],[object Object],[object Object]
BSP-Tree Example A C B 2 4 1 3 A B C 3 2 4 1 - - - + + +
Using a BSP-Tree ,[object Object],[object Object],[object Object],[object Object],Spliting plane
BSP Trees: Another example
BSP Trees: Another example
BSP Trees: Another example
BSP Trees: Another example
BSP Trees: Another example
Rendering BSP Trees ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BSP-Tree: Advantages ,[object Object]
[object Object],[object Object],[object Object],[object Object],BSP-Tree: Disadvantages Ouch

Contenu connexe

Tendances

Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
Mohd Arif
 
Visible surface determination
Visible  surface determinationVisible  surface determination
Visible surface determination
Patel Punit
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
anku2266
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
Mohd Arif
 

Tendances (20)

Raster scan systems with video controller and display processor
Raster scan systems with video controller and display processorRaster scan systems with video controller and display processor
Raster scan systems with video controller and display processor
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Hidden surface removal algorithm
Hidden surface removal algorithmHidden surface removal algorithm
Hidden surface removal algorithm
 
Scan line method
Scan line methodScan line method
Scan line method
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 
3 d display methods
3 d display methods3 d display methods
3 d display methods
 
COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"
 
Back face detection
Back face detectionBack face detection
Back face detection
 
Graphics a buffer
Graphics a bufferGraphics a buffer
Graphics a buffer
 
Visible surface determination
Visible  surface determinationVisible  surface determination
Visible surface determination
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 

Similaire à visible surface detection

rural marketing ppt
rural marketing pptrural marketing ppt
rural marketing ppt
elaya1984
 
Visual surface detection i
Visual surface detection   iVisual surface detection   i
Visual surface detection i
elaya1984
 
7-Surface Detection Methods.ppt
7-Surface Detection Methods.ppt7-Surface Detection Methods.ppt
7-Surface Detection Methods.ppt
MarkHark1
 
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
 

Similaire à visible surface detection (20)

Hidden Surface Removal using Z-buffer
Hidden Surface Removal using Z-bufferHidden Surface Removal using Z-buffer
Hidden Surface Removal using Z-buffer
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
 
Unit 3 visual realism
Unit 3 visual realismUnit 3 visual realism
Unit 3 visual realism
 
visual realism Unit iii
 visual realism Unit iii visual realism Unit iii
visual realism Unit iii
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
rural marketing ppt
rural marketing pptrural marketing ppt
rural marketing ppt
 
Visual surface detection i
Visual surface detection   iVisual surface detection   i
Visual surface detection i
 
UNIT-V
UNIT-VUNIT-V
UNIT-V
 
3 d display-methods-in-computer-graphics(For DIU)
3 d display-methods-in-computer-graphics(For DIU)3 d display-methods-in-computer-graphics(For DIU)
3 d display-methods-in-computer-graphics(For DIU)
 
CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9
 
Visible surface identification
Visible surface identificationVisible surface identification
Visible surface identification
 
7-Surface Detection Methods.ppt
7-Surface Detection Methods.ppt7-Surface Detection Methods.ppt
7-Surface Detection Methods.ppt
 
posterfinal
posterfinalposterfinal
posterfinal
 
Interactive Refractions And Caustics Using Image Space Techniques
Interactive Refractions And Caustics Using Image Space TechniquesInteractive Refractions And Caustics Using Image Space Techniques
Interactive Refractions And Caustics Using Image Space Techniques
 
Shadow Mapping with Today's OpenGL Hardware
Shadow Mapping with Today's OpenGL HardwareShadow Mapping with Today's OpenGL Hardware
Shadow Mapping with Today's OpenGL Hardware
 
Object class recognition by unsupervide scale invariant learning - kunal
Object class recognition by unsupervide scale invariant learning - kunalObject class recognition by unsupervide scale invariant learning - kunal
Object class recognition by unsupervide scale invariant learning - kunal
 
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
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Roots of equations
Roots of equations Roots of equations
Roots of equations
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 

Plus de Balakumaran Arunachalam (10)

Campus deck
Campus deckCampus deck
Campus deck
 
Greenhouse effect
Greenhouse effectGreenhouse effect
Greenhouse effect
 
Career path non technical
Career path non technicalCareer path non technical
Career path non technical
 
Java adv
Java advJava adv
Java adv
 
Css
CssCss
Css
 
Installing and configuring apache
Installing and configuring apacheInstalling and configuring apache
Installing and configuring apache
 
Tags in html
Tags in htmlTags in html
Tags in html
 
Sql installation
Sql installationSql installation
Sql installation
 
Sql commands
Sql commandsSql commands
Sql commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Dernier (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

visible surface detection