Lecture_Chapter5_b

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

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

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

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

View Full Document
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)
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

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

View Full Document
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
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

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

View Full Document
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.
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
Ask a homework question - tutors are online