Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings...

22
Interactive Interactive Manipulation of Rigid Manipulation of Rigid Body Simulations Body Simulations Presenter : Chia-yuan Hsiung 945552 4 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael Erdm ann, Zoran Popovi´cy, Andrew Witkinz Carnegie Mellon University University of Washington Pixar Animation Studios
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings...

Page 1: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

Interactive Manipulation of Interactive Manipulation of Rigid Body Simulations Rigid Body Simulations

Presenter : Chia-yuan Hsiung 9455524

Proceedings of SIGGRAPH 2000

Jovan Popovi´c, Steven M. Seitz, Michael Erdmann, Zoran Popovi´cy, Andrew WitkinzCarnegie Mellon UniversityUniversity of WashingtonPixar Animation Studios

Page 2: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

2

OutlineOutlineIntroduction

• Problem & Goal

Approach• Issues• Simulation Algorithm• Manipulation with …

ResultsConclusionCritique

Page 3: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

3

Introduction - Introduction - ProblemProblem

Physical Simulation programs• Auto-Animation Generation• Intuitive Control Over Results..?

What’s Animators Want?• Edit Animation Not Physical Parameters

Page 4: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

4

Introduction - Introduction - GoalGoal

Free to Manipulate the Entire Motion• Grabbing and changing the state of the object• Any location on the trajectory.• On multiple object• At multiple time• The floating time

Page 5: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

5

Approach - IssueApproach - Issue

Sufficient Degree of FreedomInteraction with Real Time PresentationMotion Discontinuity

Page 6: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

6

Approach – Approach – Interactive ManipulationInteractive ManipulationSimulation Function

• q : generalized state vector• The behavior described by a set of equations

• In Free flight

(1) )),(,()( tqtFtqdt

d Add Control Vector , u

(2) ).),(,()( utqtFtqdt

d

Page 7: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

7

Approach – Approach – Interactive ManipulationInteractive ManipulationSimulation Function

• Integrating (2)

• Poisson collision model• Impulse applied

(3)0 .)),(,()()(0t

tdtutqtFuqtq

(4) ).,( uqIqq

Page 8: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

8

Approach – Approach – Interactive ManipulationInteractive ManipulationSimulation Function

• Abstract

• Locally linearize

(5) ),()( utStq

(6) u.),(

u

utiSqi (7)

' .uuu

Page 9: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

9

Approach – Approach – Interactive ManipulationInteractive Manipulation2-D Particle Example

• plot the space of all possible trajectories

• Converge easily

RRS 2:

Page 10: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

10

Approach – Approach – Manipulation with JacobianManipulation with JacobianThe Efficient computation of

Decompose Simulation Function

u

utiS

),(

(11) ).()()(),( uFuCuFutSccf ttt

)((12)

0

)(

0

0

0

.),,()()(

),),(()(

),,()()(

ut

t

cc

t

ut

tt

cc

c

c

dtu

uqtF

u

uq

du

udtuqutF

u

uF

tduqtFuquF (1) )),(,()( tqtFtqdt

d

Page 11: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

11

Approach – Approach – Manipulation with JacobianManipulation with JacobianEvent Function

Applying the Chain Rule

(13) 0)),(( qutE c

(14) /

)/()/()(

tE

uqqE

du

udtc

u

uqtF

u

tq

dt

d

),,()(

u

F

u

C

u

F

F

C

C

F

u

utSfff

c

c

c

f ttt

t

t

t

tf

)(

),(

Page 12: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

12

Approach – Approach – Differential Update Differential UpdateMinimized objective function

• Smallest change• Smallest deviation

(15) )(min uduMu TT

u

uu

utS

),(

q 11Subject to

uu

utS n

),(q n

M : relative scale between parameters

d: desire values for physical parameters

(6) u.),(

u

utiSqi

Page 13: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

13

Approach – Approach – Manipulation with ConstraintsManipulation with ConstraintsConstraints

• State constraint• Nails down

• Expression Constraint• Differential expression of q• Eg.

• Floating Constraint• Particular event

))(())(( iBiA tqvtqv

Page 14: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

14

Approach – Approach – Manipulation with DiscontinuitiesManipulation with Discontinuities

Smooth Components Loss of Physical Feasibility Degradation of Convergence

Page 15: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

15

Approach – Approach – Manipulation with DiscontinuitiesManipulation with Discontinuities

Physical FeasibilityPolygonal approximations

• Additional control parameters to vary the surface normal

• Curvature-dependent polygonal approximations

Page 16: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

16

Approach – Approach – Manipulation with DiscontinuitiesManipulation with Discontinuities

Convergence• The path may not exist• Discrete search

• To account physical feasible regions• Jump to smooth components • In possible distant regions

• Selecting smooth components that convergence to the Desire Motion

• Maintain interactivity

Page 17: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

17

Approach – Approach – Manipulation with DiscontinuitiesManipulation with DiscontinuitiesConvergence

• Sampling• Large step size cause diverge • Samples the control space• Centered around

• Interaction• High dimension of control space make search difficult• Animator – Guide Relied

u

Page 18: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

18

ResultResult

DEMO

Page 19: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

19

ConclusionConclusionProvide a hybrid system

• integrates a motion-construction• interactive manipulation tool• The animator can rapidly design difficult physical anim

ations

Jacobian evaluation• Assume the collision function is analytically differentia

ble.• In fact, it may be a linear complementarity problem (L

CP)

Page 20: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

20

ConclusionConclusion

Interactive manipulation • Could be benefit from specialized rigid body si

mulator.• Not possible for all rigid multi-body systems

Page 21: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

21

CritiqueCritique

Good Abstract thoughts

If Dragging really easy to get desire result?

Not appropriate to more complexity situation.

Page 22: Interactive Manipulation of Rigid Body Simulations Presenter : Chia-yuan Hsiung 9455524 Proceedings of SIGGRAPH 2000 Jovan Popovi´c, Steven M. Seitz, Michael.

22

Q & A

Thank you~Thank you~