Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.

Slides:



Advertisements
Similar presentations
Today Composing transformations 3D Transformations
Advertisements

Lecture 3: Transformations and Viewing. General Idea Object in model coordinates Transform into world coordinates Represent points on object as vectors.
Computer Graphics Lecture 4 Geometry & Transformations.
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis IV Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
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.
Projected image of a cube. Classical Calibration.
Math for CSTutorial 11 Matrix Multiplication Rule Matrices make linear transformations of vectors.
7-2 Similarity and transformations
Linear Algebra Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2005.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology 3D Engines and Scene Graphs Spring 2012.
Geometric Objects and Transformations Geometric Entities Representation vs. Reference System Geometric ADT (Abstract Data Types)
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.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Vectors Jeff Chastine.
Eriq Muhammad Adams J. | Informatics University of Brawijaya.
Transformations Aaron Bloomfield CS 445: Introduction to Graphics
Viewing and Projections
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Transformation & Projection Feng Yu Proseminar Computer Graphics :
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Transformations Jehee Lee Seoul National University.
Transformations Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
CAP4730: Computational Structures in Computer Graphics 3D Transformations.
Geometric Objects and Transformation
10/3/02 (c) 2002 University of Wisconsin, CS 559 Last Time 2D Coordinate systems and transformations.
1 Computer Graphics Week9 -3D Geometric Transformation.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Affine Transformations.
Mark Nelson 3d projections Fall 2013
4.4 Transformations with Matrices 1.Translations and Dilations 2.Reflections and Rotations.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
4-4 Geometric Transformations with Matrices Objectives: to represent translations and dilations w/ matrices : to represent reflections and rotations with.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Transformations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Mathematics. Session Vectors -2 Session Objectives  Vector (or Cross) Product  Geometrical Representation  Properties of Vector Product  Vector Product.
1 Graphics CSCI 343, Fall 2015 Lecture 9 Geometric Objects.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
Honours Graphics 2008 Session 3. Today’s focus Perspective and orthogonal projection Quaternions Graphics camera.
Computer Graphics Matrices
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
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.
CS 551 / 645: Introductory Computer Graphics Viewing Transforms.
4. Affine transformations. Reading Required:  Watt, Section 1.1. Further reading:  Foley, et al, Chapter  David F. Rogers and J. Alan Adams,
2.4 Modeling Motion in Matrices Objectives: 1.Use matrices to determine the coordinates of polygons under a given transformation.
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Math Fundamentals Maths revisit.
Geometric Transformations Hearn & Baker Chapter 5
Computer Graphics CC416 Week 15 3D Graphics.
Review: Transformations
3D Geometric Transformations
Intro to 3D Graphics.
Graphics Fundamentals
Points, Vectors, Lines, Spheres and Matrices
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
7-2 Similarity and transformations
3D Graphics Rendering PPT By Ricardo Veguilla.
Viewing and Perspective Transformations
4-4 Geometric Transformations with Matrices
Geometrical Transformations
Transformations.
Presentation transcript:

Honours Graphics 2008 Session 2

Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space

Vector and matrix 3D representation typically requires at least a 3- component representation for vertices and matrices:

Homogenous vectors and matrices …but in practise the use of 4 component homogenous vectors and matrices is common Allows affine transformations using only matrix multiplication (translation, scaling, rotation, etc)

Vector math Treated as 3-component vectors (ignore last component)

Vector math, dot product Definition Property

Vector math, cross product Definition Property

Transformations Rotations

Transformations Translation Scaling

Concatenation Transformations can be concatenated Apply from right to left Not commutative!

Coordinate spaces Typically all objects are defined in their own object coordinate space World coordinate space relates the various objects with each other by transforming each object as appropriate:

Coordinate spaces, cont. Camera space is similar to world space, but relative to the camera – defines what can be seen through the camera’s field of view Screen space (or homogenous coordinate representation of the screen) describes what is seen through projection of the camera space onto the visible plane

Homework Create “Hello World”-equivalents for 3D graphics, one program each for: drawing individual pixels, rendering a triangle, rendering a rotating cube For tomorrow