Kinematics & Dynamics



Similar documents
Graphics. Computer Animation 고려대학교 컴퓨터 그래픽스 연구실. kucg.korea.ac.kr 1

Today. Keyframing. Procedural Animation. Physically-Based Animation. Articulated Models. Computer Animation & Particle Systems

animation animation shape specification as a function of time

animation shape specification as a function of time

Computer Animation. Connelly Barnes CS 4810: Graphics

Introduction to Computer Graphics Marie-Paule Cani & Estelle Duveau

2.5 Physically-based Animation

Computers in Film Making

Dipartimento di Tecnologie dell Informazione Università di MIlano. Physics Engines LOGO

CS408 Animation Software Design Sample Exam Questions (Second Half)

C O M P U C O M P T U T E R G R A E R G R P A H I C P S Computer Animation Guoying Zhao 1 / 66 /

Computer Animation. Lecture 2. Basics of Character Animation

Newton s Laws. Physics 1425 lecture 6. Michael Fowler, UVa.

Interactive Computer Graphics

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

Fundamentals of Computer Animation

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

The 3D rendering pipeline (our version for this class)

D animation. Advantages of 2-D2. Advantages of 3-D3. Related work. Key idea. Applications of Computer Graphics in Cel Animation.

Lecture L2 - Degrees of Freedom and Constraints, Rectilinear Motion

1.(6pts) Find symmetric equations of the line L passing through the point (2, 5, 1) and perpendicular to the plane x + 3y z = 9.

Mathematical Modeling and Engineering Problem Solving

ACCELERATION DUE TO GRAVITY

Geometric Constraints

Computer Animation. Computer Animation. Principles of Traditional Animation. Outline. Principles of Traditional Animation

Structural Modeling of Flames for a Production Environment

Review Vocabulary force: a push or a pull. Vocabulary Newton s third law of motion

Introduction Computer stuff Pixels Line Drawing. Video Game World 2D 3D Puzzle Characters Camera Time steps

AP Physics C. Oscillations/SHM Review Packet

Lecture PowerPoints. Chapter 7 Physics: Principles with Applications, 6 th edition Giancoli

Animation. Persistence of vision: Visual closure:

Lab #4 - Linear Impulse and Momentum

Kinematical Animation

Lecture L14 - Variable Mass Systems: The Rocket Equation

Fluid Dynamics and the Navier-Stokes Equation

EDUH SPORTS MECHANICS

PHY231 Section 2, Form A March 22, Which one of the following statements concerning kinetic energy is true?

Torque Analyses of a Sliding Ladder

Behavioral Animation Simulation of Flocking Birds

PHY231 Section 1, Form B March 22, 2012

Lab 8: Ballistic Pendulum

Physics 211 Lecture 4

Motion Capture Technologies. Jessica Hodgins

CG T17 Animation L:CC, MI:ERSI. Miguel Tavares Coimbra (course designed by Verónica Orvalho, slides adapted from Steve Marschner)

Problem Set #8 Solutions

Dimensional analysis is a method for reducing the number and complexity of experimental variables that affect a given physical phenomena.

Dynamics of Multibody Systems: Conventional and Graph-Theoretic Approaches

Animations in Creo 3.0

Newton s Law of Motion

Lesson 11. Luis Anchordoqui. Physics 168. Tuesday, December 8, 15

SOFA an Open Source Framework for Medical Simulation

XI / PHYSICS FLUIDS IN MOTION 11/PA

PHY121 #8 Midterm I

THE UNIVERSITY OF TEXAS AT AUSTIN Department of Aerospace Engineering and Engineering Mechanics. EM 311M - DYNAMICS Spring 2012 SYLLABUS

ART 269 3D Animation Fundamental Animation Principles and Procedures in Cinema 4D

Displacement (x) Velocity (v) Acceleration (a) x = f(t) differentiate v = dx Acceleration Velocity (v) Displacement x

Physics Notes Class 11 CHAPTER 3 MOTION IN A STRAIGHT LINE

THEORETICAL MECHANICS

AP1 Oscillations. 1. Which of the following statements about a spring-block oscillator in simple harmonic motion about its equilibrium point is false?

Forces. When an object is pushed or pulled, we say that a force is exerted on it.

Numerical Solution of Differential Equations

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Motion of a Leaky Tank Car

Chapter 3.8 & 6 Solutions

This week. CENG 732 Computer Animation. Challenges in Human Modeling. Basic Arm Model

SOLUTIONS TO CONCEPTS CHAPTER 15

Chapter 5 Using Newton s Laws: Friction, Circular Motion, Drag Forces. Copyright 2009 Pearson Education, Inc.

CS 4204 Computer Graphics

PROBLEM SET. Practice Problems for Exam #1. Math 2350, Fall Sept. 30, 2004 ANSWERS

Basic Principles in Microfluidics

Homework 2 Solutions

Republic Polytechnic School of Information and Communications Technology C391 Animation and Visual Effect Automation.

Isaac Newton s ( ) Laws of Motion

5. Forces and Motion-I. Force is an interaction that causes the acceleration of a body. A vector quantity.

Conceptual Questions: Forces and Newton s Laws

Contents. Stage 7. Stage 8. Stage 9. Contents. Key: Enquiry / Extension / Review BOLD PAGE NO. = in this booklet

Modelling 3D Avatar for Virtual Try on

PROGRAM CONCENTRATION: Business & Computer Science. COURSE TITLE: Introduction to Animation and 3d Design

Rotation: Moment of Inertia and Torque

Chapter 9. particle is increased.

Our One-Year 3D Animation Program is a comprehensive training in 3D using Alias

Inertia, Forces, and Acceleration: The Legacy of Sir Isaac Newton

Physics 41 HW Set 1 Chapter 15

TOP VIEW. FBD s TOP VIEW. Examination No. 2 PROBLEM NO. 1. Given:

STATICS. Introduction VECTOR MECHANICS FOR ENGINEERS: Eighth Edition CHAPTER. Ferdinand P. Beer E. Russell Johnston, Jr.

Projectile motion simulator.

Fluid Dynamics Basics

Acceleration levels of dropped objects

Problem 6.40 and 6.41 Kleppner and Kolenkow Notes by: Rishikesh Vaidya, Physics Group, BITS-Pilani

Practical Work DELMIA V5 R20 Lecture 1. D. Chablat / S. Caro Damien.Chablat@irccyn.ec-nantes.fr Stephane.Caro@irccyn.ec-nantes.fr

Objective: Equilibrium Applications of Newton s Laws of Motion I

Derivatives as Rates of Change

Science Standard Articulated by Grade Level Strand 5: Physical Science

B2.53-R3: COMPUTER GRAPHICS. NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

Chapter 1. Introduction. 1.1 The Challenge of Computer Generated Postures

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

Motion Retargetting and Transition in Different Articulated Figures

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

Transcription:

Overview Kinematics & Dynamics Adam Finkelstein Princeton University COS 46, Spring 005 Kinematics Considers only motion Determined by positions, velocities, accelerations Dynamics Considers underlying forces Compute motion from initial conditions and physics Example: -Link Structure Two links connected by rotational joints Forward Kinematics Animator specifies joint angles:! and! Computer finds positions of end-effector: X! l End-Effector! l l l!! X = ( l cos! + l cos(! +! ), l sin! + l sin(! +! )) Forward Kinematics Joint motions can be specified by spline curves Forward Kinematics Joint motions can be specified by initial conditions and velocities! l! l!! l! l (0) = 60 o (0) = 50 o! t d =. dt d =! 0. dt

Example: -Link Structure What if animator knows position of end-effector Animator specifies end-effector positions: X Computer finds joint angles:! and! :! l! l End-Effector! l! l ( = cos ( l sin(! ) x + ( l + l cos(! )) y! = ( l sin(! )) y + ( l + l cos(! )) x ' & x $ % + x ' l l l ' l #! End-effector postions specified by spline curves! l Problem for more complex structures System of equations is usually under-defined Multiple solutions l! l l 3! x l! 3! y t Three unknowns:!,!,! 3 Two equations: x, y Solution for more complex structures: Find best solution (e.g., minimize energy in motion) Non-linear optimization Style-based IK: optimize for learned style! l l 3 l! 3! Growchow 04

Summary of Kinematics Forward kinematics Specify conditions (joint angles) Compute positions of end-effectors Inverse kinematics Goal-directed motion Specify goal positions of end effectors Compute conditions required to achieve goals Inverse kinematics provides easier specification for many animation tasks, but it is computationally more difficult Overview Kinematics Considers only motion Determined by positions, velocities, accelerations Dynamics Considers underlying forces Compute motion from initial conditions and physics Active dynamics: objects have muscles or motors Passive dynamics: external forces only Dynamics Simulation of physics insures realism of motion Animator specifies constraints: What the character s physical structure is» e.g., articulated figure What the character has to do» e.g., jump from here to there within time t What other physical structures are present» e.g., floor to push off and land How the motion should be performed» e.g., minimize energy Lasseter `87 Computer finds the best physical motion satisfying constraints Example: particle with jet propulsion x(t) is position of particle at time t f(t) is force of jet propulsion at time t Particle s equation of motion is: mx' '! f! mg = 0 Suppose we want to move from a to b within t 0 to t with minimum jet fuel: Minimize t! t0 f ( t) dt subject to x(t 0 )=a and x(t )=b Discretize time steps: xi! xi! x' i = h xi+! xi + x x'' i = h ' xi+! xi + xi! $ m% x' ' i =!! fi mg & h # =! i f i i! Minimize h subject to x 0 =a and x =b 0

Solve with iterative optimization methods Advantages: Free animator from having to specify details of physically realistic motion with spline curves Easy to vary motions due to new parameters and/or new constraints Challenges: Specifying constraints and objective functions Avoiding local minima during optimization Adapting motion: Adapting motion: Original Jump Hurdle Heavier Base Motion Sketching Adapting motion: Plausible motion matches sketched constraints Ski Jump Popovic 03

Passive Dynamics Advantages: Other physical simulations: Free animator from having to specify details of physically realistic motion with spline curves Easy to vary motions due to new parameters and/or new constraints Challenges: Rigid bodies Soft bodies Cloth Liquids Gases etc. Cloth Specifying constraints and objective functions Avoiding local minima during optimization (Baraff & Witkin `98) Hot Gases (Foster & Metaxas `97) Particle Systems Particle Systems A particle is a point mass Mass Position Velocity Acceleration Color Lifetime For each frame: v Create new particles and assign attributes Delete any expired particles Update particles based on attributes and physics Render particles p = (x,y,z) Use lots of particles to model complex phenomena Keep array of particles Creating/Deleting Particles Where to create particles? Around some center Along some path Surface of shape Where particle density is low Example: Wrath of Khan This is where user controls animation When to delete particles? Where particle density is high Life span Random Reeves

Example: Wrath of Khan Example: Wrath of Khan Reeves Equations of Motion Reeves Solving the Equations of Motion Newton s Law for a point mass Initial value problem f = ma Know p(0), v(0), a(0) Can compute force at any time and position Compute p(t) by forward integration Update every particle for each time step a(t+#t) = g v(t+#t) = v(t) + a(t)*#t p(t+#t) = p(t) + v(t)*#t + a(t)*#t/ f p(0) p(t) Hodgins Solving the Equations of Motion Solving the Equations of Motion Euler integration Euler integration p(t+#t)=p(t) + #t f(x,t) p(t+#t)=p(t) + #t f(x,t) Problem: Accuracy decreases as #t gets bigger Hodgins Hodgins

Solving the Equations of Motion Midpoint method ( nd order Runge-Kutta) Compute an Euler step Evalute f at the midpoint Take an Euler step using midpoint force» p(t+#t)=p(t) + #t f( p(t) + 0.5*#t f(t),t) Solving the Equations of Motion Adapting step size Compute p a by taking one step of size h Compute p b by taking steps of size h/ Error = p a - p b Adjust step size by factor (epsilon/error) /f p b error p a Hodgins Particle System Forces Force fields Gravity, wind, pressure Viscosity/damping Liquids, drag Collisions Environment Other particles Other particles Springs between neighboring particles (mesh) Useful for cloth Rendering Particles Volumes Ray casting, etc. Points Render as individual points Line segments Motion blur over time Example: Fountain More Passive Dynamics Examples Spring meshes Level sets Collisions etc. Particle System API

Example: Cloth Example: Smoke Example: Water Example: Water Example: Rigid Body Contact Summary Kinematics Forward kinematics» Animator specifies joints (hard)» Compute end-effectors (easy - assn 4!) Inverse kinematics» Animator specifies end-effectors (easier)» Solve for joints (harder) Dynamics Space-time constraints» Animator specifies structures & constraints (easiest)» Solve for motion (hardest) Also other physical simulations