character animation and control using human motion data jehee lee carnegie mellon university jehee

96
Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University http://www.cs.cmu.edu/~jehee

Upload: mervin-byrd

Post on 19-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Character Animation and Controlusing Human Motion Data

Jehee LeeCarnegie Mellon University

http://www.cs.cmu.edu/~jehee

Page 2: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Character Animation

Final Fantasy Movie Characters

from www.finalfantasy.com

Final Fantasy X

NBA Courtside 2002

NFL 2k2 WWF Raw

All game characters from www.gamespot.com

Page 3: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Capture

• Record movements of live performers– Realistic, highly detailed data can be obtained

Motion capture lab at CMU

Page 4: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Animation from Motion Capture

MotionDatabase

Preprocess

On-lineController

Motion EditingToolbox

MotionSensor

Data

ConvincingAnimation

ControllableResponsiveCharacters

High-Level UserInterfaces

The Art ofAnimation

Page 5: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Animation from Motion Capture

MotionDatabase

Preprocess

On-lineController

Motion EditingToolbox

MotionSensor

Data

ConvincingAnimation

ControllableResponsiveCharacters

MappingLive

Performance

High-Level UserInterfaces

The Art ofAnimation

ComputerPuppetry

Page 6: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Interactive 3D Avatar Control

• How to organize data ?– Large collection of motion data

• How to control ?– User interfaces

MotionDatabase

PreprocessOn-line

Controller

MotionSensor

Data

ControllableResponsiveCharacters

High-Level UserInterfaces

Page 7: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Related Work (Motion Control)

Rule-based Control system

[Bruderlin & Calvert 96]

[Perlin & Goldberg 96]

[Chi 2000]

[Cassell et at 2001]

[Hodgins et al 95]

[Wooten and Hodgins 96]

[Laszlo et al 96]

[Faloutsos et al 2001]

Example-based Statistical Models

[Popovic & Witkin 95]

[Bruderlin & Willams 95]

[Unuma et al 95]

[Lamouret & van de Panne 96]

[Rose et al 97]

[Wiley & Hahn 97]

[Gleicher 97, 98, 01]

[Sun & Mataxas 2001]

[Bradley & Stuart 97]

[Pullen & Bregler 2000]

[Tanco & Hilton 2000]

[Brand & Hertzmann 2000]

[Galata et al 2001]

[Lee et al 02]

Page 8: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Related Work (User Interfaces)

Graphical User Interfaces

Performance

(Motion capture devices)

Performance

(Vision-based)

[Bruderlin & Calvert 96]

[Laszlo et al 96]

[Rose et al 97]

[Chi 2000]

[Badler et al 93]

[Semwal et al 98]

[Blumberg 98]

[Molet et al 99]

“Mocap Boxing” (Konami)

[Blumberg & Galyean 95]

[Brand 1999]

[Rosales et al 2001]

[Ben-Arie et al 2001]

Page 9: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Database

• In computer games– Many short, carefully planned, labeled motion clips– Manual processing

Page 10: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Walk Cycle StopStart

Left Turn

Right Turn

Page 11: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Database

• Our approach– Extended, unlabeled sequences of motion– Automatic processing

Page 12: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee
Page 13: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Jehee Lee, Jinxiang Chai, Paul Reitsma, Jessica Hodgins, and Nancy Pollard, Interactive Control of Avatars Animated with Human Motion Data, submitted.

Sketch Interface

Page 14: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Data for Rough Terrain

Page 15: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Data for Rough Terrain

Page 16: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Unstructured Input Data

Page 17: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Connecting Transitions

Page 18: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Local Search for Path Following

Page 19: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Comparison to Real Motion

Page 20: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Comparison to Real Motion

Page 21: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

User Interfaces

Page 22: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Choice-based Interface

• What is available in database ?– Provided with several options– Select from among available behaviors

Page 23: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Jehee Lee, Jinxiang Chai, Paul Reitsma, Jessica Hodgins, and Nancy Pollard, Interactive Control of Avatars Animated with Human Motion Data, submitted.

Page 24: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Jehee Lee, Jinxiang Chai, Paul Reitsma, Jessica Hodgins, and Nancy Pollard, Interactive Control of Avatars Animated with Human Motion Data, submitted.

Page 25: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

How to Create Choices ?

Page 26: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Clustering

Page 27: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Find Reachable Clusters

A

B

C

D E

F

G

Page 28: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Most Probable Paths

Page 29: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Cluster Forest

B

C

DE

F

G

BD

E

F

G

Page 30: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Performance Interface

MotionDatabase

SearchEngine

AnimateAvatars

Vision-basedInterface

Page 31: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Silhouette extraction and matching implemented by Jinxiang Chai

Page 32: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Database Search3 sec

Page 33: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Animation from Motion Capture

MotionDatabase

Preprocess

On-lineController

Motion EditingToolbox

MotionSensor

Data

ConvincingAnimation

ControllableResponsiveCharacters

MappingLive

Performance

High-Level UserInterfaces

The Art ofAnimation

ComputerPuppetry

Page 34: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

The Art of Animation

• Animators need good tools– Modify, vary, blend, transition, filter, …

MotionDatabase

Motion EditingToolbox

ConvincingAnimation

The Art ofAnimation

Page 35: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Challenges in Motion Editing

• Reusability and flexibility– Motion data is acquired

• For a specific performer• Within a specific environment• In a specific style/mood

• High dimensionality

• Inherent non-linearity of orientation data

Page 36: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Related Work

Physically-based

Signal processing/

Interpolation

Optimization + Interpolation

Stochastic

Modify [Popovic& Witkin 99]

[Unuma et al 95]

[Bruderlin &

Williams 95]

[Sun&Metaxas 01]

[Lee & Shin 01, 02]

[Gleicher 97, 98, 01]

[Lee & Shin 99]

[Perlin 95] [Bradley&Stuart 97]

[Pullen&Bregler 00]

Transition/

Blend[Rose et al 96]

[Lamouret & van de Panne 96]

[Rose et al 97]

[Sun&Metaxas 01]

[Lee & Shin 01, 02]

[Tanco&Hilton 00]

[Brand &

Hertzmann 00]

[Galata et al 01]

Page 37: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Basic Techniques

• Multiresolution Analysis– Signal processing approach– Transition, blend, modify style/mood, and

resequence

• Hierarchical displacement mapping– Constraint-based approach– Interactive editing– adaptation to different characters/environments.

Page 38: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Multiresolution Analysis

• Represent signals at multiple resolutions– give hierarchy of successively smoother signals– facilitate a variety of signal processing tasks

)0(m)3(m )1(m)2(m

Page 39: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Decomposition

• Reduction: upsampling followed by smoothing• Expansion: smoothing followed by downsampling

)(nm

)1( nm

)1( nd

Reduction Expansion

Page 40: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

)(nm )1( nm )2( nm )0(m

)1( nd )2( nd )0(d

)(nm )1( nm )2( nm )0(m

)1( nd )2( nd )0(d

Decomposition

Reconstruction

Page 41: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Enhance / Attenuate

Jehee Lee and Sung Yong Shin, General Construction of Time-Domain Filters for Orientation Data, IEEE Transactions on Visualization and Computer Graphics, to appear.

Jehee Lee and Sung Yong Shin, A Coordinate-Invariant Approach to Multiresolution Motion Analysis and Synthesis, Graphical Models (formerly GMIP), 2001.

Page 42: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Enhance / Attenuate

Page 43: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Walk

Limp

Turn

?Turn with a Limp

Page 44: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Walk

Limp

Turn

Turn with a Limp

Page 45: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Analogy

• Low frequency (Content)

Result = Limp + (Turn – Walk)

• High frequency (Style)

Result = Turn + (Limp – Walk)

Walk Turn

LimpTurn with

A limp

Page 46: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Walk

Strut

Run

Page 47: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Stub toes Limp

Stitched

Page 48: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Re-sequence

Page 49: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Reconstruction

)0(m

)0(d

)1(d

)2(d

)0(m

Page 50: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Reconstruction

)(E 0m

)0(m

)0(d

)1(d

)2(d

Page 51: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Reconstruction

)(E 0)0()1( dmm

)0(m

)0(d

)1(d

)2(d

Page 52: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Orientation Representation

• Inherent non-linearity of orientation space

12222 zyxw 3S

Page 53: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Filtering Orientation Data

kikikiki aaa qqqq 0)(F

• How to generalize convolution filters ?

3S

Page 54: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Related Work• Re-normalization

• Azuma and Bishop (94)

• Global linearization• Johnstone and Williams (95)

• Local linearization• Welch and Bishop (97)• Fang et al. (98)• Lee and Shin (2002)

• Multi-linear• Shoemake (85)

• Optimization• Lee and Shin (96)• Hsieh et al. (98)• Buss and Fillmore (2001)

Page 55: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Re-normalization

iq

1iq

2iq

1iq

2iq

5

1,

5

1,

5

1,

5

1,

5

1

Page 56: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Linearization

3S 3R

Page 57: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Exponential and Logarithm3SqT

q

Page 58: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Exponential and Logarithm

1q

qq 1

Page 59: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Exponential and Logarithm33 RSI T

),,,( 0001I

),,,( zyx0

Page 60: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Exponential and Logarithm33 RSI T

log exp

I

Page 61: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Global Linearization

ii pq log I

Page 62: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Angular Displacement

ip

ii pp 1

1ip

1iq

)( iiii pppp 11

iq3S3R

Page 63: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Angular Displacement

ip

ii pp 1

1ip1

1

ii qq

)( iiii pppp 11

ii qqI 1

Page 64: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Angular Displacement

ip

ii pp 1

1ip1

1

ii qq

)( iiii pppp 11

ii

iii

exp1

q

qq

ii qqI 1 11

i log ii qq

Page 65: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Local Linearization

3S 3R

iii pqq

11log

Page 66: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

The Drifting problem

iii pqq

11log

Page 67: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Our Approach

3S 3R

iiii ppqq

111log

Page 68: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Filtering Orientation Data

ip

1ip 2ip1ip2ip

i

1i

1i

2i

Page 69: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Filter Properties

• Coordinate invariant

• Time invariant

• Symmetric

ii qqRH,RRH where

niinnn

qqSH,SSH where

3where Sbabqabaq ,,)H()H( ii

Page 70: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Coordinate Invariance

m

)0(

)0(

)1(

)(

mdd

d

n

)0(

)0(

)1(

)(

mdd

d

T

n

mTDecomposition Reconstruction

T

T

Page 71: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Coordinate Invariance

• Independent to the choice of coordinate systems

Page 72: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Basic Techniques

• Multiresolution Analysis– Signal processing approach– Transition, blend, modify style/mood, smoothen,

resequence

• Hierarchical displacement mapping– Constraint-based approach– Interactive editing and adaptation

Page 73: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Editing through Optimization

• Constraints[Witkin & Kass 88] [Cohen 92] [Gleicher 98]

– Features to be retained– New features to be accomplished

• Find a new motion– Satisfy given constraints– Preserve original characteristics

Page 74: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Jehee Lee and Sung Yong Shin, A Hierarchical Approach to Interactive Motion Editing for Human-Like Figures, Siggraph 99

Page 75: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Representation

• Motion of articulated characters– Bundle of motion signals– Each signal describe positions / orientations / joint angles

Page 76: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Basic Idea

• Inter-frame relationship– Enforce constraints– By inverse kinematics

• Inter-frame relationship– Avoid jerkiness– By curve fitting

Page 77: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Displacement Mapping

Displacement Map

Original Motion

Target Motion

Page 78: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Hierarchical Displacement Mapping

• Representation of displacement maps– An array of spline curves– Over a common knot sequence

• Flexibility in representation– Hard to determine knot density– Adaptive refinement is needed

Page 79: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Adaptive Refinement

• Multi-level or hierarchical B-splines[Lee, Wolberg, and Shin 97] [Forsey and Bartel 95]

– Sum of uniform B-spline functions– Coarse-to-fine hierarchy of knot sequences

Page 80: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Multi-Level B-spline Fitting

0f

1f 2f

10 ff 210 fff

Page 81: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Adaptation to Rough Terrain

Jehee Lee and Sung Yong Shin, A Hierarchical Approach to Interactive Motion Editing for Human-Like Figures, Siggraph 99

Page 82: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Adaptation to New Characters

Page 83: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Character Morphing

Page 84: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Animation from Motion Capture

MotionDatabase

Preprocess

On-lineController

Motion EditingToolbox

MotionSensor

Data

ConvincingAnimation

ControllableResponsiveCharacters

MappingLive

Performance

High-Level UserInterfaces

The Art ofAnimation

ComputerPuppetry

Page 85: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Hyun Joon Shin, Jehee Lee, Michael Gleicher, and Sung Yong Shin, Computer Puppetry: An Importance-based Approach, ACM Transactions on Graphics, 2001.

The videos were made by Hyun Joon Shin, Tae Hoon Kim, Hye-Won Pyun, Seung-Hyup Shin, Jehee Lee, Sung Yong Shin, and many others at the Korea Broadcasting System.

Page 86: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Summary

• Motion data processing– Multiresolution analysis– Hierarchical displacement mapping

• Interactive control– Motion databases– User interfaces: Choice, sketch, performance

Page 87: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Future Work

• Autonomous virtual humans– Convincing appearance, movements– Reasonable level of intelligence

• Collect real world data– Motions, pictures, videos, voices, facial

expressions, and physical properties

Page 88: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee
Page 89: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Computer Puppetry

• Immediate mapping from a performer to an animated character

MotionSensor

DataMapping

LivePerformance

ComputerPuppetry

Page 90: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Time Invariance

• Independent to the position in the signal

Time

Page 91: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Statistical Model

Page 92: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Statistical Model

Page 93: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Motion Representation

StatisticalModel

MarkovProcess

User Control

UpdateAvatar Pose

Page 94: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Markov Process

• Raw data– Extended– Unstructured

• Processed data– Connected– Flexible

Page 95: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Cluster Forest

Page 96: Character Animation and Control using Human Motion Data Jehee Lee Carnegie Mellon University jehee

Cluster Forest