SlideShare a Scribd company logo
2
Most read
12
Most read
16
Most read
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
Hidden line removal 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

PPTX
Hidden surface removal algorithm
PPT
B-spline
PDF
ME6604 GAS DYNAMICS AND JET PROPULSION NOTES
PDF
Daylighting Buildings
PPT
Layout of FMS
PPTX
Ch-3: Measurement of screw thread and gear
PDF
Lecture 8 natural lighting
PDF
DBMS Unit - 3 - Relational query languages
Hidden surface removal algorithm
B-spline
ME6604 GAS DYNAMICS AND JET PROPULSION NOTES
Daylighting Buildings
Layout of FMS
Ch-3: Measurement of screw thread and gear
Lecture 8 natural lighting
DBMS Unit - 3 - Relational query languages

What's hot (20)

PDF
Unit 3 visual realism
PPT
graphic stadards
PPTX
Curves wire frame modelling
PDF
Hermite cubic spline curve
PPTX
Visual realism -HIDDEN REMOVAL METHODS
PDF
CAD data exchange
PPTX
Unit 3-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
PDF
Hermite bicubic-surface-patch
PDF
Curve and Surface
PPTX
cad design process VS conventional design process
PDF
CAD Topology and Geometry Basics
PPTX
SURFACE MODELLING .pptx
PDF
Unit 5-cad standards
PPTX
Solidmodelling
PPT
Geometric modeling111431635 geometric-modeling-glad (1)
PPT
Robot work cell layout
PPTX
Bezeir curve na B spline Curve
PPTX
UNIT III CAD STANDARDS
PPTX
CAD - Unit-1 (Fundamentals of Computer Graphics)
Unit 3 visual realism
graphic stadards
Curves wire frame modelling
Hermite cubic spline curve
Visual realism -HIDDEN REMOVAL METHODS
CAD data exchange
Unit 3-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
Hermite bicubic-surface-patch
Curve and Surface
cad design process VS conventional design process
CAD Topology and Geometry Basics
SURFACE MODELLING .pptx
Unit 5-cad standards
Solidmodelling
Geometric modeling111431635 geometric-modeling-glad (1)
Robot work cell layout
Bezeir curve na B spline Curve
UNIT III CAD STANDARDS
CAD - Unit-1 (Fundamentals of Computer Graphics)
Ad

Similar to Hidden line removal algorithm (20)

PPT
Image segmentation
PPT
digital imagesegmentation-191212120951.ppt
PPTX
PPTX
image segmentation image segmentation.pptx
PPTX
Surface design and visible surfaces
PPTX
ch4.pptx
PDF
CAD/CAM/CAE - Notes
PDF
Cad ala brep, csg and sweep representation gtu
PDF
UNIT-4.pdf image processing btech aktu notes
PPTX
visual realism Unit iii
PPTX
Computer Graphics - Windowing and Clipping
PDF
Module-5-1_230523_171754 (1).pdf
PPTX
Group 6 Presentation - Copy.pptx
PPTX
Group 5 Presentation.pptx
PPTX
Group 5 Presentation.pptx
PDF
Computer Aided Design visual realism notes
PPTX
Hidden surface removal
PPTX
Computer Vision UNit 3 Presentaion Slide
PPSX
Edge Detection and Segmentation
PPT
MODULE_4_part1_Intro_image-segmentation.ppt AAAAAAAAAAAAAAAAAAAAAAA
Image segmentation
digital imagesegmentation-191212120951.ppt
image segmentation image segmentation.pptx
Surface design and visible surfaces
ch4.pptx
CAD/CAM/CAE - Notes
Cad ala brep, csg and sweep representation gtu
UNIT-4.pdf image processing btech aktu notes
visual realism Unit iii
Computer Graphics - Windowing and Clipping
Module-5-1_230523_171754 (1).pdf
Group 6 Presentation - Copy.pptx
Group 5 Presentation.pptx
Group 5 Presentation.pptx
Computer Aided Design visual realism notes
Hidden surface removal
Computer Vision UNit 3 Presentaion Slide
Edge Detection and Segmentation
MODULE_4_part1_Intro_image-segmentation.ppt AAAAAAAAAAAAAAAAAAAAAAA
Ad

Recently uploaded (20)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Project quality management in manufacturing
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Digital Logic Computer Design lecture notes
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
composite construction of structures.pdf
PPTX
Sustainable Sites - Green Building Construction
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Welding lecture in detail for understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
OOP with Java - Java Introduction (Basics)
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mechanical Engineering MATERIALS Selection
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Lesson 3_Tessellation.pptx finite Mathematics
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Project quality management in manufacturing
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Digital Logic Computer Design lecture notes
Lecture Notes Electrical Wiring System Components
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
composite construction of structures.pdf
Sustainable Sites - Green Building Construction
Structs to JSON How Go Powers REST APIs.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Welding lecture in detail for understanding
Internet of Things (IOT) - A guide to understanding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
OOP with Java - Java Introduction (Basics)

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