Animation Keyframe Inverse Kinematic Parametric Scripted

Slides:



Advertisements
Similar presentations
AP Physics C Mechanics Review.
Advertisements

Lectures D25-D26 : 3D Rigid Body Dynamics
Angular Quantities Correspondence between linear and rotational quantities:
Rigid Body Dynamics Jim Van Verth
R2-1 Physics I Review 2 Review Notes Exam 2. R2-2 Work.
1. 2 Rotational Kinematics Linear Motion Rotational Motion positionxangular position velocityv = dx/dtangular velocity acceleration a = dv/dt angular.
John C. Hart CS 318 Interactive Computer Graphics
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
Test 3 today, at 7 pm and 8:15 pm, in Heldenfels 109 Chapters
Computer Graphics Recitation 2. 2 The plan today Learn about rotations in 2D and 3D. Representing rotations by quaternions.
Summer School 2007B. Rossetto1 8. Dynamics of a rigid body  Theorems r CM : location of the center of mass referred to an inertial frame /Oxyz v CM :
Game Physics Chris Miles. The Goal To learn how to create game objects with realistic physics models To learn how to simulate aspects of reality in order.
Euler Rotation. Angular Momentum  The angular momentum J is defined in terms of the inertia tensor and angular velocity. All rotations included  The.
3D Coordinate Systems and Transformations Revision 1
3D orientation.
Forward Kinematics.
CSCE 689: Computer Animation Rotation Representation and Interpolation
Physics 1901 (Advanced) A/Prof Geraint F. Lewis Rm 557, A29
CSCE 441: Computer Graphics Rotation Representation and Interpolation
CSCE 641: Computer Graphics Rotation Representation and Interpolation Jinxiang Chai.
Physics 1A, Section 2 November 15, Translation / Rotation translational motionrotational motion position x angular position  velocity v = dx/dt.
Angular Momentum. Inertia and Velocity  In the law of action we began with mass and acceleration F = maF = ma  This was generalized to use momentum:
PH 201 Dr. Cecilia Vogel Lecture 20. REVIEW  Constant angular acceleration equations  Rotational Motion  torque OUTLINE  moment of inertia  angular.
Computer graphics & visualization Rigid Body Simulation.
Dynamics 101 Jim Van Verth Red Storm Entertainment
Feature-length films: Games: Desktop Animations: Computer Animation.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Game Physics – Part IV Moving to 3D
Computer Assisted Laboratory Experiments in Mechanics Roman Kezerashvili New York City Technical College The City University of New York.
Key Frame Animation and Inverse Kinematics
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Collision handling: detection and response
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Motion Editing (Geometric and Constraint-Based Methods) Jehee Lee.
Concepts for Programming a Rigid Body Physics Engine Part 1 Presented by Scott Hawkins.
© 2005 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Lecture Fall 2001 Physically Based Animation Ordinary Differential Equations Particle Dynamics Rigid-Body Dynamics Collisions.
3D Kinematics Consists of two parts
Sect 5.6: Torque-Free Motion of a Rigid Body
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
8.2 Rotational Dynamics How do you get a ruler to spin on the end of a pencil? Apply a force perpendicular to the ruler. The ruler is the lever arm How.
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
NM Unit 8 Topic(s): Angular Momentum Learning Goals: Adapt linear collision analysis for rotational collision analysis Develop a solution strategy to solve.
Geometric Algebra Dr Chris Doran ARM Research 3. Applications to 3D dynamics.
Angular Momentum Section 8.1 (Ewen et al. 2005) Objectives: Define and calculate moment of inertia. Define and calculate moment of inertia. Define and.
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
3D Game Engine Design 1 3D Game Engine Design Ch D MAP LAB.
Physics 3210 Week 11 clicker questions. Multiplication of a vector by a matrix A is a linear transformation What happens to an eigenvector of A under.
Rick Parent - CIS682 Rigid Body Dynamics simulate basic physics of an object subject to forces Keyframing can be tedious - especially to get ‘realism’
Physics 1A, Section 2 November 11, Translation / Rotation translational motionrotational motion position x angular position  velocity v = dx/dt.
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
Physics 111 Lecture Summaries (Serway 8 th Edition): Lecture 1Chapter 1&3Measurement & Vectors Lecture 2 Chapter 2Motion in 1 Dimension (Kinematics) Lecture.
 The metric system – units, prefixes  Unit conversions  Algebra and trigonometry  Orders of magnitude.
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Feature-length films: Games: Desktop Animations:.
UNIT 6 Rotational Motion & Angular Momentum Rotational Dynamics, Inertia and Newton’s 2 nd Law for Rotation.
1 Geometry for Game. Geometry Geometry –Position / vertex normals / vertex colors / texture coordinates Topology Topology –Primitive »Lines / triangles.
Advanced Computer Graphics Rigid Body Simulation
CPSC 641: Computer Graphics Rotation Representation and Interpolation
Lecture Rigid Body Dynamics.
EECE 478 Game Physics.
Angular Momentum.
Torque and Angular Momentum
Rotational Dynamics Torque and Angular Acceleration
Unit 7 Momentum & Collisions 7.5.
Unit 7 Momentum & Collisions 7.5.
Motion in Real and Virtual Worlds
10 Angular Momentum The Vector Nature of Rotation
GPAT – Chapter 7 Physics.
Presentation transcript:

Animation Keyframe Inverse Kinematic Parametric Scripted Skeletal hierarchy Inverse Kinematic Parametric Scripted CS4995-1: Animation Page 1

Ref: http://www.cs.berkeley.edu/~laura/cs184/quat/quaternion.html Rotations Euler angles – rotations about canonical axes (or in planes) rx, ry, rz or az, el, ro Order of rotation is important singularities at 0o and 90o elevation interpolations are not always “great circle” Quaterions – rotations about a vector i  i = -1 ( = j  j = k  k ) i  j = k ; k  i = j ; j  k = i (non-commutative) conjugate: q = w + xi + yj + zk magnitude: ||q|| = sqrt(w2 + x2 + y2 + z2 ) interpolations follow “great circle” Conversion to and from Euler angles v Ref: http://www.cs.berkeley.edu/~laura/cs184/quat/quaternion.html CS4995-1: Animation Page 2

Dynamics Linear dynamics F = ma or a = F/m v Angular dynamics at = dv/dt = d2x/dt2 vt + at dt = vt+dt = dx/dt xt + vt dt + ½ at dt2 = xt+dt xt+dt = xt + vt dt + ½ Ft/m dt2 Angular dynamics  = I  or  = /I t+dt = t + tdt + ½t/I dt2 I = moment of inertia  = torque  v CS4995-1: Animation Page 3

Conservation of Momentum Linear momentum p = m1v1 = m2v2 v2 = m1v1/m2 (elastic collision) Angular momentum L = I11 = I2 2 1 v1 2 v2 v -v CS4995-1: Animation Page 4

Numerical Integration dx/dt = (x, t) Euler – xi+1= xi + h(x, t) where h = dt Fast, but imprecise… error is O(h2) Multi-step methods: compute intermediate results Predictor-corrector – average slope of  at t and t+1 xpi+1 = xi + h (x, t) xi+1 = xi + ½h ((xi, ti) + (xpi+1, ti+1)) Runge-Kutta – 4th-order solution d1= h (xi, ti) d2 = h (ti+ ½h, xi + ½ d1) d3 = h (ti+ ½h, xi + ½ d2) d4 = h (ti+ h, xi + d3) xi+1 = xi + 1/6 (d1 + 2d2 + 2d3 + d4) Then adapt next step size (h) based on error CS4995-1: Animation Page 5

Collision Detection Bounding volumes Sphere Axis aligned bounding box Oriented bounding box Bounding polygon Intersection testing…. Backing out Space partitioning Projection of position over time CS4995-1: Animation Page 6

Motion Capture Optical markers Point cloud Tracking Editing Marker identification Skeletal mapping Editing CS4995-1: Animation Page 7

Digital Puppetry Real-time performance Quick CS4995-1: Animation Page 8