GAMES101 Lecture 21 - Animation

GAMES101_Lecture_21.pdf

Outline

 

Animation

Bring things to life.

An extension of modeling

Output: A sequence of images that when viewed sequentially provides a sense of motion.

 

I. History

 

II. Keyframe Animation

image-20230725113153997

 

Keyframe Interpolation

image-20230725113453202

 

III. Physical Simulation

F=ma

Introduction

Δx=vΔt+12(Δt)2a

image-20230725114233632

image-20230725114252324

Macklin and Müller, Position Based Fluids

 

Mass Spring System: Example of Modeling a Dynamic System

Spring with Internal Damping

One type of spring-mass system with damping:

image-20230725131148290

fab=ks(ba)ba(bal)
fbDamping forceapplied on b=kdbaba(b˙a˙)Relative speed projectedto the direction from a to bbabaDirection froma to b

Here we assume that a is a static vector (by subtracting the (projected) velocity of b to that of a).

In this type of damping, the resistance is proportional to the relative velocity on projected direction.

 

Structures from Springs

image-20230725151913916

 

Finite Element Method

image-20230725153210763

 

Particle Systems

Model dynamical systems as collections of large numbers of particles

Challenges:

 

For each frame in animation

 

Examples

 

Particle System Forces

Attraction and repulsion forces

Damping forces

Collisions

 

Gravitational Attraction

image-20230725154721645

(Newton’s Universal Law of Gravitation)Fg=Gm1m2d2

 

Simulated Flocking as an ODE

image-20230725154923470

 

Forward Kinematics

image-20230725155345443

image-20230725155826122

Forward Kinematics: Obtain position and velocity of end effector p, given the known joint angles and angular velocities.

Articulated Skeleton

Joint Types

####

Pros

Cons

 

Inverse Kinematics

Inverse Kinematics: Given the position of the end effector p, calculate the variable joint parameters needed to place the end of a kinematic chain, such as a robot manipulator or animation character's skeleton, in a given position and orientation relative to the start of the chain. (Wikipedia)

 

Rigging

image-20230725160720523

Rigging: A set of higher level controls on a character that allow mroe rapid & intuitive modification of pose, deformations, expressions, etc.

Expensive to create

 

Blend Shapes

image-20230725160845374

Courtesy: Félix Ferrand

Instead of skeleton, interpolate directly between surfaces

 

Motion Capture

image-20230725161134900

Motion capture room for ShaqFu

Record real-world performances, extract pose as a functin of time from data collected and apply them to a model.

Strengths

Weaknesses

image-20230725161417391

 

Facial Motion Capture

image-20230725161613484

Discovery, "Avatar: Motion Capture Mirrors Emotions", https://youtu.be/1wK1Ixr-UmM

Challenge of Facial Animation

 

The Production Pipeline

image-20230725161747349