1.27k likes | 1.48k Views
CSCE441: Computer Graphics 3D Transformations. Jinxiang Chai. Outline. 2D Coordinate transformation Composite transformation 3D transformation Required readings: HB 7-8, 9-1 to 9-9. Coordinate Transform: 3D Geometry Pipeline. Rotate and translate the camera. Object space. World space.
E N D
CSCE441: Computer Graphics3D Transformations Jinxiang Chai
Outline 2D Coordinate transformation Composite transformation 3D transformation Required readings: HB 7-8, 9-1 to 9-9
Coordinate Transform: 3D Geometry Pipeline Rotate and translate the camera Object space World space View space Focal length Aspect ratio & resolution Normalized project space Image space 2
Coordinate Transformation: 3D Modeling/Design Coordinate transformation from one reference frame to another
Coordinate Transformation: Animation/Robotics Click here How to model 2D movement of animated characters or robots?
Coordinate Transformation Coordinate transformation from one reference frame to another
Coordinate Transformation Local reference frame Coordinate transformation from one reference frame to another
Coordinate Transformation Local reference frame Global reference frame Coordinate transformation from one reference frame to another 7
Coordinate Transformation ? Local reference frame Global reference frame Coordinate transformation from one reference frame to another 8
Review – Vector Operations Dot Product
Review – Vector Operations Dot Product: measuring similarity between two vectors
Review – Vector Operations Dot Product: measuring similarity between two vectors
Review – Vector Operations Unit vector: Dot Product: measuring similarity between two vectors
Review – Vector Operations Dot Product: measuring similarity between two vectors
Review – Vector Operations Dot Product: measuring similarity between two vectors
Review – Vector Operations Cross Product: measuring the area determined by two vectors 15
Review – Vector Operations Cross Product: measuring the area determined by two vectors 16
2D Coordinates P: (x,y) 2D Cartesian coordinate system:
2D Coordinate Transformation P: (x,y) 2D Cartesian coordinate system:
2D Coordinate Transformation P: (x,y) 2D Cartesian coordinate system: 19
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p • Given the coordinates (x’,y’) in i’j’ • how to compute the coordinates (x,y) in ij? Transform object description from to 21
2D Coordinate Transformation p • Given the coordinates (x’,y’) in i’j’ • how to compute the coordinates (x,y) in ij? Transform object description from to 22
2D Coordinate Transformation p • Given the coordinates (x’,y’) in i’j’ • how to compute the coordinates (x,y) in ij? Transform object description from to 23
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to
2D Coordinate Transformation p Transform object description from to 36
2D Coordinate Transformation p What does this column vector mean?
2D Coordinate Transformation p What does this column vector mean? Vector i’ in the new reference system Transform object description from to
2D Coordinate Transformation p What does this column vector mean? Transform object description from to
2D Coordinate Transformation p What does this column vector mean? Vector j’ in the new reference system Transform object description from to
2D Coordinate Transformation p What does this column vector mean? Transform object description from to
2D Coordinate Transformation p What does this column vector mean? The old origin in the new reference system Transform object description from to
2D Coordinate Transformation p 2D translation
2D Coordinate Transformation ? ? p ? ? 2D translation
2D Coordinate Transformation 0 1 p 0 1 2D translation
2D Coordinate Transformation ? p 2D translation&rotation
2D Coordinate Transformation p ? 2D translation&rotation
2D Coordinate Transformation p 2D translation&rotation
2D Coordinate Transformation ? p 2D translation&rotation