Computer Graphics Lecture 16 Fasih ur Rehman. Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations.

Slides:



Advertisements
Similar presentations
1 Computer Graphics Chapter 8 3D Transformations.
Advertisements

Geometric Transformations
1 Computer Graphics Chapter 6 2D Transformations.
CMPE 466 COMPUTER GRAPHICS
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
2D Geometric Transformations
CMPE 466 COMPUTER GRAPHICS
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2006 Some slides from Steve Seitz
1 Lecture 7 Geometrical Transformations: 2D transformations 3D transformations Matrix representation OpenGL functions.
©College of Computer and Information Science, Northeastern UniversityJune 26, CS U540 Computer Graphics Prof. Harriet Fell Spring 2009 Lecture 11.
Course Website: Computer Graphics 3: 2D Transformations.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology 3D Engines and Scene Graphs Spring 2012.
Computer Graphics Lecture 05 Fasih ur Rehman. Last Class Overview of Graphic Systems – Vector Displays – Movie Standards – LCD’s.
Computer Graphics Lecture 10 Fasih ur Rehman. Last Class Viewing – Perspectives – Projections.
©College of Computer and Information Science, Northeastern UniversitySeptember 9, CS 4300 Computer Graphics Prof. Harriet Fell Fall 2011 Lecture.
Lecture 03 Fasih ur Rehman
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics Lecture 28 Fasih ur Rehman. Last Class GUI Attributes – Windows, icons, menus, pointing devices, graphics Advantages Design Process.
2003CS Hons RW778 Graphics1 Chapter 5: Transforming Objects 5.2 Introduction to Transformations 5.2 Introduction to Transformations –Affine transformations.
Transformations Jehee Lee Seoul National University.
Computer Graphics Lecture 04 Fasih ur Rehman. Last Class Overview of Graphics Systems – Display Devices Colors and colored displays Raster displays and.
Foundations of Computer Graphics (Fall 2012) CS 184, Lectures 13,14: Reviews Transforms, OpenGL
Computer Graphics Lecture 06 Fasih ur Rehman. Last Class Overview of Graphic Systems – LED Display – Plasma TV – Hardcopy Devices – Input Devices Human.
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.
Computer Graphics Lecture 32 Fasih ur Rehman. 3D Transforms The idea of 3D transforms is the same as that of 2D – A 3D point is represented by (x, y,
Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas.
Computer Graphics Lecture 08 Fasih ur Rehman. Last Class Ray Tracing.
Computer Graphics 3D Transformations. Translation.
Section 9.2 Adding and Subtracting Matrices Objective: To add and subtract matrices.
Transformations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
Computer Graphics Lecture 02 Fasih ur Rehman. Last Class Introduction to Computer Graphics Areas Application.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
Computer Graphics Lecture 20 Fasih ur Rehman. Last Class Clipping – What is clipping – Why we do clipping – How clipping is done.
Lecture 5: Introduction to 3D
Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.
Computer Graphics Lecture 26 Fasih ur Rehman. Last Class Shading Phong Reflection Model.
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.
Computer Graphics Lecture 17 Fasih ur Rehman. Last Class 3D Transforms Inverse Rotation.
Computer Graphics Lecture 25 Fasih ur Rehman. Last Class Shading.
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
Computer Graphics Lecture 09 Fasih ur Rehman. Last Class Viewing – Perspectives – Projections.
Modeling Transformation
Transformations. Modeling Transformations  Specify transformations for objects  Allows definitions of objects in own coordinate systems  Allows use.
Computer Graphics Lecture 15 Fasih ur Rehman. Last Class Combining Transformations Affine versus Rigid body Transformations Homogenous Transformations.
Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Coordinate Change.
Computer Graphics CC416 Week 15 3D Graphics.
Computer Graphics 3D Transformations
3D Geometric Transformations
CS1550 Fundamentals For Computer Graphics Transformations-1
Introduction to Computer Graphics CS 445 / 645
Lecture 7 Geometric Transformations (Continued)
Lecture 18 Fasih ur Rehman
Computer Graphics Transformations
Unit 1 Transformations in the Coordinate Plane
Lecture 08: Coordinate Transformation II
4-4 Geometric Transformations with Matrices
Geometric Transformations for Computer Graphics
The Modelview Matrix Lecture 8 Mon, Sep 10, 2007.
Unit 1 Transformations in the Coordinate Plane
CS1550 Fundamentals For Computer Graphics Transformations-2
Transformations.
Transformations 2 University of British Columbia
TWO DIMENSIONAL TRANSFORMATION
Translation in Homogeneous Coordinates
Presentation transcript:

Computer Graphics Lecture 16 Fasih ur Rehman

Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations – Projective Transformations Combining Homogeneous transformations

Today’s Agenda 3D Transforms Inverse Rotation Clipping

3D Transforms The idea of 3D transforms is the same as that of 2D – A 3D point is represented by (x, y, z) – Homogeneous Coordinates are defined as A 4 th Coordinate is added to every 3D point (x, y, z, t) represents (x/t, y/t, z/t) (x, y, z, 0) represents infinity (0, 0, 0, 0) is not allowed

General 3D Homogeneous Transform

Scaling Scaling matrix

Translation Translation matrix

Reflection Reflection Matrix about yz – plane What are other reflection matrices

Other Reflection Matrices

Rotation Rotation about Z – axis

Rotation Rotation about Y – axis

Rotation Rotation about X – axis

Inverse Rotation

Summary 3D Transforms Inverse Rotation Clipping

References Fundamentals of Computer Graphics Third Edition by Peter Shirley and Steve Marschner Interactive Computer Graphics, A Top-down Approach with OpenGL (Sixth Edition) by Edward Angel.