3D transformations Dr Nicolas Holzschuch University of Cape Town

Slides:



Advertisements
Similar presentations
Computer Graphics Lecture 4 Geometry & Transformations.
Advertisements

Geometric Transformations
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis IV Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2006 Some slides from Steve Seitz
1 Lecture 7 Geometrical Transformations: 2D transformations 3D transformations Matrix representation OpenGL functions.
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
Elementary 3D Transformations - a "Graphics Engine" Transformation procedures Transformations of coordinate systems Translation Scaling Rotation.
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
1 Geometrical Transformation Tong-Yee Lee. 2 Modeling Transform Specify transformation for objects Allow definitions of objects in own coordinate systems.
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.
Math for CSTutorial 11 Matrix Multiplication Rule Matrices make linear transformations of vectors.
Graphics Programming Graphics Programming: Transformations.
2D transformations and homogeneous coordinates Dr Nicolas Holzschuch University of Cape Town Modified.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 3: Transformations 1
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Rasterizing primitives: know where to draw the line Dr Nicolas Holzschuch University of Cape Town Modified.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Graphics Graphics Korea University cgvr.korea.ac.kr 2D Geometric Transformations 고려대학교 컴퓨터 그래픽스 연구실.
Lecture Notes: Computer Graphics.
2D Geometric Transformations
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Transformations Jehee Lee Seoul National University.
Defining complex objects Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki.
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
Transformations Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
T. Bajd, M. Mihelj, J. Lenarčič, A. Stanovnik, M. Munih, Robotics, Springer, 2010 GEOMETRIC DESCRIPTION OF THE ROBOT MECHANISM T. Bajd and M. Mihelj.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
1 Computer Graphics Week9 -3D Geometric Transformation.
© 97 N. Holzschuch 3D objects representation and data structure Dr Nicolas Holzschuch University of Cape Town
Projections and Perspectives Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
ARCH 655 Parametric Modeling in Design Wei Yan, Ph.D., Associate Professor College of Architecture, Texas A&M University Lecture 5 Matrices and Transforms.
Multimedia Programming 07: Image Warping Keyframe Animation Departments of Digital Contents Sang Il Park.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
II-1 Transformations Transformations are needed to: –Position objects defined relative to the origin –Build scenes based on hierarchies –Project objects.
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.
Computer Graphics I, Fall 2010 Transformations.
2D Transformation Homogenous Coordinates Scale/Rotate/Reflect/Shear: X’ = XT Translate: X’ = X + T Multiple values for the same point e.g., (2, 3, 6)
3D Transformations 2D coordinates3D coordinates x y x y z x z y Right-handed coordinate system:
Computer Graphics Lecture 16 Fasih ur Rehman. Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations.
Clipping Polygons Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
Transformations. Transformations Introduce standard transformations ◦ Rotation ◦ Translation ◦ Scaling ◦ Shear Derive homogeneous coordinate transformation.
Modeling Transformation
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
Computer Graphics Lecture 15 Fasih ur Rehman. Last Class Combining Transformations Affine versus Rigid body Transformations Homogenous Transformations.
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Spatcial Description & Transformation
3. Transformation
Lecture 3 Jitendra Malik
3D Geometric Transformations
Clipping Polygon Clipping Polygon : Area primitive
Linear Algebra Review.
FP1 Matrices Transformations
Geometric Transformations for Computer Graphics
2D Geometric Transformations
The Modelview Matrix Lecture 8 Mon, Sep 10, 2007.
Identify Which Combination of Transformations took place
Geometrical Transformations
Transformations.
Transformations 2 University of British Columbia
TWO DIMENSIONAL TRANSFORMATION
Projections and Perspectives
Translation in Homogeneous Coordinates
Presentation transcript:

3D transformations Dr Nicolas Holzschuch University of Cape Town e-mail: holzschu@cs.uct.ac.za Modified by Longin Jan Latecki latecki@temple.edu Sep. 11, 2002

Map of the lecture Homogeneous coordinates in 3D Geometric transformations in 3D translations, rotations, scaling,…

Homogeneous coordinates in 3D In order to model all transformations as matrices: introduce a fourth coordinate, w two vectors are equal if: x/w = x’/w’, y/w = y’/w’ and z/w=z’/w’ All transformations are 4x4 matrices

Translations in 3D

Scaling in 3D

Rotations in 3D One rotation: one axis and one angle Matrix depends on both axis and angle direct expression possible, from axis and angle, using cross-products Rotations about axis have simple expression other rotations express as composition of these rotations

Rotation around x-axis x-axis is unmodified Sanity check: a rotation of p/2 should change y in z, and z in -y

Rotation around y-axis y-axis is unmodified Sanity check: a rotation of p/2 should change z in x, and x in -z

Rotation about z-axis z-axis is unmodified Sanity check: a rotation of p/2 should change x in y, and y in -x

Any transformation in 3D All transformations in 3D can be expressed as combinations of translations, rotations, scaling expressed using matrix multiplication Transformations can be expressed as 4x4 matrices