Game Technology Animation V2005-08-1.1. 2 Generate motion of objects using numerical simulation methods Physically Based Animation.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

Stable Fluids A paper by Jos Stam.
Lecture on Numerical Analysis Dr.-Ing. Michael Dumbser
Numeric Integration Methods Jim Van Verth Red Storm Entertainment
Real-Time Game Physics
1cs533d-winter-2005 Notes  Assignment 1 is not out yet :-)  courses/533d-winter-2005.
1 Computer Graphics Physical simulation for animation Case study: The jello cube The Jello Cube Mass-Spring System Collision Detection Integrators.
Integration Techniques
Ecosystem Modeling I Kate Hedstrom, ARSC November 2008.
Ordinary Differential Equations
Blender Particle Fluids. Blender Particle Fluids integrate into the existent powerful Blender particle system a fluid simulation tool that allows a wide.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
1cs542g-term Notes. 2 Solving Nonlinear Systems  Most thoroughly explored in the context of optimization  For systems arising in implicit time.
1cs542g-term Notes  Final exam: December 10, 10am-1pm X736 (CS Boardroom)  Another extra class this Friday 1-2pm.
1Notes. 2 Building implicit surfaces  Simplest examples: a plane, a sphere  Can do unions and intersections with min and max  This works great for.
1Notes. 2 Triangle intersection  Many, many ways to do this  Most robust (and one of the fastest) is to do it based on determinants  For vectors a,b,c.
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
Particle Systems 1 Adapted from: E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012.
Interactive Animation of Structured Deformable Objects Mathieu Desbrun Peter Schroder Alan Barr.
MECH300H Introduction to Finite Element Methods Lecture 10 Time-Dependent Problems.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Numerical Solutions of Ordinary Differential Equations
Particle Systems Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University.
Finite Difference Methods to Solve the Wave Equation To develop the governing equation, Sum the Forces The Wave Equation Equations of Motion.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
A) Find the velocity of the particle at t=8 seconds. a) Find the position of the particle at t=4 seconds. WARMUP.
Ordinary Differential Equations (ODEs)
Computer graphics & visualization Rigid Body Simulation.
Dynamics 101 Jim Van Verth Red Storm Entertainment
Numerical Solution of Ordinary Differential Equation
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Numerical Solutions to ODEs Nancy Griffeth January 14, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis.
First Order Linear Equations Integrating Factors.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Game Physics – Part I Dan Fleck Coming up: Rigid Body Dynamics.
Erin Catto Blizzard Entertainment Numerical Integration.
ME451 Kinematics and Dynamics of Machine Systems
Animation of Fluids.
CS559: Computer Graphics Lecture 38: Animation Li Zhang Spring 2008 Slides from Brian Curless at U of Washington.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Physically Based Modeling Let physics take over!.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
Computer Animation Algorithms and Techniques
Realistic Modeling of Animatable Faces in MPEG-4 Marco Fratarcangeli and Marco Schaerf University of Rome “La Sapienza”
Large Steps in Cloth Simulation - SIGGRAPH 98 박 강 수박 강 수.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
Introduction to Procedural Methods, Particles Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Monday, March.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Particle Systems.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Physics for Games Spring 2012.
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
Lecture 6: Time Response 1.Time response determination Review of differential equation approach Introduce transfer function approach 2.MATLAB commands.
Particle Systems. Applications Particle systems are broadly defined for: Explosion Cloth Fluid And more… It is integrated into many animation software,
Lecture 3 Ordinary Differential equations Purpose of lecture: Solve 1 st order ODE by substitution and separation Solve 2 nd order homogeneous ODE Derive.
Sec 21: Generalizations of the Euler Method Consider a differential equation n = 10 estimate x = 0.5 n = 10 estimate x =50 Initial Value Problem Euler.
Differential Equations
Advanced Computer Graphics Rigid Body Simulation
Math 4B Practice Midterm Problems
Game Technology Animation.
Mechanical Engineering at Virginia Tech
Comp259 / Spring 2002 Samir Naik 2/6/02
Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001 by David Baraff at Pixar).
Lecture #5 Implicit Method Oh-young Song Sejong University
Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001 by David Baraff at Pixar).
GPAT – Chapter 7 Physics.
Presentation transcript:

Game Technology Animation V

2 Generate motion of objects using numerical simulation methods Physically Based Animation

3

Physically Based Animation in Games Half Life 2 Max Payne 2 Fuel Black

5 Particle Systems Single particles are very simple Large groups can produce interesting effects Supplement basic ballistic rules Collisions Interactions Force fields Springs Others... Karl Sims, SIGGRAPH 1990

6 Particle Systems Feldman, Klingner, O’Brien, SIGGRAPH 2005 Single particles are very simple Large groups can produce interesting effects Supplement basic ballistic rules Collisions Interactions Force fields Springs Others...

7 Basic Particles Basic governing equation is a sum of a number of things Gravity: constant downward force proportional to mass Simple drag: force proportional to negative velocity Particle interactions: particles mutually attract and/or repel Beware complexity! Force fields Wind forces User interaction

8 Basic Particles Properties other than position Color Temp Age Differential equations also needed to govern these properties Collisions and other constrains directly modify position and/or velocity

9 Integration Euler’s Method Simple Commonly used Very inaccurate Most often goes unstable

10 Integration Witkin and Baraff Note: Second order ODEs can be turned into first order ODEs using extra variables. For now let’s pretend Velocity (rather than acceleration) is a function of force

11 Integration Witkin and Baraff Start For now let’s pretend Velocity (rather than acceleration) is a function of force

12 Integration Witkin and Baraff With numerical integration, errors accumulate Euler integration is particularly bad

13 Integration Witkin and Baraff Stability issues can also arise Occurs when errors lead to larger errors Often more serious than error issues

14 Integration Witkin and Baraff Midpoint method a. Compute half Euler step b. Eval. derivative at halfway c. Retake step Other methods Verlet Runge-Kutta And many others...

15 Integration Implicit methods Informally (incorrectly) called backward methods Use derivatives in the future for the current step

16 Integration Implicit methods Informally (incorrectly) called backward methods Use derivatives in the future for the current step Solve nonlinear problem for and This is fully implicit backward Euler Many other implicit methods exist... Modified Euler is partially implicit as is Verlet

17 Temp Slide Need to draw reverse diagrams....

18 Integration Semi-Implicit Approximate with linearized equations

19 Integration Explicit methods can be conditionally stable Depends on time-step and stiffness of system Fully implicit can be unconditionally stable May still have large errors Semi-implicit can be conditionally stable Nonlinearities can cause instability Generally more stable than explicit Comparable errors as explicit Often show up as excessive damping