Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
• Transformations
• Homogeneous coordinates
• Directions
• Rotation
• Geometry 101 – Points, edges, triangles/polygons
• Homework 3 due Oct 12 in class
(1,1) (xmax,ymax)
(xmin,ymin)
(-1,-1)
(1,1) (xmax,ymax)
(xmin,ymin)
(-1,-1)
xcanonical 2 r l 0 0 0 1 0 0 r l 2
y 0 2 t b 0 0 0 1 0 t b 2
canonical
zcanonical 0 0 2 n f 0 0 0 1 n f 2
1 0 0 0 1 0 0 0 1
2 r l 0 0 r l r l xview
0 2 t b 0 t b t b yview
0 0 2 n f n f n f zview
0 0 0 1 1
x canonical M view canonicalx view
image plane g
t,n
y t,f
(0,0) x b,n
b,f
10/7/04 © University of Wisconsin, CS559 Fall 2004
Getting there…
• We wish to end up in View Space, so we need a coordinate
system with:
– A vector toward the viewer, View Space z
– A vector pointing right in the image plane, View Space x
– A vector pointing up in the image plane, View Space y
– The origin at the eye, View Space (0,0,0)
• We must:
– Say what each of these vectors are in World Space
– Transform points from the World Space into View Space
– We can then apply the orthographic projection to get to Canonical
View Space, and so on