SlideShare a Scribd company logo
1 of 22
Hidden Line Removal
HLR - Introduction
• Hidden line removal (HLR) is an extension of
wireframe model rendering where lines (or segments
of lines) covered by surfaces are not drawn.
• Hidden line removal (HLR) is the method of
computing which edges are not hidden by the faces
of parts for a specified view and the display of parts
in the projection of a model into a 2D plane.
• It is considered that information openly exists to
define a 2D wireframe model as well as the 3D
topological information.
HLR - Introduction
HLR - Introduction
Visibility Techniques
Algorithms might be slow in calculation and storing
data. These techniques will rectify the problem.
• Minimax Test
• Containment Test
• Surface Test
• Computing Silhouettes
• Edge Intersection
• Segment Comparison
• Homogeneity Test
Minimax Test/ Bounding Box Test
• To check whether a point is in a given bounded
surface or volume and checks if two polygons
overlap.
Conditions
Containment Test
• Determines the given point is located in or out of the
polygon and to check the vertices of one polygon for
containment in the other.
• Types of Method
– Intersection Method
– Angle Method
Containment Test
Containment proceeds:
(a) If the sum of the angles is equal to zero, point P is outside the
polygon.
(b) If the sum is equal to 360°, point P is inside the polygon.
Surface Test/ Back Face/Depth Test
• The process used to determine which surfaces and
parts of surfaces are not visible from a certain
viewpoint.
Condition :
– Faces whose surface normal are
positive in Z direction for visible
surfaces
– Faces whose surface normal are
negative in Z direction for non visible
surfaces
Computing Silhouettes
• A set of edges that separates visible faces from invisible faces
of an object with respect to a given viewing direction is called
silhouette edges (or silhouettes).
• An edge that is part of the silhouette is characterized as the
intersection of one visible face and one invisible face.
Computing Silhouettes
Edge Intersection
• To determine the visibility of partially invisible edges.
• Calculate line intersections to determine edge
visibility.
y = y1 + m (xboundary - x1)
x = x1 + (yboundary - y1) / m
m = (y2 - y1) / (x2 - x1)
Segment Comparison (Scan Line)
• Utilizes the image’s raster scan.
• Segment comparison are performed in x & z plane.
• Visibility techniques are further performed for each
span by comparing depth and edge segments.
Homogeneity Test
• Utilizes neighbourhood points to test its visibility.
• A Point can be projected onto neighbourhood of
projection of points, then the neighbourhood of
point P is decided to be visible or invisible.
Hidden Line Algorithms
• Priority Algorithm
• Area Oriented Algorithm
• Overlay Algorithm
Priority algorithm
• This algorithm is also known as depth or Z
algorithm.
• Imagines that objects are modelled with lines
and lines are generated where surfaces join. If
only the visible surfaces are created then the
invisible lines are automatically removed by
this algorithm.
Priority algorithm
Face Priority
ABCD 1
ADFG 1
DCEF 1
ABHG 2
EFGH 2
BCEH 2
Priority algorithm
• ABCD, ADFG, DCEF are given higher priority-1.
Hence, all lines in this faces are visible, that is,
AB, BC, CD, DA, AD, DF, FG, AG, DC, CE, EF and
DF are visible.
• AGHB, EFGH, BCEH are given lower priority-2.
Hence, all lines in this faces other than
priority-1 are invisible, that is BH, EH and GH.
These lines must be eliminated.
• Identify Silhouette Polygons
• Quantitative Hiding (QH)
• Visibility of Silhouette segment
• Intersect the internal edges
• Display the edges
Area Oriented algorithm
• Applicable for curved surfaces by approximating
them as planar surfaces.
• u-v grid is used to make grid surface by making it as
straight edges.
Overlay algorithm
• STEPS:
– To Calculate uv grid using surface
equation.
– Grid Surface to Linear Edge
creation.
– Using proper visibility techniques
for required output.
Thank You

More Related Content

What's hot

visual realism Unit iii
 visual realism Unit iii visual realism Unit iii
visual realism Unit iiiArun Prakash
 
Cad ala brep, csg and sweep representation gtu
Cad   ala  brep, csg and sweep representation gtuCad   ala  brep, csg and sweep representation gtu
Cad ala brep, csg and sweep representation gtuShrey Patel
 
Surface models
Surface modelsSurface models
Surface modelsnmahi96
 
CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)Priscilla CPG
 
Solidmodelling
SolidmodellingSolidmodelling
Solidmodellingjntuhcej
 
Hermite cubic spline curve
Hermite cubic spline curveHermite cubic spline curve
Hermite cubic spline curveDeepak Antil
 
Computer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal AlgorithmComputer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal AlgorithmJyotiraman De
 
Unit 2 curves & surfaces
Unit 2  curves & surfacesUnit 2  curves & surfaces
Unit 2 curves & surfacesS.DHARANI KUMAR
 
Unit 4 assembly of parts
Unit 4 assembly of partsUnit 4 assembly of parts
Unit 4 assembly of partsJavith Saleem
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curveDhruv Shah
 
CAD data exchange
CAD data exchangeCAD data exchange
CAD data exchangeerikbohemia
 
Module 1 Additive Manufacturing
Module 1 Additive ManufacturingModule 1 Additive Manufacturing
Module 1 Additive Manufacturingtaruian
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformationDhruv Shah
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGTAMILMECHKIT
 
Surface modelling
Surface modellingSurface modelling
Surface modellingjntuhcej
 
Hermit curves & beizer curves
Hermit curves & beizer curvesHermit curves & beizer curves
Hermit curves & beizer curvesKKARUNKARTHIK
 
Solid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationSolid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationDestro Destro
 

What's hot (20)

visual realism Unit iii
 visual realism Unit iii visual realism Unit iii
visual realism Unit iii
 
Cad ala brep, csg and sweep representation gtu
Cad   ala  brep, csg and sweep representation gtuCad   ala  brep, csg and sweep representation gtu
Cad ala brep, csg and sweep representation gtu
 
Surface models
Surface modelsSurface models
Surface models
 
CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)
 
Surfaces
SurfacesSurfaces
Surfaces
 
Solidmodelling
SolidmodellingSolidmodelling
Solidmodelling
 
Hermite cubic spline curve
Hermite cubic spline curveHermite cubic spline curve
Hermite cubic spline curve
 
Computer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal AlgorithmComputer Graphics - Hidden Line Removal Algorithm
Computer Graphics - Hidden Line Removal Algorithm
 
Introduction to cad cam
Introduction to cad camIntroduction to cad cam
Introduction to cad cam
 
Unit 2 curves & surfaces
Unit 2  curves & surfacesUnit 2  curves & surfaces
Unit 2 curves & surfaces
 
Unit 4 assembly of parts
Unit 4 assembly of partsUnit 4 assembly of parts
Unit 4 assembly of parts
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curve
 
CAD data exchange
CAD data exchangeCAD data exchange
CAD data exchange
 
Cad standards
Cad standardsCad standards
Cad standards
 
Module 1 Additive Manufacturing
Module 1 Additive ManufacturingModule 1 Additive Manufacturing
Module 1 Additive Manufacturing
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformation
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLING
 
Surface modelling
Surface modellingSurface modelling
Surface modelling
 
Hermit curves & beizer curves
Hermit curves & beizer curvesHermit curves & beizer curves
Hermit curves & beizer curves
 
Solid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationSolid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representation
 

Similar to Hidden line removal algorithm

image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptxNaveenKumar5162
 
Module-5-1_230523_171754 (1).pdf
Module-5-1_230523_171754 (1).pdfModule-5-1_230523_171754 (1).pdf
Module-5-1_230523_171754 (1).pdfvikasmittal92
 
Group 6 Presentation - Copy.pptx
Group 6 Presentation - Copy.pptxGroup 6 Presentation - Copy.pptx
Group 6 Presentation - Copy.pptxKelvinDube4
 
Group 5 Presentation.pptx
Group 5 Presentation.pptxGroup 5 Presentation.pptx
Group 5 Presentation.pptxKelvinDube4
 
Group 5 Presentation.pptx
Group 5 Presentation.pptxGroup 5 Presentation.pptx
Group 5 Presentation.pptxKelvinDube4
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalAnkit Garg
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modelingmanojg1990
 
5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoriaRaghu Gadde
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modelingmanojg1990
 
5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdfKeerthanaP37
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphicsKALESHWAR KUMAR
 
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdfVIGNESHG144026
 
Algorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryAlgorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryCurvSurf
 

Similar to Hidden line removal algorithm (20)

Image segmentation
Image segmentationImage segmentation
Image segmentation
 
image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptx
 
Surface design and visible surfaces
Surface design and visible surfacesSurface design and visible surfaces
Surface design and visible surfaces
 
ch4.pptx
ch4.pptxch4.pptx
ch4.pptx
 
CAD/CAM/CAE - Notes
CAD/CAM/CAE - NotesCAD/CAM/CAE - Notes
CAD/CAM/CAE - Notes
 
Module-5-1_230523_171754 (1).pdf
Module-5-1_230523_171754 (1).pdfModule-5-1_230523_171754 (1).pdf
Module-5-1_230523_171754 (1).pdf
 
Group 6 Presentation - Copy.pptx
Group 6 Presentation - Copy.pptxGroup 6 Presentation - Copy.pptx
Group 6 Presentation - Copy.pptx
 
Group 5 Presentation.pptx
Group 5 Presentation.pptxGroup 5 Presentation.pptx
Group 5 Presentation.pptx
 
Group 5 Presentation.pptx
Group 5 Presentation.pptxGroup 5 Presentation.pptx
Group 5 Presentation.pptx
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modeling
 
5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria5 geometric-modeling-ppt-university-of-victoria
5 geometric-modeling-ppt-university-of-victoria
 
5 geometric modeling
5 geometric modeling5 geometric modeling
5 geometric modeling
 
187186134 5-geometric-modeling
187186134 5-geometric-modeling187186134 5-geometric-modeling
187186134 5-geometric-modeling
 
5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf5_Geometric_Modeling.pdf
5_Geometric_Modeling.pdf
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
 
cg mod2.pdf
cg mod2.pdfcg mod2.pdf
cg mod2.pdf
 
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf
111431635-geometric-modeling-glad1-150630140219-lva1-app6892 (1).pdf
 
Algorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryAlgorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model Recovery
 

Recently uploaded

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 

Recently uploaded (20)

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 

Hidden line removal algorithm

  • 2. HLR - Introduction • Hidden line removal (HLR) is an extension of wireframe model rendering where lines (or segments of lines) covered by surfaces are not drawn. • Hidden line removal (HLR) is the method of computing which edges are not hidden by the faces of parts for a specified view and the display of parts in the projection of a model into a 2D plane. • It is considered that information openly exists to define a 2D wireframe model as well as the 3D topological information.
  • 5. Visibility Techniques Algorithms might be slow in calculation and storing data. These techniques will rectify the problem. • Minimax Test • Containment Test • Surface Test • Computing Silhouettes • Edge Intersection • Segment Comparison • Homogeneity Test
  • 6. Minimax Test/ Bounding Box Test • To check whether a point is in a given bounded surface or volume and checks if two polygons overlap. Conditions
  • 7. Containment Test • Determines the given point is located in or out of the polygon and to check the vertices of one polygon for containment in the other. • Types of Method – Intersection Method – Angle Method
  • 8. Containment Test Containment proceeds: (a) If the sum of the angles is equal to zero, point P is outside the polygon. (b) If the sum is equal to 360°, point P is inside the polygon.
  • 9. Surface Test/ Back Face/Depth Test • The process used to determine which surfaces and parts of surfaces are not visible from a certain viewpoint. Condition : – Faces whose surface normal are positive in Z direction for visible surfaces – Faces whose surface normal are negative in Z direction for non visible surfaces
  • 10. Computing Silhouettes • A set of edges that separates visible faces from invisible faces of an object with respect to a given viewing direction is called silhouette edges (or silhouettes). • An edge that is part of the silhouette is characterized as the intersection of one visible face and one invisible face.
  • 12. Edge Intersection • To determine the visibility of partially invisible edges. • Calculate line intersections to determine edge visibility. y = y1 + m (xboundary - x1) x = x1 + (yboundary - y1) / m m = (y2 - y1) / (x2 - x1)
  • 13. Segment Comparison (Scan Line) • Utilizes the image’s raster scan. • Segment comparison are performed in x & z plane. • Visibility techniques are further performed for each span by comparing depth and edge segments.
  • 14. Homogeneity Test • Utilizes neighbourhood points to test its visibility. • A Point can be projected onto neighbourhood of projection of points, then the neighbourhood of point P is decided to be visible or invisible.
  • 15. Hidden Line Algorithms • Priority Algorithm • Area Oriented Algorithm • Overlay Algorithm
  • 16. Priority algorithm • This algorithm is also known as depth or Z algorithm. • Imagines that objects are modelled with lines and lines are generated where surfaces join. If only the visible surfaces are created then the invisible lines are automatically removed by this algorithm.
  • 17. Priority algorithm Face Priority ABCD 1 ADFG 1 DCEF 1 ABHG 2 EFGH 2 BCEH 2
  • 18. Priority algorithm • ABCD, ADFG, DCEF are given higher priority-1. Hence, all lines in this faces are visible, that is, AB, BC, CD, DA, AD, DF, FG, AG, DC, CE, EF and DF are visible. • AGHB, EFGH, BCEH are given lower priority-2. Hence, all lines in this faces other than priority-1 are invisible, that is BH, EH and GH. These lines must be eliminated.
  • 19. • Identify Silhouette Polygons • Quantitative Hiding (QH) • Visibility of Silhouette segment • Intersect the internal edges • Display the edges Area Oriented algorithm
  • 20.
  • 21. • Applicable for curved surfaces by approximating them as planar surfaces. • u-v grid is used to make grid surface by making it as straight edges. Overlay algorithm • STEPS: – To Calculate uv grid using surface equation. – Grid Surface to Linear Edge creation. – Using proper visibility techniques for required output.