Advanced Computer Graphics (2IV40) ~ 3D Transformations. Types (geometric) Types (algebraic) 3D Transformations. y + c 1. x = a 1.



Similar documents
Affine Transformations

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

2D Geometrical Transformations. Foley & Van Dam, Chapter 5

Essential Mathematics for Computer Graphics fast

w = COI EYE view direction vector u = w ( 010,, ) cross product with y-axis v = w u up vector

Teacher Page. 1. Reflect a figure with vertices across the x-axis. Find the coordinates of the new image.

Metrics on SO(3) and Inverse Kinematics

B4 Computational Geometry

CIS 536/636 Introduction to Computer Graphics. Kansas State University. CIS 536/636 Introduction to Computer Graphics

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Friday 18 th January 2008.

SECTION 2.2. Distance and Midpoint Formulas; Circles

COMPONENTS OF VECTORS

Connecting Transformational Geometry and Transformations of Functions

Graphing Linear Equations

Introduction to Computer Graphics Marie-Paule Cani & Estelle Duveau

INVESTIGATIONS AND FUNCTIONS Example 1

Section 7.2 Linear Programming: The Graphical Method

Math 259 Winter Recitation Handout 1: Finding Formulas for Parametric Curves

In this this review we turn our attention to the square root function, the function defined by the equation. f(x) = x. (5.1)

Chapter 8. Lines and Planes. By the end of this chapter, you will

2D Geometric Transformations

Physics 53. Kinematics 2. Our nature consists in movement; absolute rest is death. Pascal

Computer Animation. Lecture 2. Basics of Character Animation

2.1 Three Dimensional Curves and Surfaces

Section V.2: Magnitudes, Directions, and Components of Vectors

Example 1: Model A Model B Total Available. Gizmos. Dodads. System:

SECTION 7-4 Algebraic Vectors

Linear Equations in Linear Algebra

Projective Geometry. Projective Geometry

Realtime 3D Computer Graphics Virtual Reality

Solving Quadratic Equations by Graphing. Consider an equation of the form. y ax 2 bx c a 0. In an equation of the form

Cross Products and Moments of Force

Interactive Computer Graphics

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

Geometric Camera Parameters

Identifying second degree equations

4BA6 - Topic 4 Dr. Steven Collins. Chap. 5 3D Viewing and Projections

Find the Relationship: An Exercise in Graphing Analysis

Downloaded from equations. 2.4 The reciprocal function x 1 x

Kinematical Animation

1.5 SOLUTION SETS OF LINEAR SYSTEMS

LINEAR FUNCTIONS OF 2 VARIABLES

Solving Simultaneous Equations and Matrices

Chapter 6 Quadratic Functions

Geometric Transformation CS 211A

Animations in Creo 3.0

2. Dynamics, Control and Trajectory Following

Mechanics lecture 7 Moment of a force, torque, equilibrium of a body

EQUATIONS OF LINES IN SLOPE- INTERCEPT AND STANDARD FORM

Questions. Strategies August/September Number Theory. What is meant by a number being evenly divisible by another number?

Graphing Quadratic Equations

ACT Math Vocabulary. Altitude The height of a triangle that makes a 90-degree angle with the base of the triangle. Altitude

2.6. The Circle. Introduction. Prerequisites. Learning Outcomes

animation shape specification as a function of time

Animation (-4, -2, 0 ) + (( 2, 6, -4 ) - (-4, -2, 0 ))*.75 = (-4, -2, 0 ) + ( 6, 8, -4)*.75 = (.5, 4, -3 ).

animation animation shape specification as a function of time

Fundamentals of Computer Animation

Systems of Linear Equations: Solving by Substitution

Number Sense and Operations

Geometry: Unit 1 Vocabulary TERM DEFINITION GEOMETRIC FIGURE. Cannot be defined by using other figures.

COMPLEX STRESS TUTORIAL 3 COMPLEX STRESS AND STRAIN

Maya 2014 Basic Animation & The Graph Editor

Math, Trigonometry and Vectors. Geometry. Trig Definitions. sin(θ) = opp hyp. cos(θ) = adj hyp. tan(θ) = opp adj. Here's a familiar image.

Coriolis acceleration

The Slope-Intercept Form

An inertial haptic interface for robotic applications

Math for Game Programmers: Dual Numbers. Gino van den Bergen

Basic CAD/CAM. CHAPTER 5: Geometric Transformation

Lines and Planes 1. x(t) = at + b y(t) = ct + d

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries

Plane Stress Transformations

Given a point cloud, polygon, or sampled parametric curve, we can use transformations for several purposes:

Cabri Geometry Application User Guide

Core Maths C2. Revision Notes

Solving Systems of Linear Equations With Row Reductions to Echelon Form On Augmented Matrices. Paul A. Trogdon Cary High School Cary, North Carolina

ES240 Solid Mechanics Fall Stress field and momentum balance. Imagine the three-dimensional body again. At time t, the material particle ( x, y,

Zero and Negative Exponents and Scientific Notation. a a n a m n. Now, suppose that we allow m to equal n. We then have. a am m a 0 (1) a m

Linear Equations in Two Variables

Chapter 3 & Determine whether the pair of equations represents parallel lines. Work must be shown. 2) 3x - 4y = 10 16x + 8y = 10

Geometry Course Summary Department: Math. Semester 1

Animation. Persistence of vision: Visual closure:

Motion Capture Technologies. Jessica Hodgins

CS 4204 Computer Graphics

Complex Numbers. w = f(z) z. Examples

LINES AND PLANES CHRIS JOHNSON

TWO-DIMENSIONAL TRANSFORMATION

Section 11.4: Equations of Lines and Planes

sin(θ) = opp hyp cos(θ) = adj hyp tan(θ) = opp adj

EQUILIBRIUM STRESS SYSTEMS

3D Stress Components. From equilibrium principles: τ xy = τ yx, τ xz = τ zx, τ zy = τ yz. Normal Stresses. Shear Stresses

CHAPTER 10 SYSTEMS, MATRICES, AND DETERMINANTS

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

DISTANCE, CIRCLES, AND QUADRATIC EQUATIONS

Addition and Subtraction of Vectors

Lecture 1 Introduction Rectangular Coordinate Systems Vectors Lecture 2 Length, Dot Product, Cross Product Length...

Geometry Unit 1 Geometric Transformations Lesson Plan (10 days)

Lecture 2: Homogeneous Coordinates, Lines and Conics

Transcription:

Advanced Computer Graphics (2IV40) ~ 3D Transformations Kees Huiing Huub van de Wetering Winter 2005/6 Tpes (geometric) maintain distances & orientation (LH/RH): rigid bod transforms (rotations, translations) maintain distances: congruences (+ reflections) maintain straight lines & parallelism: affine transformations (+ shears, scalings) maintain straight lines: projective transformations...: e.g., morphing 1 3 3D Transformations Mainl interested in bijections (3D!3D) for: navigation, object movement hierarchical modelling coordinate transformations Three views: Geometr Algebra Information Tpes (algebraic) linear transformations: ( ) plus translations: 1 2-1 2 3 4-1 -2-3 = a 1 + b 1 + c 1 + d 1 = a 2 + b 2 + c 2 + d 2 = a 3 + b 3 + c 3 + d 3 2 4

Tpes (information) Homogeneous coordinates: ( )( ) a 1 b 1 c 1 d 1 a 2 b 2 c 2 d 2 a 3 b 2 c 2 d 3 0 0 0 1 1 3D schaling (scaling) Schaal met factoren s, s,s : = s, = s, = s ofwel projective transform all affine transforms b matri multiplications intersecting alwas ields a solution H&B 5-:275-278 5 7 3D Translatie (translation) In 4D homogene coördinaten: T P P+T 3D reflection (spiegeling) Reflection in line l (reflection ais) : = 180 rotation about l Reflection in plane: converts right-handed coordinate ss into left-handed Eample: reflection in -plane: H&B 5-10:262-263 H&B 5-14:281 6 8

3D shearing (afschuiving) See also 2D Eample: shear parallel to -plane : Rigid bod transforms!! Preserve: angles distances orientation two classes onl: translations rotations H&B 5-14:282 9 11 3D Rotatie om willekeurige as 3 Rigid bod transforms!! Preserve: Initieel 1. transleer as 2. roteer as angles distances orientation two classes onl: 3. roteer om as 4. roteer as terug 5. transleer as terug translations rotations 10 11

How to specif rotations? How to specif rotations? one etra needed for rotation about own ais How to specif rotations? How to specif rotations? one etra needed for rotation about own ais ==> three DOFs

How to specif rotations? Euler 2: gimbal lock Order is fied, e.g., H(ead) P(itch) R(oll) one etra needed for rotation about own ais ==> three DOFs Euler angles Eample: after H 0 o, P 90 o we can t rotate about world -ais anmore. Originall: problem with groscopes in airplanes Also: problem when specifing rotations in animations etc. 14 Euler angles intuitive wa to orient an object (or ourself) Yaw/Head Pitch - Roll Fied order, e.g., head-pitch-roll 13 15

About two hours after the Apollo 11 landing, Command Module Pilot Mike Collins had the following conversation with CapCom Owen Garriott. 104:59:35 Garriott: Columbia, Houston. We noticed ou are maneuvering ver close to gimbal lock. I suggest ou move back awa. Over. 104:59:43 Collins: Yeah. I am going around it, doing a CMC Auto maneuver to the Pad values of roll 270, pitch 101, aw 45. 104:59:52 Garriott: Roger, Columbia. (Long Pause) 105:00:30 Collins: (Faint, joking) How about sending me a fourth gimbal for Christmas. [Armstrong - "This is Mike at his best. We had a four-gimbal platform on Gemini."] Gimbal lock algebraicall Show how gimbal lock can remove a DOF b computing the Euler matri for Head h, Pitch 90º, Roll r 15 16 About two hours after the Apollo 11 landing, Command Module Pilot Mike Collins had the following conversation with CapCom Owen Garriott. 104:59:35 Garriott: Columbia, Houston. We noticed ou are maneuvering ver close to gimbal lock. I suggest ou move back awa. Over. 104:59:43 Collins: Yeah. I am going around it, doing a CMC Auto maneuver to the Pad values of roll 270, pitch 101, aw 45. 104:59:52 Garriott: Roger, Columbia. (Long Pause) 105:00:30 Collins: (Faint, joking) How about sending me a fourth gimbal for Christmas. [Armstrong - "This is Mike at his best. We had a four-gimbal platform on Gemini."] Alternative to Euler angles Better specification model: Quaternions First: more about rotations ==> Switch to handout Motion control kinematic, ch. 13 from Alan Watt and Fabio Policarpo. 3D Games Volume 1. Note: the word gimbal comes from gemini! 15 17