unc chapel hill m. c. lin disclaimer the following slides reuse materials from siggraph 2001 course...

22
UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically- based Modeling (copyright 2001 by David Baraff at Pixar).

Post on 20-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Disclaimer

The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright 2001 by David Baraff at Pixar).

Page 2: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Determining Step Size

Explicit Integration– Too big, unstable!– Too small, too slow– Adaptive, maybe– Ultimately the constants decide!

Implicit Methods– Taking large steps when possible

Page 3: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

An Example

Page 4: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Speed Limitation of Euler’s Method

Page 5: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Stiff Equations

Page 6: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

A Stiff Energy Landscape

Page 7: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Example: Particle-on-line

Page 8: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Example: Particle-on-line

Page 9: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Example: Particle-on-line

Page 10: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Example: Particle-on-line

Page 11: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Explicit Integration

Page 12: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Problems

Page 13: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Explicit vs. Implicit Euler Method

vs.

Page 14: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Page 15: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

One Step: Implicit vs. Explicit

Page 16: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Large Systems

Page 17: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Implicit Integration

Page 18: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Implicit Integration

Page 19: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Implicit Integration

Page 20: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Linearized Implicit Integration

Page 21: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Single-Step Implicit Euler Method

Page 22: UNC Chapel Hill M. C. Lin Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001

UNC Chapel Hill M. C. Lin

Solving Large Systems

Matrix structure reflects force-coupling:(i , j)th entry exists iff fi depends on Xj

Conjugate gradient a good first choice