180 likes | 280 Vues
This resource provides comprehensive lecture notes on cameras and projections in 3D computer graphics. It covers key topics such as the camera model, viewing transformations, and the differences between perspective and orthographic projections. Learn how to implement the viewing transform with the view vector and discuss canonical space, viewing volumes, and visibility culling. Perfect for students in CSC418, these notes will help solidify your understanding of essential concepts and techniques used in computer graphics.
E N D
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
Viewing Transform Vup Peye Pref
Viewing Transform Vup w=(Peye-Pref)/||Peye-Pref|| Peye Pref
Viewing Transform Vup w Peye u=(Vupxw)/|| Vupxw|| Pref
Viewing Transform Vup w v=wxu Peye u Pref
Vup w v=wxu Peye u Pref Change-of-basis Matrix ux vx wx Peyex uy vy wy Peyey uz vz wz Peyez 000 1
Camera model What is the difference between these images? Perspective Orthographic
Perspective projection w v u
Perspective projection w v P’ P d u
Simple Perspective w v P’ P d u
Simple Perspective • y’= yd/z • x’= xd/z • z’=d
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
Viewing volumes Projected image
Viewing volumes Projected image
CSC418 Computer Graphics Next Lecture • Cannonical space • 3D Clipping • Visibility culling