CSC418 Computer Graphics - PowerPoint PPT Presentation

About This Presentation
Title:

CSC418 Computer Graphics

Description:

Polygon Clipping. Polygon Clipping. Clipping is a procedure for spatially partitioning geometric primitives, ... Why do we clip? ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 8
Provided by: Karan4
Category:

less

Transcript and Presenter's Notes

Title: CSC418 Computer Graphics


1
CSC418 Computer Graphics
  • Polygon Clipping

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

3
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

4
Sutherland-Hodgman clipping

5
Sutherland-Hodgman clipping

6
Sutherland-Hodgman clipping
  • Culling before clipping

7
CSC418 Computer Graphics
  • Next Lecture.
  • Introduction to geometric transformations
Write a Comment
User Comments (0)
About PowerShow.com