Animation
Download
1 / 74

Animation - PowerPoint PPT Presentation


  • 274 Views
  • Updated On :

Animation. Low-Level behaviors Overview Keyframing Motion Capture Simulation. Low-Level Behaviors. Keyframing Motion Capture Simulation. Generating Motion. What matters? Quality of motion appropriate for rendering style and frame rate Controllable from UI Controllable from AI

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Animation' - benjamin


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Animation

Animation

Low-Level behaviors Overview

Keyframing

Motion Capture

Simulation

CS4455


Low level behaviors
Low-Level Behaviors

  • Keyframing

  • Motion Capture

  • Simulation

CS 4455


Generating motion
Generating Motion

  • What matters?

    • Quality of motion appropriate for rendering style and frame rate

    • Controllable from UI

    • Controllable from AI

    • Personality of the animated character

CS 4455



Keyframing
Keyframing

  • Fine level of control

  • Quality of motion depends on skill of animator

CS 4455


Motion capture
Motion Capture

  • Natural-looking motion

  • Hard to generalize motions

    • Registration is difficult

    • “Weightless” according to professional animators

CS 4455


Motion capture images courtesy microsoft motion capture group
Motion CaptureImages courtesy Microsoft Motion Capture Group

CS 4455


Simulation broadly defined
Simulation (Broadly Defined)

  • Physics is hard to simulate

  • Pseudo-physics is somewhat hard

  • Control is very hard

  • Gives Generalization + Interactivity

Desired

Behavior

Forces and Torques

Model

Numerical Integrator

User/AI

Control

State

Graphics

CS 4455


When to use what method
When to Use What Method?

  • Keyframing

    • Sprites and other simple animations

    • Non-human characters

    • Coarse collision detection

  • Motion Capture

    • Human figures

    • Subtle motions, long motions

  • Simulation

    • Passive simulations

    • When interactivity w/ motion is important

CS 4455


Keyframing1
Keyframing

CS 4455


Keyframing2
Keyframing

CS 4455



Keyframing3
Keyframing

  • Fine level of control

  • Quality of motion depends on skill of animator

CS 4455


Hand drawn animation 2d
Hand Drawn Animation -- 2D

  • Sketches

  • Pencil tests

  • Inking

  • Coloring

  • Digitize to sprites

CS 4455


Computer animation 2d or 3d
Computer Animation: 2D or 3D

  • Sketches

  • Models and materials

  • Key configurations

  • Playback of motion or render to sprites

CS 4455


Keyframing4

The development process:

Adjust trajectory

Playback motion

Parameters:

Locations

Joint angles

Shape -- flexible objects

Material properties

Camera Motion

Lighting

Keyframing

CS 4455


Keyframing interpolation
Keyframing Interpolation

  • Inbetweening

v

1,2,3 4 5 6 7,8,9…

Linear

time

v

1,2,3 4 5 6 7,8,9…

Slow in, Slow out

time

CS 4455



Key frames
Key Frames

1

2

3

CS 4455


Key frames1
Key Frames

  • Timeline

  • 1 2 3 3 1

CS 4455


Inbetweening
Inbetweening

  • Frame dependent (“wrong”) slow-in/out

    • Iterate once per frame

    • This is a variant on the Infinite Impulse Response (IIR) filter:

CS 4455


Inbetweening1
Inbetweening

  • Frame-Independent (“right”) slow in/out

    • Compute acceleration a

Time of last frame

Time

Tend

CS 4455


Spline driven animation
Spline-driven Animation

y

x,y = Q(u)

for u:[0,1]

  • Equal arc lengths

  • Equal spacing in u

x

CS 4455


Reparameterize arc length
Reparameterize Arc Length

  • S= A(u) = arc length

  • Reparam:

  • Find:

    Bisection search for a value

    of u where A(u) = S with a

    numerical evaluation of A(u)

    (Details in Watt & Watt)

CS 4455


Keyframing constraints
Keyframing -- Constraints

  • Joint limits

  • Position limits

  • Inverse kinematics

CS 4455




Kinematics
Kinematics

  • The study of motion without regard to the forces that cause it

Draw graphics

Specify fewer Degrees Of

Freedom (DOF)

More intuitive control of DOF

Pull on hand

Glue feet to ground

CS 4455




What makes ik hard
What makes IK Hard?

  • Many DOF -- non-linear transcendental equations

  • Redundancies

    • Choose a solution that is “closest” to the current configuration

    • Move outermost links the most

    • Energy minimization

    • Minimum time

CS 4455


Ik difficulties
IK Difficulties

  • Singularities

    • Equations are ill-conditioned near singularities

    • High state-space velocities for low Cartesian velocities

  • Goal of “Natural Looking” motion

    • Minimize jerk (3rd derivative)

CS 4455


Motion capture1
Motion Capture

  • What do we need to know?

    • X, Y, Z

    • Roll, Pitch, Yaw

  • Errors cause

    • Joints to come apart

    • Links grow/shrink

    • Bad contact points

  • Sampling Rate and Accuracy

CS 4455


Motion capture2
Motion Capture

  • Goals:

    • Realistic motion

    • Lots of different motions (300-1000)

    • Contact

  • Appropriate game genres

    • Sports

    • Fighting

    • Human characters

CS 4455


Applications
Applications

Movies, TV

Video games

Performance animation

CS 4455




Plan out shoots carefully
Plan out Shoots Carefully

  • Know needed actions (80-100 takes/day)

    • Bridges between actions

    • Speed of actions

    • Starting/ending positions

  • Hire the right actor

    • Watch for idiosyncrasies in motion

    • Good match in proportions

CS 4455


Sensor placement
Sensor Placement

  • Place markers carefully

    • Capture enough information

    • Watch for marker movement

  • Check data part way through shoot

  • Videotape everything!

CS 4455



Technology
Technology

  • Numerous technologies

  • Record energy transfer

    • Light

    • Electromagnetism

    • Mechanical skeletons

CS 4455


Technology1
Technology

  • Passive reflection – Peak Performance Tech

    • Hand or semi-automatically digitized

    • Video

    • Time consuming

  • Issues

    • No glossy or reflective materials

    • Tight clothing

    • Marker occlusion by props

    • High frames/sec

CS 4455


Technology2
Technology

  • Passive reflection --Acclaim, Motion Analysis

    • Automatically digitized

    • 240Hz

    • Not real-time, Correspondence

    • 3+ markers/body part

    • 2+ cameras for 3D position data

CS 4455


Technology3
Technology

  • Vicon Motion Systems

    • Retroreflective paint on reflectors

    • Lights on camera

    • Very high contrast markers

CS 4455


Technology4
Technology

  • Active light sources -- Optotrak

    • Automatically digitized

    • 256 markers

    • 3500 marker/sec

    • Real-time

    • Specialized cameras

CS 4455


Technology5
Technology

  • Electromagnetic Transducers

    • Ascension Flock of Birds, etc

    • Polhemus Fastrak, etc

  • Limited range/resolution

    • Tethered (cables to box)

    • Metal in environment (treadmill, Rebar!)

    • No identification problem

    • 6DOF Realtime

    • 30-144 Hz 13-18 markers

CS 4455


Technology6
Technology

  • Exoskeleton + angle sensors

    • Analogous

    • Tethered

    • No identification problem

    • Realtime - 500Hz

    • No range limit - Fit

    • Rigid body approximation

CS 4455


Technology7

Dataglove

Low accuracy

Focused resolution

Monkey

High accuracy

High data rate

Not realistic motion

No paid actor

Technology

Mechanical motion capture

CS 4455


Technology8
Technology

  • Technology issues

    • Resolution/range of motion

    • Calibration

    • Accuracy

    • Occlusion/Correspondence

CS 4455


Animation issues
Animation Issues

  • Style

  • Scaling

  • Generalization

CS 4455


Resolution
Resolution

  • Positioning of camera

CS 4455


Markers calibration
Markers, Calibration

  • Marker Placement

    • Location should move rigidly with joint

    • Stay away from bulging muscles, loose skin

    • Shoulders: Skeletal motion not closely tied to skin motion

  • Calibration

    • Zero position

    • Fine calibration by hand

CS 4455


Calibration
Calibration

  • Finding Joint Locations

    • Move markers to joint centers

      • Assume rigid links, rotary joints

  • Shoulder?

CS 4455


Calibration1
Calibration

  • Extract best limb lengths

  • Use estimator to compute limb length

  • Minimize or reject outliers

CS 4455


Calibration2
Calibration

  • Example estimator:

    • 508 frames of walking

    • 6 bad frames

    • Collarbone to shoulder:

      • Hand editing: 13.3cm

      • Estimator: 13.2cm

      • Arithmetic mean: 14.1cm

CS 4455


Accuracy
Accuracy

  • Marker movement

  • Noise in sensor readings

  • Skew in measurement time

  • Environment restrictions

  • Frame rate

    • High frame rate allows good filtering

CS 4455


Camera calibration
Camera Calibration

  • Internal camera parameters

    • Optical distortion of lens

  • External parameters

    • Position and orientation

  • Correlation between multiple cameras

CS 4455


Model based techniques
Model-Based Techniques

  • Restricted search space for markers

  • Dynamics (velocity integration)

    • No infinite accelerations

  • Model of behavior

  • Model of bodies of occlusion

    • Objects don’t pass through each other

CS 4455


Scaling animation
Scaling Animation

  • Contact

  • Movement style

  • Inverse kinematics

CS 4455


Generalizating animation
Generalizating Animation

  • Interpolation Synthesis for Articulated Figure Motion

  • Wiley and Hahn

  • IEEE CG&A v17#6

CS 4455


Generalizating animation1
Generalizating Animation

  • Keyframes as constraints in a smooth deformation

    • Create functions by hand that warp the joint angle curves through time

  • Keyframe placing the ball on the racket at impact

    Motion Warping

    Witkin and Popovic, SIGGRAPH’95

CS 4455


Generalizating animation2
Generalizating Animation

  • Motion Editing With Spacetime Constraints

    • Michael Gleicher

    • 1997 Symposium on Interactive 3D Graphics

CS 4455


Blending animations
Blending Animations

  • Efficient Generation of Motion Transitions Using Spacetime Constraints

    • Rose, Guenter, Bodenheimer, Cohen

    • Siggraph ’96

    • Uses dynamics to compute plausible paths

    • Blends these paths

CS 4455


Simulation
Simulation

  • Modeling the real world with simple physics

    • Realism

    • A set of rules

    • Better interactivity

  • Objects or Characters

CS 4455


Passive no muscles or motors
Passive -- No muscles or motors

Active -- Internal source of energy

CS 4455


Equations of motion
Equations of Motion

  • Water

  • Explosions

  • Rigid body models

CS 4455


Control systems
Control Systems

  • Wide variety of behaviors

  • Transitions between behaviors

  • Controllable by AI or UI

  • Robust

CS 4455



Generating motion1
Generating Motion

  • What matters?

    • Quality of motion appropriate for rendering style and frame rate

    • Controllable from UI

    • Controllable from AI

    • Skills of the animated character

    • Personality of the animated character

CS 4455


Keyframing5
Keyframing

  • Fine level of control

  • Quality of motion depends on skill of animator

CS 4455


Motion capture3
Motion Capture

  • Natural-looking motion

  • Hard to generalize motions

    • Registration is difficult

  • Often seems “weightless” – Bill Kroyer, Rhythm & Hues

CS 4455


Simulation broadly defined1
Simulation (Broadly Defined)

  • Physics is hard to simulate

  • Pseudo-physics is somewhat hard

  • Control is very hard

  • Gives Generalization + Interactivity

Desired

Behavior

Forces and Torques

Model

Numerical Integrator

User/AI

Control

State

Graphics

CS 4455


When to use what method1
When to Use What Method?

  • Keyframing

    • Sprites and other simple animations

    • Non-human characters

    • Coarse collision detection

  • Motion Capture

    • Human figures

    • Subtle motions, long motions

  • Simulation

    • Passive simulations

    • When interactivity w/ motion is important

CS 4455


Integration of technologies
Integration of Technologies

  • Layering

    • Add hand/finger motion later

    • Facial animation

  • Use keyframing to modify data

    • Fix holes in data

  • Use motion capture to drive simulation

CS 4455


ad