Lecture_Chapter5_b

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

Info icon This 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
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)
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
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/d z p = d
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 = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 /d 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 /d 0 · x y z 1 = x y z z/d w component not equal to one! Result is in clip coordinates
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.
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 ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern