3D Transformations 2D coordinates3D coordinates x y x y z x z y Right-handed coordinate system:

Slides:



Advertisements
Similar presentations
3D Transformations Assist. Prof. Dr. Ahmet Sayar
Advertisements

Computer Graphics: 3D Transformations
Principles of Computer-Aided Design and Manufacturing Second Edition 2004 ISBN Author: Prof. Farid. Amirouche University of Illinois-Chicago.
© T Madas. We can extend the idea of rotational symmetry in 3 dimensions:
Computer Graphics Lecture 4 Geometry & Transformations.
Three Dimensional Modeling Transformations
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
CMPE 466 COMPUTER GRAPHICS
Math for CSTutorial 11 Course Outline Homogeneous Coordinates.
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.
3D Coordinate Systems and Transformations Revision 1
3-D Geometry.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Math for CSTutorial 11 Matrix Multiplication Rule Matrices make linear transformations of vectors.
Screw Rotation and Other Rotational Forms
CS 450: Computer Graphics 2D TRANSFORMATIONS
UNIT - 5 3D transformation and viewing. 3D Point  We will consider points as column vectors. Thus, a typical point with coordinates (x, y, z) is represented.
04 – Geometric Transformations Overview Geometric Primitives –Points, Lines, Planes 2D Geometric Transformations –Translation, Rotation, Scaling, Affine,
Mathematical Fundamentals
5.2 Three-Dimensional Geometric and Modeling Transformations 2D3D Consideration for the z coordinate.
Transformation of Graphics
Dx = 2 dy = 3 Y X D Translation A translation is applied to an object by repositioning it along a straight-line path.
1 2D Transformations 几何变换. 2 What is a transformation? A transformation is an operation that transforms or changes a shape (line, drawing etc.) There.
Assigned work: pg. 468 #3-8,9c,10,11,13-15 Any vector perpendicular to a plane is a “normal ” to the plane. It can be found by the Cross product of any.
CS 376 Introduction to Computer Graphics 02 / 16 / 2007 Instructor: Michael Eckmann.
©Larry F. Hodges (modified by Amos Johnson) 1 3-D Mathematical Preliminaries & Transformations.
Computer Graphics, KKU. Lecture 51 Transformations Given two frames in an affine space of dimension n, we can find a ( n+1 ) x ( n +1) matrix that.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
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.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
Geometric Transformations
Transformations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS D Geometric Transformations Graphics Systems.
January 19, y X Z Translations Objects are usually defined relative to their own coordinate system. We can translate points in space to new positions.
3-D Geometric Transformations
3D Geometric Transformation
3-D Transformational Geometry CS418 Computer Graphics John C. Hart.
Lecture 5: Introduction to 3D
Determining 3D Structure and Motion of Man-made Objects from Corners.
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
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.
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.
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
End effector End effector - the last coordinate system of figure Located in joint N. But usually, we want to specify it in base coordinates. 1.
3D Geometry and Transformations
Modeling Transformation
FCC Graficación CAD/CAM 3D Transformations. Contents 1. Translation 2. Scaling 3. Rotation 4. Other Transformations.
Review: 3D Transforms Continued
Geometric Transformations
Warm up Identify the transformation ∆RST → ∆XYZ.
Computer Graphics CC416 Week 15 3D Graphics.
Translation Rotation Scaling
Computer Graphics 3D Transformations
Three-Dimensional Graphics
Unit 1 Transformations in the Coordinate Plane
Transformations in 3 Dimensions CS /28/2018 Dr. Mark L. Hornick
Viewing and Perspective Transformations
Unit 1 Transformations in the Coordinate Plane
Transformations.
3D transformations Dr Nicolas Holzschuch University of Cape Town
Warm Up 6.3 Complete the chart for the given counterclockwise rotations about the origin. 90o 180o 270o R(3, -3) S(1, 4) Use.
Presentation transcript:

3D Transformations 2D coordinates3D coordinates x y x y z x z y Right-handed coordinate system:

3D Transformations (cont.) 1.Translation in 3D is a simple extension from that in 2D: 2.Scaling is similarly extended:

3D Transformations (cont.) 3.The 2D rotation introduced previously is just a 3D rotation about the z axis. similarly we have: X Y Z

Composition of 3D Rotations In 3D transformations, the order of a sequence of rotations matters!

More Rotations We have shown how to rotate about one of the principle axes, i.e. the axes constituting the coordinate system. There are more we can do, for example, to perform a rotation about an arbitrary axis: X Y Z P 2 (x 2, y 2, z 2 ) P 1 (x 1, y 1, z 1 ) We want to rotate an object about an axis in space passing through (x 1, y 1, z 1 ) and (x 2, y 2, z 2 ).

Rotating About An Arbitrary Axis Y Z P2P2 P1P1 1). Translate the object by (-x 1, - y 1, -z 1 ): T(-x 1, -y 1, -z 1 ) X Y Z P2P2 P1P1 2). Rotate the axis about x so that it lies on the xz plane: R x (  ) X X Y Z P2P2 P1P1 3). Rotate the axis about y so that it lies on z: R y (  ) X Y Z P2P2 P1P1 4). Rotate object about z by  : R z (  )  

Rotating About An Arbitrary Axis (cont.) After all the efforts, don’t forget to undo the rotations and the translation! Therefore, the mixed matrix that will perform the required task of rotating an object about an arbitrary axis is given by: M = T(x 1,y 1,z 1 ) Rx(-  )R y (-  ) R z (  ) R y (  ) R x (  )T(-x 1,-y 1,-z 1 ) Finding  is trivial, but what about  ? The angle between the z axis and the projection of P 1 P 2 on yz plane is . X Y Z P2P2  P1P1