a grasp-based motion planning algorithm for intelligent character animation maciej kalisiak

30
A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak [email protected]

Upload: dina-day

Post on 19-Jan-2018

223 views

Category:

Documents


0 download

DESCRIPTION

Animation Techniques many methods: –motion capture –specific gait models –handcrafted controllers –spacetime constraints –etc. cannot solve our problem

TRANSCRIPT

Page 1: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

A Grasp-based Motion Planning Algorithm for Intelligent

Character Animation

Maciej [email protected]

Page 2: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Introduction

• human character animation• constrained environments• example problem• related research areas

Page 3: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Animation Techniques

• many methods:– motion capture– specific gait models– handcrafted controllers– spacetime constraints– etc.

• cannot solve our problem

Page 4: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Randomized Path Planning (RPP)

• freespace motion planning• piano mover’s problem• example RPP solution

Page 5: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Combined Approach

• borrow ideas from animation and RPP• starting point: RPP• need to add:

– knowledge of human gaits– notion of comfort– moving while in contact with environment

Page 6: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Simplest “Planner”

• character’s state• repeated perturbations,

i.e., Brownian motion• perturbations move COM• inefficient

Page 7: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Potential-guided Planner

• P(q) = COM’s shortest distance to goal

• solve using gradient descent• analytic gradient computation

not feasible• repeatedly sample q’s

neighbourhood and choose perturbations that result in largest drop in P(q)

Page 8: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Local Minima

• gradient descent stops at any minimum• use “random walks” to escape

– Brownian motion of predetermined duration• use “backtracking” if minimum too deep

– revert to a previous point in solution,followed by a random walk

Page 9: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Deep Minimum Example

Page 10: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Smoothing

• solution embodies complete history of search process

• also, very noisy• a trajectory filter post-process is applied

– removes extraneous motion segments– makes remaining motion fluid

Page 11: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Our Extensions

• grasp points• grasp constraint• comfort heuristic system• gait finite state machine• adapted gradient descent, random walk,

smoothing filters

Page 12: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Grasp Points

• represent potential points of contact

• reduces the grasp search space

• “grasp”: attachment of limb to grasp point

• three types

Page 13: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Grasp Constraint

• some number and type of grasps must always be in effect• the number and type of grasps dictated by GFSM• rest of planner must preserve existing grasps

(gradient descents, random walks, smoothing)

Page 14: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

The Gait FSM

• provides distinct behaviours• states represent gaits• edges represent transitions • each edge has associated

preconditions and effects• GFSM consulted after every

step of the gradient descent

Page 15: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Heuristic System• each heuristic measures some quality of q• D(q): overall discomfort, a potential field• assuming a comfortable position consists of

using gradient descent through D(q)

Page 16: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Complete System

Page 17: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Results

Page 18: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Future Work

• 3D• grasp surfaces• arbitrary, non-human skeletons• complex grasping• motion speed control• learning

Page 19: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Contributions

• human character animation algorithmfor constrained environments– grasp point discretization of environment– grasp constraint– comfort modeling using heuristics– gait FSM– adapted RPP algorithms to grasp constraint

Page 20: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

~FIN~MPEG movies of results available at:

http://www.dgp.toronto.edu/~mac/thesis

Page 21: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Appendix

(extra slides that might prove useful in answering questions)

Page 22: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Character Structure

Page 23: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

bitmap and distance map

Page 24: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Alternate gradient descent view

Page 25: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Motion without Heuristics

Page 26: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Smoothing Algorithm

Page 27: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Need for Limb Smoothing

Page 28: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Limb Smoothing Solution

Page 29: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Implemented GFSM

Page 30: A Grasp-based Motion Planning Algorithm for Intelligent Character Animation Maciej Kalisiak

Implemented Heuristics