csc418 computer graphics l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
CSC418 Computer Graphics PowerPoint Presentation
Download Presentation
CSC418 Computer Graphics

Loading in 2 Seconds...

play fullscreen
1 / 7

CSC418 Computer Graphics - PowerPoint PPT Presentation


  • 342 Views
  • Uploaded on

CSC418 Computer Graphics Polygon Clipping Polygon Clipping Clipping is a procedure for spatially partitioning geometric primitives, according to their containment within some region. Why do we clip? Distingish whether geometric primitivies are inside or outside of a viewing region

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'CSC418 Computer Graphics' - johana


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
csc418 computer graphics
CSC418 Computer Graphics
  • Polygon Clipping
slide2

Polygon Clipping

  • Clipping is a procedure for spatially partitioning geometric primitives, according to their containment within some region.
  • Why do we clip?
    • Distingish whether geometric primitivies are inside or outside of a viewing region
    • Distinguish whether geometric primitivies are inside or outside of a picking region
    • Detecting intersections between primitives
    • Binning geometric primitives into spatial data structures.
    • Shadows.
slide3

Sutherland-Hodgman clipping

  • Given: Polygon (list of vertices), clipping window (convex)

for each clip edge

for each vtx and next in polygon

{

clip against edge

}

slide6

Sutherland-Hodgman clipping

  • Culling before clipping
slide7

CSC418 Computer Graphics

Next Lecture….

  • Introduction to geometric transformations