FCC Graficación CAD/CAM 3D Transformations. Contents 1. Translation 2. Scaling 3. Rotation 4. Other Transformations.

Slides:



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

Computer Graphics: 3D Transformations
Transforming graphs of functions
Lecture 7 2D Transformation. What is a transformation? Exactly what it says - an operation that transforms or changes a shape (line, shape, drawing etc.)
COMPUTER GRAPHICS 2D TRANSFORMATIONS.
Computer Graphics Lecture 4 Geometry & Transformations.
Transformations We want to be able to make changes to the image larger/smaller rotate move This can be efficiently achieved through mathematical operations.
Geometric Transformations
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
CMPE 466 COMPUTER GRAPHICS
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.
3-D Geometry.
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.
Transformations I CS5600Computer Graphics by Rich Riesenfeld 27 February 2002 Lecture Set 5.
CS 450: Computer Graphics 2D TRANSFORMATIONS
Mathematical Fundamentals
Transformation of Graphics
2D Transformation of Graphics
Lecture Notes: Computer Graphics.
Transformations Jehee Lee Seoul National University.
Geometric Transformations
Magnitude of a Vector The magnitude of a vector, denoted as |a|, is defined as the square root of the sum of the squares of its components: |a| = (x 2.
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.
Computer Graphics 2D Transformations. 2 of 74 Contents In today’s lecture we’ll cover the following: –Why transformations –Transformations Translation.
Transformation.
Lesson 10-5: Transformations 1 Lesson 9 Transformations G.CO2, Represent transformation in plane describe as a function that take points in the plane as.
Computer Graphics 3D Transformations. Translation.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
Geometric Transformations
LESSON 5-1 I can draw reflected images. I can recognize and draw lines of symmetry.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
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
3D Geometric Transformation
Lecture 5: Introduction to 3D
Affine Geometry.
3D Coordinate Systems o3D computer graphics involves the additional dimension of depth, allowing more realistic representations of 3D objects in the real.
Instructor: Mircea Nicolescu Lecture 9
Cornell CS465 Fall 2004 Lecture 9© 2004 Steve Marschner 1 3D Transformations CS 465 Lecture 9.
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.
1 Geometric Transformations Modelling Transforms By Dr.Ureerat Suksawatchon.
3D Transformations 2D coordinates3D coordinates x y x y z x z y Right-handed coordinate system:
Geometric Transformations Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
Computer Graphic 2 D Transformation.
3D Geometry and Transformations
Modeling Transformation
Transformations. Modeling Transformations  Specify transformations for objects  Allows definitions of objects in own coordinate systems  Allows use.
Lesson 10-5: Transformations 1 Lesson 10-5 Transformations.
3D Geometric Transformation
Geometric Transformations Hearn & Baker Chapter 5
Computer Graphics CC416 Week 15 3D Graphics.
3D Transformation.
Computer Graphics 3D Transformations
3D Geometric Transformations
CS1550 Fundamentals For Computer Graphics Transformations-1
Transformations.
Unit 1 Transformations in the Coordinate Plane
4-4 Geometric Transformations with Matrices
Geometric Transformations for Computer Graphics
The Modelview Matrix Lecture 8 Mon, Sep 10, 2007.
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
Mr. Pearson Inman Middle School January 25, 2011
Transformation Operators
Transformations.
Transformations with Matrices
Presentation transcript:

FCC Graficación CAD/CAM 3D Transformations

Contents 1. Translation 2. Scaling 3. Rotation 4. Other Transformations

1. Translation x y z TxTx TzTz TyTy (x, y, z)

2. Scaling x y z (x, y, z) ∴

x y z x y z x y z x y z Relative Scaling

3. Rotation 2D Rotation  r r  r r Rotation about z -axis is implicit !!!

 r r x y z ∴

By symmetry, x y z x y z

x y z u (x 1, y 1, z 1 ) (x 2, y 2, z 2 ) Rotation about an arbitrary axis

 Basic idea 1. Translate the object so that the rotation axis passes through the origin. 2. Rotate the object so that the rotation axis coincides with one of the coordinate axis. 3. Perform the specified rotation. 4. R T -1 T R

 Step 1: Translation x y z u = (a, b, c) (x 1, y 1, z 1 ) (x 2, y 2, z 2 ) u

 Step 2: Aligning u with z -axis x y z u = (a, b, c)  (0, b, c) = u' (0, 0, 1) = u z x y z u'' = (a, 0, d) d a uxux

x y z d a uyuy (0, 0, 1) = u z  x y z ∴ ≡ 1 ≡ 1

∴ In Step 2, for later use

 Step 3: Rotate about z -axis by a given angle x y z 

 Step 4: [R -1 ] = [R x (  ) -1 ][R y (  ) -1 ]  Step 5: [T -1 ] ∴ In summary,

4. Concatenation  The successive application of a number of transformations can be achieved with a single transformation matrix, the concatenation of the sequence.  Suppose two transformations T 1 and T 2 are to be applied successively. The same effect can be achieved by the application of a single transformation T 3, which is simply the product of the matrices T 1 and T2. That is: The point (x, y, z) is transformed into (x’, y’, z’) by T 1 : [ x’ y’ z’ 1 ] = [ x y z 1 ] T 1 (1) The point (x’’, y’’, z’’) is generated by applying T2: [ x’’ y’’ z’’ 1 ] = [ x’ y’ z’ 1 ] T 2 (2) Substituting (1) in (2) gives: [ x’’ y’’ z’’ 1 ] = ([ x y z 1 ] T 1 )T 2 = [ x y z 1 ] (T 1 T 2 ) The order of application of the transformations must be preserved when the transformation matrices are multiplied together.