1 / 18

CSC418 Computer Graphics

CSC418 Computer Graphics. Cameras and Projections Follow lecture notes on 3D Projection and Clipping : www.dgp.toronto.edu/~karan/courses/csc418/fall_2002/notes/lectures.html. Camera model. Viewing Transform. V up. P eye. P ref. Viewing Transform. V up.

ervin
Download Presentation

CSC418 Computer Graphics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSC418 Computer Graphics • Cameras and Projections Follow lecture notes on 3D Projection and Clipping : www.dgp.toronto.edu/~karan/courses/csc418/fall_2002/notes/lectures.html

  2. Camera model

  3. Viewing Transform Vup Peye Pref

  4. Viewing Transform Vup k=(Peye-Pref)/||Peye-Pref|| Peye Pref

  5. Viewing Transform Vup k Peye i=(Vupxk)/|| Vupxk|| Pref

  6. Viewing Transform Vup k j=kxi Peye i Pref

  7. Vup k j=kxi Peye i Pref Change-of-basis Matrix ix jx kx Peyex iy jy ky Peyey iz jz kz Peyez 000 1

  8. Camera model

  9. Camera model What is the difference between these images? Perspective Orthographic

  10. Perspective projection k j i

  11. Perspective projection k j P’ P d i

  12. Simple Perspective k j P’ P d i

  13. Simple Perspective • y’= yd/z • x’= xd/z • z’=d

  14. Simple Perspective x’ 1 0 0 0 x y’ = 0 1 0 0 y z’ 0 0 1 0 z w’ 0 0 1/d 0 1 w’= z/d

  15. Viewing volumes Projected image

  16. Viewing volumes Projected image

  17. Viewing Pipeline

  18. CSC418 Computer Graphics Next Lecture • Cannonical space • 3D Clipping • Visibility culling

More Related