Clipping

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

flashcard set

Earn XP

Description and Tags

Learn about clipping!

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

clipper

decides which parts of primitives are rasterised, avoids wasting resources on pixels that won’t be visible

2
New cards

3 cases of 2d line clipping

lines are fully inside, fully outside or may need to be shortened

3
New cards

cohen-sutherland algorithm

divide the viewpoint coords into 9 regions represented by a 4 bit outcode. each bit encodes whether the region is outside of the image edges

4
New cards

why is clipping polygons insufficient?

we still need to assemble new points into a new polygon - they have surface, direction and interior

5
New cards

clipping pipeline order

top bottom right left

6
New cards

reason clipping flat polygons is not too hard 1

easy to determine whether a straight line intersects a clipping plane

7
New cards

reason clipping flat polygons is not too hard 2

easy to calculate where this intersection is

8
New cards

reason clipping flat polygons is not too hard 3

easy to calculate new vertices where needed and update polygons

9
New cards

what changes when we move to 3d clipping?

we need to calculate plane-line intersection

10
New cards

clipping for orthographic viewing

we have a cubic clipping volume where each side corresponds to a plane in 3d space

11
New cards

clipping for arbitrary projections

clip in pre-warped clip coordinates