This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Viewing See text chapter 7 Cast of Characters • nx= number of pixels in x • ny = number of pixels in y • x = l = left plane • x = r = right plane • y = b = bottom plane • y = t = top plane • z = n = near plane • z = f = far plane. Mapping locations in View Volume to Pixels (Viewport Transform) location which should go to the screen scale that location to screen coordinates (which are centered at (0,0)) translate the location to the correct pixel. The product of these 2 matrices is the matrix on page 144 equation 7.2.  = 1 1 2 2 1 2 1 1 2 1 1 pixel y x n n n n y x y x Mapping locations in View Volume to Pixels location which should go to the screen scale that location to screen coordinates (which are centered at (0,0)) translate the location to the correct pixel.  = 1 1 2 2 1 2 1 1 2 1 1 pixel y x n n n n y x y x Orthographic Canonical View Volume (projection transform: orthographic version) • How do we go from camera space to cannonical view volume using orthographic projection? • Note that camera space is just a rectangle when using orthographic projection. Orthographic Canonical View Volume • Map to b = l = n =1 and t = r = f = 1 scales point translates point a point in camera space somewhere. + + +  = 1 1 2 1 2 1 2 1 1 2 2 2 point canonical z y x f n t b r l f n b t l r Putting it all together camera canonical view volume canonical vv screen  = 1 1 2 2 1 2 1 1 2 1 1 pixel y x n n n n y x y x + + +  = 1 1 2 1 2 1 2 1 1 2 2 2 point canonical z y x f n t b r l f n b t l r Putting it all together camera canonical view volume canonical vv screen + + +   = 1 1 2 1 2 1 2 1 1 2 2 2 1 1 2 1 1 2 1 1 1 1 2 2 pixel z y x f n t b r l f n b t l r n n n n y x y x Putting it all together camera canonical view volume canonical vv screen...
View
Full
Document
This note was uploaded on 03/02/2012 for the course C S 455 taught by Professor Jones,m during the Winter '08 term at BYU.
 Winter '08
 Jones,M

Click to edit the document details