Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Polygon Clipping - Computer Graphics - Lecture Slides, Slides of Computer Graphics

Polygon Clipping, Sequence of vertices and edges, Sutherland Hodgeman clipping algorithm, Weiler Atherton clipping algorithm, Steps of Algorithm, Cases of Polygon Clipping terms are which we learned in this lecture.

Typology: Slides

2011/2012

Uploaded on 11/09/2012

bacha
bacha 🇮🇳

4.3

(41)

215 documents

1 / 41

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer
Graphics
Lecture 15
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29

Partial preview of the text

Download Polygon Clipping - Computer Graphics - Lecture Slides and more Slides Computer Graphics in PDF only on Docsity!

Computer

Graphics

Lecture 15

CLIPPING II

Sutherland-Hodgeman

clipping algorithm

clips any polygon against a
convex clip polygon.

Weiler-Atherton

clipping algorithm

Weiler-Atherton clipping
algorithm clips any polygon
against any clip polygon. The
polygons may even have holes.

Polygon clipping - open polygons.

Polygon clipping - open polygons.

Four clip edges, each
defining one boundary of the
clip rectangle, successively
clip a polygon against a clip
rectangle.

Steps of Algorithm

Polygons can be clipped against each edge of the window one at a time. Vertices which are kept after clipping against one window edge are saved for clipping against the remaining edges.

Four Cases of Polygon

Clipping Against One

Edge

Case 2 : Exit visible region -
save the intersection point
Case 1 : Wholly inside visible
region save endpoint
Case 4 : Enter visible region -
save intersection and endpoint
Case 3 : Wholly outside visible
region - save nothing
Clip Left
Clip Right