Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp. 245-315, by Geb Thomas.

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS 2D TRANSFORMATIONS.
Advertisements

Computer Graphics Lecture 4 Geometry & Transformations.
Geometric Transformations
1 Computer Graphics Chapter 6 2D Transformations.
Two-Dimensional Geometric Transformations
CMPE 466 COMPUTER GRAPHICS
Elementary 3D Transformations - a "Graphics Engine" Transformation procedures Transformations of coordinate systems Translation Scaling Rotation.
Ch. 2: Rigid Body Motions and Homogeneous Transforms
Course Website: Computer Graphics 3: 2D Transformations.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Robotics, Fall 2006 Lecture 3: Homogenous Transformations (Translation & Rotation) Copyright © 2005, 2006 Jennifer Kay.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
Computer Graphics with OpenGL 3e
2IV60 Computer Graphics 2D transformations
April Geometric Transformations for Computer Graphics Shmuel Wimer Bar Ilan Univ., School of Engineering.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 3: Transformations 1
Mathematical Fundamentals
HCT.
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Graphics Graphics Korea University cgvr.korea.ac.kr 2D Geometric Transformations 고려대학교 컴퓨터 그래픽스 연구실.
Lecture Notes: Computer Graphics.
2D Geometric Transformations
Rotations and Translations 1. Mathematical terms The inner product of 2 vectors a,b is defined as: The cross product of 2 vectors is defined as: A unit.
Geometric Transformations
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
What is Kinematics. Kinematics studies the motion of bodies.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Geometric Transformations
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
Fall 2004CS-321 Dr. Mark L. Hornick 1 2-D Transformations World Coordinates Local/Modelling Coordinates x y Object descriptions Often defined in model.
KINEMATICS ANALYSIS OF ROBOTS (Part 5). This lecture continues the discussion on the analysis of the forward and inverse kinematics of robots. After this.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
Coordinate Systems and Transformations
III- 1 III 3D Transformation Homogeneous Coordinates The three dimensional point (x, y, z) is represented by the homogeneous coordinate (x, y, z, 1) In.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Forward Kinematics Where is my hand ?. Examples Denavit-Hartenberg Specialized description of articulated figures (joints) Each joint has only one degree.
Computer Graphics Lecture 16 Fasih ur Rehman. Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations.
Geometric Transformations Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
Computer Graphic 2 D Transformation.
3D Geometry and Transformations
COMPUTER GRAPHICS AND LINEAR ALGEBRA AN INTRODUCTION.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Transformations University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner.
Geometric Transformations for Computer Graphics
Geometric Transformations for Computer Graphics
Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Geometric Transformations Hearn & Baker Chapter 5
Computer Graphics CC416 Week 15 3D Graphics.
Computer Graphics Transformations.
Translation Rotation Scaling
3D Geometric Transformations
Computer Graphics Transformations.
Three-Dimensional Graphics
Transformations 3 University of British Columbia
Chapter IV Spaces and Transforms
4-4 Geometric Transformations with Matrices
Geometric Transformations for Computer Graphics
Rigid Body Transformations
The Modelview Matrix Lecture 8 Mon, Sep 10, 2007.
Three-Dimensional Graphics
CSCE441: Computer Graphics 2D/3D Transformations
Transformations.
Rigid Body Transformations
Translation in Homogeneous Coordinates
Presentation transcript:

Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas

Learning Objectives Learn how 2D transformations are represented in 3D. Recognize the inverse matrix for a homogeneous transformation. Understand how the transformations also represent coordinate frame transformations. Understand the concept of a matrix stack.

2D Translation and 3D Translation

2D Rotation

3D Rotation – Z Axis About the Z axis x y z

3D Rotation – X Axis About the Z axis x y z

3D Rotation – Y Axis About the Z axis x y z

Inverse Matrices The 3x3 rotation submatrix is orthogonal. The inverse of the 3x3 matrix is the transform of the original matrix The inverse of the translation component is just the reverse translation.

Composition of Transforms Various motions can be tacked, one after the other, in a long sequence of matrices: T 1 T 2 T 3 …T 4 These combinations will maintain the relative shape of the vectors processed, but will shift them around the original coordinate frame.

Thinking of Reference Frames Another way to think of this mathematics, is to imagine transforming the coordinate frame to a new place y0y0 z0z0 x1x1 y1y1 z1z1 T (5,0,2) Transformation, T, moves things 5 to the right and 2 up. The whole coordinate frame moves to a new position x0x0

Coordinate Rotation y0y0 z0z0 x1x1 y1y1 R (y=-35) z1z1 x0x0

The Matrix Stack While drawing a world, you often want to draw with respect to a convenient coordinate frame The graphics card need only keep track of the current position (current transformation) If you want to shift to the left, multiply the current frame by a left translation When done, shift back to the right

The Matrix Stack, FILO T(15,20,35) R(z=12) T(2,1,1) R(y=15) R(x=35) T(3,2,5) Current position of Drawing reference frame Programmer’s Next desired Shift of reference frames

Learning Objectives Learn how 2D transformations are represented in 3D. Recognize the inverse matrix for a homogeneous transformation. Understand how the transformations also represent coordinate frame transformations. Understand the concept of a matrix stack.