lightweight procedural animation with believable physical interaction
ian horswill departments of eecs and radio/television/film northwestern university i @ th t d ian@northwestern.edu
lightweight procedural animation with believable physical interaction - - PowerPoint PPT Presentation
lightweight procedural animation with believable physical interaction ian horswill departments of eecs and radio/television/film northwestern university i ian@northwestern.edu @ th t d twig twig Library for y Work in progress p g
ian horswill departments of eecs and radio/television/film northwestern university i @ th t d ian@northwestern.edu
Simulates “safe home base” behavior (Ainsworth)
g
– Objects modeled as point‐masses (nodes) + massless rods (links) – Effectively molecules – Effectively molecules
ll d i i f i d i – All dynamic information captured in current + previous positions of nodes
constraint satisfaction constraint satisfaction
– Just find the closest position that satisfies the constraint – And move it there
– Force Y=0 when Y<0
– View the distance constraint as a spring – View the distance constraint as a spring – Solve for the equilibrium position – Force the positions of the nodes
– Compute penetration depth Compute penetration depth – Move both objects apart along contact normal
– Force into the plane defined by foot, hip and body‐forward direction
walk hug reach grab swing reach grab swing arms feet
– Base of spine to move it over the midpoint of the feet – Top of spine to
spine
midpoint of feet
– Pelvis to turn it toward walk‐ Pelvis to turn it toward walk vector – Shoulders to turn them toward gaze direction
target sit up stand up g p p Sit up Stand
Align shoulders
Align pelvis Face target
head shoulders pelvis feet
– Characters scan field of view each clock tick – Collision detection caches object contact
g p energy>threshold
– All objects in field of view and STM appraised on each clock tick for appraised on each clock tick for
Highest salience object becomes focus – Highest salience object becomes focus
– Shifts based on salience and monitoring g priority
l b d 16 ton weight clipboard paper pen
– Paper attaches itself to character’s arm – Paper moves itself in front of character character – Paper drags arm along with it
– Pen attaches itself to other arm – Pen moves itself to the correct location relative to clipboard – Pen moves around Pen drags other arm with it – Pen drags other arm with it
webcomic episode 3 scripted behavior
Bryan: say "They're doing medical experiments on us?" Michael Bryan: hold script
Bryan: goto camera 3.6 & Bryan: say "You bastards!" camera Michael: goto Bryan 0.25 (‐1 0 0) & Thug: goto Bryan 0 5 (0 0 0) &
Thug: goto Bryan 0.5 (0 0 0) & Michael: say "Quiet!" Bryan Michael: say "They'll hear you!" Bryan Bryan: say "I'm not some lab animal!" Michael Thug: say "I'm with AAAI.\nCome with me" Bryan Bryan: lookat Thug Bryan: say "I know my rights!" Thug Bryan: say "IRB would never sign off on this!" Michael Bryan: say IRB would never sign off on this! Michael Thug: hold Bryan Michael: say "It's run by Alberto Gonzales now." Bryan & Bryan: fight Thug 0 5 pause 0.5 Bryan: say "Widgets of the world unite!" Thug Thug: goto offstage & Bryan: drop script y p p Bryan: "Soylent green!\nIt's made out of pixels!“ Bryan titles: fadetoblack 2
– Jakobsen (2001), Verlet (1967), PhysX (2005)
– Jack (Badler et al. 1988‐1999) – Improv (Goldberg&Perlin 1996) – Smartbody (Theibaux et al. Smartbody (Theibaux et al. 2007)
– Bruderlin&Calvert (1989), Hodgins (1994), Hase et al. (2003)
conservation
conservation
http://twigblog.wordpress.com