Computer Graphics 3D Transformations. Translation.

Slides:



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

Computer Graphics: 3D Transformations
Transforming graphs of functions
1 Computer Graphics Chapter 8 3D Transformations.
Geometric Transformations
Arbitrary Rotations in 3D Lecture 18 Wed, Oct 8, 2003.
Three Dimensional Modeling Transformations
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis IV Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
1 Computer Graphics Chapter 6 2D Transformations.
2D TRANSFORMATIONS.
CMPE 466 COMPUTER GRAPHICS
CMPE 466 COMPUTER GRAPHICS
CS 376 Introduction to Computer Graphics 02 / 09 / 2007 Instructor: Michael Eckmann.
1 CSCE 441 Computer Graphics: 2D Transformations Jinxiang Chai.
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Computer Graphics University of Palestine Dr. Sana’a Wafa Al-Sayegh
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology 3D Engines and Scene Graphs Spring 2012.
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.
5.2 Three-Dimensional Geometric and Modeling Transformations 2D3D Consideration for the z coordinate.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Transformation of Graphics
2D Transformation of Graphics
2D Geometric Transformations
Part7: Geometric Transformations
Transformations Jehee Lee Seoul National University.
Geometric 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.
Transformations of Objects – 3D
Computer Graphics 2D Transformations. 2 of 74 Contents In today’s lecture we’ll cover the following: –Why transformations –Transformations Translation.
Introduction to Computer Graphics Geometric Transformations
Two-Dimensional Geometric Transformations ch5. 참조 Subjects : Basic Transformations Homogeneous Coordinates Composite Transformations Other Transformations.
Geometric Transformations
GEOMETRIC TRANFORMATIONS Presented By -Lakshmi Sahithi.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
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
3D Geometric Transformation
Lecture 5: Introduction to 3D
Affine Geometry.
II-1 Transformations Transformations are needed to: –Position objects defined relative to the origin –Build scenes based on hierarchies –Project objects.
Instructor: Mircea Nicolescu Lecture 9
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.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
3D Transformations 2D coordinates3D coordinates x y x y z x z y Right-handed coordinate system:
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
Geometric Transformations Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
3D Geometry and Transformations
Transformations. Transformations Introduce standard transformations ◦ Rotation ◦ Translation ◦ Scaling ◦ Shear Derive homogeneous coordinate transformation.
Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi
Modeling Transformation
1.5 Graphical Transformations Represent translations algebraically and graphically.
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.
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
3D Geometric Transformation
Computer Graphics CC416 Week 15 3D Graphics.
3D Transformation.
Computer Graphics Lecture 18 3-D Transformations-II Taqdees A
Computer Graphics 3D Transformations
Lecture 7 Geometric Transformations (Continued)
4-4 Geometric Transformations with Matrices
Geometric Transformations for Computer Graphics
Transformations.
Translation in Homogeneous Coordinates
Presentation transcript:

Computer Graphics 3D Transformations

Translation

Rotation

Parallel to one of the Coordinate Axis In special cases where an object is to be rotated about an axis that is parallel to one of the coordinate axis, we can obtain the desired rotation with the following transformation sequence. 1.Translate the object so that the rotation axis coincides with the parallel coordinate axis (for simplicity, let us take x-axis). 2.Perform the specified rotation about that axis. 3.Translate the object so that the rotation axis is moved back to its original position.

Rotation

Scaling The matrix expression for the scaling transformation of a position P = (x, y, z) relative to coordinate origin can be written as:

Scaling The matrix representation for an arbitrary fixed-point (x f, y f, z f ) can be expressed as:

Scaling

Reflections The matrix expression for the reflection transformation of a position P = (x, y, z) relative to x-y plane can be written as: Transformation matrices for inverting x and y values are defined similarly, as reflections relative to yz plane and xz plane, respectively.

Shears The matrix expression for the shearing transformation of a position P = (x, y, z), to produce z-axis shear, can be written as:

Shears Parameters a and b can be assigned any real values. The effect of this transformation is to alter x- and y- coordinate values by an amount that is proportional to the z value, while leaving the z coordinate unchanged. Shearing transformations for the x axis and y axis are defined similarly.