14.1 Physically Based Simulation II Mass-Spring Systems Hao Li - - PowerPoint PPT Presentation

14 1 physically based simulation ii
SMART_READER_LITE
LIVE PREVIEW

14.1 Physically Based Simulation II Mass-Spring Systems Hao Li - - PowerPoint PPT Presentation

Fall 2015 CSCI 420: Computer Graphics 14.1 Physically Based Simulation II Mass-Spring Systems Hao Li http://cs420.hao-li.com 1 Mass-Spring Systems The 101 of Physics Simulation What do we want to simulate? Deformable Objects Design


slide-1
SLIDE 1

CSCI 420: Computer Graphics

Hao Li

http://cs420.hao-li.com

1

Fall 2015

14.1 Physically Based Simulation II

Mass-Spring Systems

slide-2
SLIDE 2

Mass-Spring Systems

2

  • The 101 of Physics Simulation
  • What do we want to simulate? Deformable Objects
  • Design a model. Mass points + springs.
  • Write differential equations. Newton’s 2nd Law (Hooke)
  • Discretize equations. Integration methods for ODEs
  • Add interaction. Collision detection + response
  • Simulate!
slide-3
SLIDE 3

Mass-Spring Systems

3

  • Simulation of cloth based on deformable surfaces

(Polygonal mesh)

  • Realistic simulation of cloth with different fabrics such as

wool, cotton, or silk for garment design

slide-4
SLIDE 4

Facial Animation

4

  • Simulation of facial expressions based on deformable

surfaces/volumes/muscles

  • Animation of face models from speech and mimic

parameters

slide-5
SLIDE 5

Medical Simulation

5

  • Simulation of deformable soft tissue
  • Surgical planning
  • Medical training
slide-6
SLIDE 6

Overview

6

  • Model and Physics
  • Implementation Hints
  • Time-Discretization
  • Collision Response
  • (Simulation Loop)
slide-7
SLIDE 7

Mass-Point System

7

  • Discretization of an object into mass points (gas, fluid,

elastic object, inelastic object)

  • System with multiple mass centers (Planetary System)
  • Interaction between points i and j≠i based on internal

forces

  • All other forces at point i are external forces
  • Overall force
slide-8
SLIDE 8

Mass-Point System

  • Discretization of an object into mass points
  • Representation of forces between masses by springs
  • Computation of dynamics
slide-9
SLIDE 9

Mass-Points

slide-10
SLIDE 10

Physically-based Equations

slide-11
SLIDE 11

Elastic Forces: Springs

slide-12
SLIDE 12

Elastic Energies

slide-13
SLIDE 13

Forces at a Mass Point

slide-14
SLIDE 14

Dissipative Forces

slide-15
SLIDE 15

System Equations

slide-16
SLIDE 16

System Equations

slide-17
SLIDE 17

Overview

17

  • Model and Physics
  • Implementation Hints
  • Time-Discretization
  • Collision Response
  • (Simulation Loop)
slide-18
SLIDE 18

Elastic Spring

18

slide-19
SLIDE 19

Mass Point

19

slide-20
SLIDE 20

Force Computation

20

slide-21
SLIDE 21

Overview

21

  • Model and Physics
  • Implementation Hints
  • Time-Discretization
  • Collision Response
  • (Simulation Loop)
slide-22
SLIDE 22

System Equations

22

slide-23
SLIDE 23

Solution

23

slide-24
SLIDE 24

Problem

24

slide-25
SLIDE 25

Numerical Integration Methods

25

slide-26
SLIDE 26

Numerical Integration Methods

26

slide-27
SLIDE 27

Explicit Integration

27

slide-28
SLIDE 28

Explicit Integration

28

slide-29
SLIDE 29

Explicit Integration

29

slide-30
SLIDE 30

Error Accumulation

30

slide-31
SLIDE 31

Problems

31

slide-32
SLIDE 32

Improving Accuracy - Leap Frog

32

slide-33
SLIDE 33

Improving Accuracy - Runge Kutta

33

2nd order (midpoint method)

slide-34
SLIDE 34

Midpoint vs Euler

34

slide-35
SLIDE 35

Implementation

35

slide-36
SLIDE 36

Avoiding Instability

36

slide-37
SLIDE 37

Topology and Stability

37

slide-38
SLIDE 38

Volumetric Models - Tet Meshes

38

slide-39
SLIDE 39

Topology Ambiguity Problem

39

slide-40
SLIDE 40

Cloth Forces

40

slide-41
SLIDE 41

Cloth Springs

41

slide-42
SLIDE 42

Cloth Springs

42

slide-43
SLIDE 43

Cloth Springs

43

slide-44
SLIDE 44

http://cs420.hao-li.com

Thanks!

44