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.

Slides:



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

Computer Graphics: 3D Transformations
Transformations Ed Angel Professor Emeritus of Computer Science
COMPUTER GRAPHICS 2D TRANSFORMATIONS.
Geometric Transformations
Linear Algebra Application: Computer Graphics
Three Dimensional Modeling Transformations
25 May May May 2015Week 5-2D Transformations1 2D Transformations By: KanwarjeetSingh.
HCI 530 : Seminar (HCI) Damian Schofield. HCI 530: Seminar (HCI) Transforms –Two Dimensional –Three Dimensional The Graphics Pipeline.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
CMPE 466 COMPUTER GRAPHICS
CS 376 Introduction to Computer Graphics 02 / 09 / 2007 Instructor: Michael Eckmann.
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.
Computer Graphics University of Palestine Dr. Sana’a Wafa Al-Sayegh
Graphics Programming Graphics Programming: Transformations.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
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.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
5.2 Three-Dimensional Geometric and Modeling Transformations 2D3D Consideration for the z coordinate.
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Lecture Notes: Computer Graphics.
Dx = 2 dy = 3 Y X D Translation A translation is applied to an object by repositioning it along a straight-line path.
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.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
1 Computer Graphics Week9 -3D Geometric Transformation.
CSE Real Time Rendering Week 5. Slides(Some) Courtesy – E. Angel and D. Shreiner.
Computer Graphics 3D Transformations. Translation.
Two-Dimensional Geometric Transformations ch5. 참조 Subjects : Basic Transformations Homogeneous Coordinates Composite Transformations Other Transformations.
Geometric Transformations
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Section 9.2 Adding and Subtracting Matrices Objective: To add and subtract matrices.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
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
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
1 By Dr. HANY ELSALAMONY.  We have seen how to create models in the 3D world. We discussed transforms in lecture 3, and we have used some transformations.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
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)
Geometric Transformations Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
Computer Graphic 2 D Transformation.
3D Geometry and Transformations
Modeling Transformation
FCC Graficación CAD/CAM 3D Transformations. Contents 1. Translation 2. Scaling 3. Rotation 4. Other Transformations.
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Transforms.
3D Geometric Transformation
3. Transformation
2D Transformations By: KanwarjeetSingh
Computer Graphics CC416 Week 15 3D Graphics.
Computer Graphics 3D Transformations
Unit 1 Transformations in the Coordinate Plane
4-4 Geometric Transformations with Matrices
Transformations on the coordinate plane
Geometric Objects and Transformations (II)
Reflections in Coordinate Plane
Transformations.
Transformations on the coordinate plane
Transformations on the coordinate plane
3D transformations Dr Nicolas Holzschuch University of Cape Town
Presentation transcript:

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 general, the homogeneous coordinate (x, y, z, w) represents the three dimensional point (x/w, y/w, z/w) The generalized transformation matrix:

III- 2 Scaling In general, this is done with the equations: x n = s x * x y n = s y * y z n = s z * z This can also be done with the matrix multiplication:

III- 3 Scaling can be done relative to the object center with a composite transformation Scaling an object centered at (c x, c y, c z ) is done with the matrix multiplication:

III- 4 Shearing Equivalent to pulling faces in opposite directions

III- 5

III- 6

III- 7

III- 8

III- 9 Rotation Rotation can be done around any line or vector Rotations are commonly specified around the x, y, or z axis A positive angle of rotation results in a counterclockwise movement when looked at from the positive axis direction The matrix form for rotation –x axis

III- 10 –y axis –z axis

III- 11

III- 12

III- 13

III- 14 Reflection Reflection through the xy-plane: Reflection through the yz-plane: Reflection through the xz-plane:

III- 15

III- 16

III- 17 Translations The amount of the translation is added to or subtracted from the x, y, and z coordinates In general, this is done with the equations: x n = x + t x y n = y + t y z n = z + t z This can also be done with the matrix multiplication:

III- 18

III- 19

III- 20

III- 21

III- 22

III- 23 Combining Transformations Matrices can be multiplied together to accomplish multiple transformations with one matrix A matrix is built with successive transformations occurring from right to left A combination matrix is typically built from the identity matrix with each new transformation added by multiplying it on the left of the current combination

III- 24 Rotation about an Arbitrary Axis in Space Assume an arbitrary axis in space passing through the point with direction cosines and rotation about this axis by some angle

III- 25 Direction cosines:

III- 26 The complete transformation is:

III- 27

III- 28

III- 29

III- 30

III- 31

III- 32 Reflection through an Arbitrary Plane

III- 33 The general transformation is:

III- 34

III- 35

III- 36

III- 37