Lecture 1 - Projections and Transformations (slides)

Graphics lecture 1 slide 12 6 47 normalisation

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: corners of the area we are using.! Then we can translate our world coordinates to pixel coordinates.! ! *making a ‘system call’ through the API! Graphics Lecture 1: Slide 11! Normalisation Normalisation! Graphics Lecture 1: Slide 12! 6 / 47 Normalisation Normalisation! Having defined our world coordinates, and obtained our device Normalisation coordinates we relate the two by simple ratios: and obtained our •  Having defined our world coordinates, Normalisation our world coordinates, and obtained our device Having defined device coordinates wetwo by simpleX obtainedby simple ratios:! coordinates we our world coordinates, the two our device ( defined relate the )relate ( ratios: V W ) Having X and w xmin v xmin coordinates we relate the two by= ratios: ( (Wxmax (Xw xmin )) simpleXv VxminVxmin ) W Wxmin = (Vxmax ) (Wxmax WWxmin ) (VXv Vxmin ) ) (Xw ( xmax Vxmin xmin ) = (Wxmax Rearranging, we get: we get: Wxmin ) (Vxmax Vxmin ) Rearranging, •  Rearranging, we get: ! Rearranging, we get: (Xw = (Xw xmin )(Vxmax Vxmin ) + Vxmin W Wxmin )(Vxmax Vxmin ) Xv Wxmax Wxmin Xv = X =...
View Full Document

Ask a homework question - tutors are online