Académique Documents
Professionnel Documents
Culture Documents
• Kinematics
" Considers only motion
" Determined by positions, velocities, accelerations
d"1 d" 2
!2 = 1.2 = !0.1
t dt dt
Example: 2-Link Structure Inverse Kinematics
• What if animator knows position of “end-effector” • Animator specifies end-effector positions: X
• Computer finds joint angles: !1 and !2:
!2
“End-Effector”
!2
l2
l2
X = (x,y) X = (x,y)
l1
l1 & x 2 + x 2 ' l12 ' l2 2 #
!1 !1 ( 2 = cos '1 $$ !
!
% 2l1l2 "
(0,0) (0,0)
" (l2 sin(! 2 ) x + (l1 + l2 cos(! 2 )) y
!1 =
(l2 sin(! 2 )) y + (l1 + l2 cos(! 2 )) x
X = (x,y)
!2
l3
l2
!3
l1
!1
(0,0)
Growchow 04
Summary of Kinematics Overview
• Forward kinematics • Kinematics
" Specify conditions (joint angles) " Considers only motion
" Compute positions of end-effectors " Determined by positions, velocities, accelerations
Lasseter `87
• Challenges:
" Specifying constraints and objective functions
" Avoiding local minima during optimization
Original Jump
Hurdle
Heavier Base
Witkin & Kass `88 Witkin & Kass `88
Ski Jump
Popovic 03
Witkin & Kass `88
Spacetime Constraints Passive Dynamics
• Advantages: • Other physical simulations:
" Free animator from having to specify details of " Rigid bodies
physically realistic motion with spline curves " Soft bodies
" Easy to vary motions due to new parameters " Cloth
and/or new constraints " Liquids
" Gases
• Challenges: " etc.
Cloth
" Specifying constraints and objective functions (Baraff & Witkin `98)
" Avoiding local minima during optimization
Hot Gases
(Foster & Metaxas `97)
Reeves
Example: Wrath of Khan Example: Wrath of Khan
Reeves Reeves
Hodgins
• Problem:
" Accuracy decreases as #t gets bigger
Hodgins Hodgins
Solving the Equations of Motion Solving the Equations of Motion
• Midpoint method (2nd order Runge-Kutta) • Adapting step size
" Compute an Euler step " Compute pa by taking one step of size h
" Evalute f at the midpoint " Compute pb by taking 2 steps of size h/2
" Take an Euler step using midpoint force " Error = | pa - pb |
» p(t+#t)=p(t) + #t f( p(t) + 0.5*#t f(t),t) " Adjust step size by factor (epsilon/error)1/f
pb
error
pa
Hodgins
• Viscosity/damping • Points
" Liquids, drag " Render as individual points
• Other particles
" Springs between neighboring particles (mesh)
" Useful for cloth
Fedkiw Fedkiw
Fedkiw Fedkiw
• Dynamics
" Space-time constraints
» Animator specifies structures & constraints (easiest)
» Solve for motion (hardest)
" Also other physical simulations
Fedkiw