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)

Slides:



Advertisements
Similar presentations
Three Dimensional Viewing
Advertisements

1 Computer Graphics Chapter 8 3D Transformations.
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
Three Dimensional Modeling Transformations
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis IV Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
Lecture 5 Monday, 29 June ENGINEERING GRAPHICS 1E7 Lecture 5: Isometric Projections.
Classical Viewing CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
IT- 601: Computer Graphics Lecture-11 Mathematics of Projection Jesmin Akhter Lecturer,IIT Jahangirnagar University, Savar, Dhaka,Bangladesh.
Multiview and 3D Drawings
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 & Projection Feng Yu Proseminar Computer Graphics :
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Transformations Jehee Lee Seoul National University.
Computer Graphics I, Fall 2010 Classical Viewing.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 Classical Viewing. 2 Objectives Introduce the classical views Compare and contrast image formation by computer with how images have been formed by architects,
CS 376 Introduction to Computer Graphics 02 / 16 / 2007 Instructor: Michael Eckmann.
Computer Graphics Bing-Yu Chen National Taiwan University.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
CS5500 Computer Graphics March 12, 2007.
University of North Carolina at Greensboro
2003CS Hons RW778 Graphics1 Chapter 7: Three-Dimensional Viewing Chapter 5: Camera with parallel projection Chapter 5: Camera with parallel projection.
Computer Graphics 3D Transformations. Translation.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Projection.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
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
Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
CSCI 425/ D Mathematical Preliminaries. CSCI 425/525 2 Coordinate Systems Z X Y Y X Z Right-handed coordinate system Left-handed coordinate system.
Affine Geometry.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
II-1 Transformations Transformations are needed to: –Position objects defined relative to the origin –Build scenes based on hierarchies –Project objects.
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.
CS 551 / 645: Introductory Computer Graphics Viewing Transforms.
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
3D Geometry and Transformations
Computer Graphics Lecture 09 Fasih ur Rehman. Last Class Viewing – Perspectives – Projections.
Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi
Modeling Transformation
PROJECTIONS PROJECTIONS 1. Transform 3D objects on to a 2D plane using projections 2 types of projections Perspective Parallel In parallel projection,
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
University of North Carolina at Greensboro
Projection Our 3-D scenes are all specified in 3-D world coordinates
Prof. Lizhuang Ma Shanghai Jiao Tong University
CSC461: Lecture 18 Classical Viewing
CSC461: Lecture 19 Computer Viewing
Classical Viewing Ed Angel
Isaac Gang University of Mary Hardin-Baylor
Introduction to Computer Graphics with WebGL
Axonometric drawings BDU
Three Dimensional Viewing
3D Graphics.
Viewing (Projections)
Axonometric Projection
Viewing (Projections)
Prof. Lizhuang Ma Shanghai Jiao Tong University
Transformations.
University of New Mexico
Isaac Gang University of Mary Hardin-Baylor
Presentation transcript:

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) and (4, 6, 12) are same points

2D Transformation Homogenous Coordinates x w y (x, y,w) (x/w, y/w,1) w=1

3D Transformation Scaling 4x4 matrix Non-rigid transformation Special value (-1) of scaling factor give reflection

3D Transformation Rotation About X-axis X Y Z

3D Transformation Rotation About Z-axis X Y Z

3D Transformation Rotation About Y-axis X Y Z

3D Transformation Rotations Orthogonal Matrix Rigid Transformation

3D Transformation Translation Rigid transformation

3D Transformation Shear Off diagonal elements Non-rigid transformation

3D Transformation Shear X Y  (x, y) (x’, y’)

3D Transformation Concatenation of Transformations Transformations: T 1, T 2, T 3 T1T1 T2T2 T3T3 X X’ Alternatively, X X’ T Pipeline unit T 1 T 2 T 3

3D Transformation Rotation about a fixed point Rotation of a cube about its center (about Z-axis) X Y Z C

3D Transformation Rotation about an arbitrary axis X Y Z O P Axis: P 0 (x 0, y 0, z 0 ), (C x, C y, C z ) Angle:  OP: Unit vector O: (x 0, y 0, z 0 ) Translation (-x 0, -y 0, -z 0 ) CxCx CzCz CyCy

3D Transformation Rotation about an arbitrary axis X Y Z O P Axis: P 0 (x 0, y 0, z 0 ), (C x, C y, C z ) Angle:  Rotation about X axis by  CxCx CzCz CyCy  d

3D Transformation Rotation about an arbitrary axis X Y Z O Axis: P 0 (x 0, y 0, z 0 ), (C x, C y, C z ) Angle:  Rotation about Y axis by  CxCx d d  1

3D Transformation Rotation about an arbitrary axis Complete Transformation

3D Transformation General

3D Viewing Projections A Projectors Projection Plane Center of Projection B B’ A’ Perspective

3D Viewing Projections Parallel Projectors Projection Plane At Infinity A’ B’ A B

3D Viewing Parallel Projections Orthographic Side View Front View Top View Z X Y

3D Viewing Parallel Projections Multiviews (x=0 or y=0 or z=0 planes), one View is not adequate True size and shape for lines On z=0 plane Orthographic

3D Viewing Parallel Projections Axonometric Additional rotation,translation and then projection on z=0 plane

3D Viewing Parallel Projections Three types Trimetric: No foreshortening is the same. Dimetric: Two foreshortenings are the same. Isometric: All foreshortenings are the same. Axonometric

3D Viewing Parallel Projections Trimetric Dimetric Isometric Axonometric

3D Viewing Parallel Projections Isometric Let there be 2 rotations a) about y-axis  b) about x-axis 

3D Viewing Parallel Projections Isometric Let there be 2 rotations a) about y-axis  b) about x-axis 

3D Viewing Parallel Projections Isometric

3D Viewing Parallel Projections Isometric

3D Viewing Parallel Projections Solving equation find ,  and f Isometric