3D Geometric Transformations

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS 2D TRANSFORMATIONS.
Advertisements

Geometric Transformations
Two-Dimensional Geometric Transformations
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
Elementary 3D Transformations - a "Graphics Engine" Transformation procedures Transformations of coordinate systems Translation Scaling Rotation.
1 CSCE 441 Computer Graphics: 2D Transformations Jinxiang Chai.
1 Geometrical Transformation Tong-Yee Lee. 2 Modeling Transform Specify transformation for objects Allow definitions of objects in own coordinate systems.
Course Website: Computer Graphics 3: 2D Transformations.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Graphics Programming Graphics Programming: Transformations.
2D Transformations x y x y x y. 2D Transformation Given a 2D object, transformation is to change the object’s Position (translation) Size (scaling) Orientation.
2D Transformations Unit - 3. Why Transformations? In graphics, once we have an object described, transformations are used to move that object, scale it.
CS 450: Computer Graphics 2D TRANSFORMATIONS
3D Geometric Transformation Point in 3D space –Position (x, y, z) –Color (r, g, b) –Normal (Nx, Ny, Nz) Homogenous Coordinates –Position (x,y,z,w) –Usually.
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
1 Computer Graphics Week9 -3D Geometric Transformation.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Computer Graphics 3D Transformations. Translation.
Two-Dimensional Geometric Transformations A two dimensional transformation is any operation on a point in space (x, y) that maps that point's coordinates.
Homogeneous Coordinates and Matrix Representations Cartesian coordinate (x, y, z) Homogeneous coordinate (x h, y h, z h, h) Usually h = 1. But there are.
Computer Graphics I, Fall 2010 Transformations.
Computer Graphic 2 D Transformation.
CSCE 441 Computer Graphics: 2D Transformations
3D Geometry and Transformations
Modeling Transformation
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
Transformations University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner.
CPT450 – Computer Graphics
Computer Graphics 2D Transformations
Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Computer Graphics 3: 2D Transformations
Transformations Objectives
3D Geometric Transformation
Geometric Transformations Hearn & Baker Chapter 5
2D Transformations By: KanwarjeetSingh
2D Geometric Transformations
Computer Graphics Transformations.
2D Transformations with Matrices
Computer Graphics 3: 2D Transformations
3D Transformation.
Computer Graphics 3D Transformations
Computer Graphics Transformations.
Introduction to Computer Graphics CS 445 / 645
Lecture 7 Geometric Transformations (Continued)
2D Transformations y y x x y x.
Computer Graphics Transformations
Three-Dimensional Graphics
CSC4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Transformations.
2-D Geometry.
Transformations 3 University of British Columbia
Chapter IV Spaces and Transforms
2D Geometric Transformations
Transformations 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Three-Dimensional Graphics
Geometric Transformations
Transformations Ed Angel
Geometric Objects and Transformations (II)
Transformations Ed Angel Professor Emeritus of Computer Science
Geometrical Transformations
CS1550 Fundamentals For Computer Graphics Transformations-2
Isaac Gang University of Mary Hardin-Baylor
Transformations.
Transformations 2 University of British Columbia
TWO DIMENSIONAL TRANSFORMATION
Translation in Homogeneous Coordinates
Presentation transcript:

3D Geometric Transformations Computer Graphics 3D Geometric Transformations

Contents transformations continued transitioning from 2D to 3D y y x z Computer Graphics – IIa 2007/2008

Geometric Transformations in 3D same approach as in 2D also use homogeneous coordinates (for the same reasons) vectors/points from 3D to 4D transformation matrices are now 4×4 (instead of 3×3) Computer Graphics – IIa 2007/2008

Transformation Matrices in 3D translation translation vector (dx, dy, dz)T scaling for uniform scaling sx = sy = sz otherwise individual factors may differ mirroring using factors of -1 and 1 depending on the mirror plane Computer Graphics – IIa 2007/2008

Transformation Matrices in 3D rotation rotation around 3 axes possible now each has individual rotation matrix rotation around positive angles in right-handed coordinate system rotation axis stays unit vector in matrix Computer Graphics – IIa 2007/2008

Transformation Matrices in 3D rotation why are signs different from 2D case for Ry? y x contrast to 2D case: mirroring on x-axis  (x, -y) x z right-handed coordinate system z Computer Graphics – IIa 2007/2008

Concatenating Transformations in 3D matrix multiplication just as in 3D general transformation matrix in 3D scaling rotation translation Computer Graphics – IIa 2007/2008

Transformations: Summary geometric transformations: linear mapping from n to n we are interested in 2  2 and 3  3 transformations most relevant for CG: translation rotation scaling mirroring shearing Computer Graphics – IIa 2007/2008

Transformations: Summary unified representation of geometric transformations as matrices in homogeneous coordinates concatenation of transformation by multiplying the respective matrices order matters: with row vectors, the first transformation comes last in the sequence concatenated transformations can be pre-computed (saving run-time) Computer Graphics – IIa 2007/2008