Lecture_Chapter5_b

Lecture_Chapter5_b - Review of Last Thursday 3D introduces...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Review of Last Thursday 3D introduces perspective, occlusion, depth Camera parameters (position, fov, ) define how objects are mapped to 2D Vertex processor: ModelView Transformation : From model space to camera space Projection Transformation : From camera space to clip space 15 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Review of Last Thursday Orthogonal, parallel, perspective projection 16 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting Near and far are positive values (default: distances along negative z)
Background image of page 2
Perspective Projection Points are projected along ray through camera origin Points along a ray are projected to the same location 17 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting COP COP
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Perspective Projection 18 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting x z = x p z p x p = x z/z p x p = x z/d y p = y z p = d
Background image of page 4
Perspective Projection 19 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting Projection matrix with camera at origin, plane at distance d P = 10 0 0 01 0 0 00 1 0 001 /d 0 0 0 0 0 1 0 /d 0 · x y z 1 = x y z z/d w component not equal to one! Result is in clip coordinates
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Perspective Division 20 ECS 175 Chapter 5: 3D – Projections, Camera, and Lighting Perspective division gives normalized device coordinates Divide projected x,y,z,w components by projected w.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 24

Lecture_Chapter5_b - Review of Last Thursday 3D introduces...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online