1 Lecture 8 Clipping Viewing transformations Projections

Preview:

Citation preview

1

Lecture 8

Clipping

Viewing transformations

Projections

2

Rendering Pipeline

3

Clipping: point

4

Clipping: line

5

Clipping: line

6

Cohen Sutherland clipping test

7

Cohen Sutherland clipping test

8

Cohen Sutherland clipping test

9

Cohen Sutherland clipping test

10

Clipping: polygon

11

Clipping: polygon

12

Clipping: polygon

13

Clipping: polygon

14

Clipping to a Boundary

15

Viewing transformations

Transform clipped primitives from world to screen coordinates

16

Viewing transformations

Transform clipped primitives from world to screen coordinates

17

Projection

Transform clipped primitives from world to screen coordinates

18

Taxonomy of Projections

Transform clipped primitives from world to screen coordinates

19

Parallel Projection

Transform clipped primitives from world to screen coordinates

20

Orthographic Projections

Transform clipped primitives from world to screen coordinates

21

Oblique Projections

Transform clipped primitives from world to screen coordinates

22

Parallel Projection Matrix

Transform clipped primitives from world to screen coordinates

23

Perspective projections

Transform clipped primitives from world to screen coordinates

24

Perspective projections

Transform clipped primitives from world to screen coordinates

25

Perspective projections

Transform clipped primitives from world to screen coordinates

26

Perspective projections

Transform clipped primitives from world to screen coordinates

27

Perspective projections

Transform clipped primitives from world to screen coordinates

28

Perspective projections

Transform clipped primitives from world to screen coordinates

29

Perspective vs. parallel

Transform clipped primitives from world to screen coordinates

30

Classical projections

Transform clipped primitives from world to screen coordinates

Recommended