University of British Columbia © MIchiel van de Panne An Introduction to Computer Animation Michiel van de Panne.

Slides:



Advertisements
Similar presentations
Animation Following “Advanced Animation and Rendering Techniques” (chapter 15+16) By Agata Przybyszewska.
Advertisements

3D Graphics for Game Programming (J. Han) Chapter XI Character Animation.
Chris Hall Aerospace and Ocean Engineering
Computer Animation Algorithms and Techniques
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2007 Tamara Munzner Transformations III Week.
University of British Columbia CPSC 314 Computer Graphics May-June 2005 Tamara Munzner Transformations I, II,
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Transformations III Week.
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
Transformations IV Week 3, Wed Jan 23
Computer Graphics Recitation 2. 2 The plan today Learn about rotations in 2D and 3D. Representing rotations by quaternions.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
© Tamara Munzner University of British Columbia Hierarchical modelling recap: composing transforms recap: composing transforms finish: rendering pipeline.
Ch. 2: Rigid Body Motions and Homogeneous Transforms
3D orientation.
CSCE 689: Computer Animation Rotation Representation and Interpolation
CSCE 441: Computer Graphics Rotation Representation and Interpolation
CSCE 641: Computer Graphics Rotation Representation and Interpolation Jinxiang Chai.
Midterm Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2004.
University of British Columbia CPSC 414 Computer Graphics Week 3, Monday 15 Oct 03 © Tamara Munzner 1 Hierarchies, Display Lists recap: matrix hierarchies,
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Tamara Munzner Transformations III Week.
Orientations Goal: –Convenient representation of orientation of objects & characters in a scene Applications to: – inverse kinematics –rigid body simulation.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Technical Background.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology 3D Engines and Scene Graphs Spring 2012.
Lecture Fall 2001 Computer Animation Fundamentals Animation Methods Keyframing Interpolation Kinematics Inverse Kinematics.
More details and examples on robot arms and kinematics
CS 450: COMPUTER GRAPHICS 3D TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
1 Kinematics ( 運動學 ) Primer Jyun-Ming Chen Fall 2009.
Visualizing Orientation using Quaternions Gideon Ariel; Rudolf Buijs; Ann Penny; Sun Chung.
Rotations and Translations
3D Kinematics Consists of two parts 3D rotation 3D translation  The same as 2D 3D rotation is more complicated than 2D rotation (restricted to z- axis)
Mathematics for Computer Graphics (Appendix A) Won-Ki Jeong.
CS 450: COMPUTER GRAPHICS QUATERNIONS SPRING 2015 DR. MICHAEL J. REALE.
Key Frame Animation and Inverse Kinematics
Chapter 2 Robot Kinematics: Position Analysis
1 KIPA Game Engine Seminars Jonathan Blow Ajou University December 13, 2002 Day 16.
CSC418 Computer Graphics n Animation Principles n Keyframe Animation.
Rotations and Translations
Rick Parent - CIS681 ORIENTATION Use Quaternions Interpolating rotations is difficult.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Interpolating Values.
Advanced Computer Graphics Spring 2014
110/27/ :47 Graphics II Animation Introduction and Motion Control Session 6.
Adapting Wavelet Compression to Human Motion Capture Clips Philippe Beaudoin 1 Pierre Poulin 1 Michiel van de Panne 2 1 Université de Montréal, LIGUM 2.
Animation Dr. Amy Zhang Lecture 8. Reading 2  Hill, Chapters 5 / 7 / 10  Red Book, Chapter 3, “Viewing”  Red Book, Chapter 12, “Evaluators and NURBS”
EEE. Dept of HONG KONG University of Science and Technology Introduction to Robotics Page 1 Lecture 2. Rigid Body Motion Main Concepts: Configuration Space.
Rotation and Orientation: Fundamentals Jehee Lee Seoul National University.
CS 551/645 Fall 2000 Parameterized Rotations, Curves, and Surfaces.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
Comparing Two Motions Jehee Lee Seoul National University.
Transformations
CS 551/651 Advanced Graphics Technical Background.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Hierarchical Modeling.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
CS559: Computer Graphics Lecture 13: Hierarchical Modeling and Curves Li Zhang Spring 2010.
1 Dr. Scott Schaefer Quaternions and Complex Numbers.
Transformations and Euler Angles Sebastian van Delden USC Upstate
Computer Animation Algorithms and Techniques
CPSC 641: Computer Graphics Rotation Representation and Interpolation
Transformations 5 University of British Columbia
3D Kinematics Consists of two parts
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Transformations 6 University of British Columbia
Orientation3D in Three.JS
Rotation Representations
Transformations IV Week 3, Wed Jan 20
Transformations 4 University of British Columbia
Types of Animation.
Transformations IV Week 3, Mon Jan 22
Transformations III Week 3, Mon Jan 21
Transformations IV Week 3, Wed Jan 23
Presentation transcript:

University of British Columbia © MIchiel van de Panne An Introduction to Computer Animation Michiel van de Panne

© Michiel van de Panne University of British Columbia Overview (1)Creating Animations (2)Representing Rotations

© Michiel van de Panne University of British Columbia (1) Creating Animations algorithm userdata (parameterized models, physics, optimization) (keyframes) (motion capture)

© Michiel van de Panne University of British Columbia Representing motion DOF vs timeDOF vs time cubic polynomial curvescubic polynomial curves t x in-out fast linear smooth alternative for motion through space:alternative for motion through space: x y + v t apply arc-length reparameterization

© Michiel van de Panne University of British Columbia (2) Representing Rotations torso head RUarm RLarm Rhand RUleg RLleg Rfoot LUarm LLarm Lhand LUleg LLleg Lfootworld trans(0.30,0,0) rot(z, )

© Michiel van de Panne University of British Columbia Transformation Hierarchies Example x y glTranslate3f(x,y,0); glRotatef(,0,0,1); DrawBody();glPushMatrix(); glTranslate3f(0,7,0); glTranslate3f(0,7,0); DrawHead(); DrawHead();glPopMatrix();glPushMatrix(); glTranslate(2.5,5.5,0); glTranslate(2.5,5.5,0); glRotatef(,0,0,1); glRotatef(,0,0,1); DrawUArm(); DrawUArm(); glTranslate(0,-3.5,0); glTranslate(0,-3.5,0); glRotatef(,0,0,1); glRotatef(,0,0,1); DrawLArm(); DrawLArm();glPopMatrix();... (draw other arm)

© Michiel van de Panne University of British Columbia Rotation DOFs 2D: 1 DOF2D: 1 DOF 3D: 3 DOF3D: 3 DOF 4D: 6 DOF4D: 6 DOF

© Michiel van de Panne University of British Columbia Transformations Rotation glRotatef(angle,x,y,z);glRotated(angle,x,y,z);

© Michiel van de Panne University of British Columbia 3x3 Rotation Matrix

© Michiel van de Panne University of British Columbia 3x3 Rotation Matrix 9 elements9 elements 6 constraints6 constraints renormalization algorithmsrenormalization algorithms extracting pure rotational component (polar decomp)extracting pure rotational component (polar decomp)... and determinant = 1

© Michiel van de Panne University of British Columbia Rotations SO(3) rotations do not commuterotations do not commute require at least 4 parameters for a smooth parameterizationrequire at least 4 parameters for a smooth parameterization –analogy: surface of the earth  2D surface, 3 params combing the hairy ballcombing the hairy ball –camera orientation: view object from any dir

© Michiel van de Panne University of British Columbia Rotations orientation vs rotation?orientation vs rotation? how to specify?how to specify? how to interpolate?how to interpolate? 2D vs 3D2D vs 3D

© Michiel van de Panne University of British Columbia Fixed Angle Representations fixed sequence of 3 rotationsfixed sequence of 3 rotations –RPY orientation: rollpitchyaw can use many ordering of axescan use many ordering of axes Euler angles:Euler angles:

© Michiel van de Panne University of British Columbia Euler’s Rotation Theorem can always go from one orientation to another with one rotation about a single axiscan always go from one orientation to another with one rotation about a single axis 180 deg about line in xy-plane where

© Michiel van de Panne University of British Columbia Quaternions review of complex numbersreview of complex numbers quaternionsquaternions

© Michiel van de Panne University of British Columbia Quaternions rotation of a vectorrotation of a vector two successive rotationstwo successive rotations

© Michiel van de Panne University of British Columbia Quaternions RH rule unit quaternionsunit quaternions additionaddition multiplicationmultiplication