CS 5643: Physically Based Animation for Computer Graphics
Spring 2013


PROFESSOR:  Doug James

TA: TBA

HELP SESSIONS AND OFFICE HOURS: 
Mon 4-5pm, Wed 1-2pm, Fri 4-5pm

DESCRIPTION:  Modern computer animation and interactive digital entertainment are making increasingly sophisticated use of tools from scientific and engineering computing. This course introduces students to common physically based modeling techniques for animation of virtual characters, fluids and gases, rigid and deformable solids, and other systems. Aspects of interactive simulation and multi-sensory feedback will also be discussed.  A hands-on programming approach will be taken, with an emphasis on small interactive computer programs.

TIME:  TR 2:55-4:10pm 

LOCATION:  Hollister Hall 306

   
SCHEDULE (Spring 2013)
DATE
TOPICS
SUPPLEMENTAL MATERIALS
Jan22 Introduction

Readings:
  • An interesting historical perspective:
    • Terzopoulos, D., Pltt, J., Barr, A., Zeltzer, D., Witkin, A., and Blinn, J. 1989. Physically based modeling: past, present, and future. In ACM SIGGRAPH 89 Panel Proceedings (Boston, Massachusetts, United States, July 31 - August 04, 1989). SIGGRAPH '89. ACM Press, New York, NY, 191-209. 
Jan24 Review: Tensor Calculus


Discuss Particle System Dynamics

Discussed differentiating the following quantities with respect to particle position vectors, p_i:
  • constant, c
  • position, p_j
  • vectors, (p_j-p_k)
  • distances, ||p_j-p_k||
  • distance powers, ||p_j-p_k||^n
  • dot products, (p_1-p_0)^T (p_3-p_2)
  • cross products
  • Example: hair bending energy derivative, E = k*sin^2(theta/2)  [handout]
Jan29
Particle Systems

Material:
Jan31
Basic Integrators


Material:
Feb5
Assignment #1
Particle Systems


  Assignment #1 Homepage

Feb7
Feb12

No classes (Professor James is away)
Feb5
Feb14
Particle-Based Fluids


Material:
Feb19
Implicit Integration;
IMEX and other schemes

Material:
Feb21
Feb26
Feb28
Robust Collision Processing
Material:
  • Velocity-level collision resolution
  • Continuous collision detection
    • 2D (point-edge, sphere-sphere), and 3D (point-face, edge-edge) tests
  • Impulse resolution
  • Supporting pin/trajectory constraints
    • Inverse-mass-matrix filtering
  • Penalty forces
  • Rigid cloth zones
References:

Assignment #2
Robust Collision Processing
(a.k.a. "The Spaghetti Factory")
Assignment #2 Homepage
  • Video highlights (from previous years):
Mar5 Rigid Body Simulation
Material:
  • Rigid body dynamics
    • Position, orientation, linear/angular velocity, momentum, inertia, equations of motion, etc.
    • Euler's equations of angular rigid-body dynamics (in body coordinates)
  • Contact impulses
  • Example: rigid zones for cloth
  • Frictionless contacts:
    • Nonpenetration constraints
    • Velocity-level constraints (see Baraff course notes for accleration-level constraints)
    • Linear Complementarity Problem (LCP)
References:
Mar7
Mar12
Constrained Dynamics
Material:
  • Holonomic constraints, C(p)=0.
  • Example: Bead on a wire
  • Differentiating constraints w.r.t. time.
  • Constraint Jacobian, J
  • Lagrange multipliers, lambda, and constraint forces, J^T lambda
  • Solving for Lagrange multipliers
  • Implicit constraint (and half-explicit) DAE integration schemes
References:
Mar12
Mar14
Solving Sparse Linear Systems

Material:
Mar19
Mar21
March Break
No classes
Mar26
Mar28
Rigid Body Contact;
Projected Gauss-Seidel Solver
Material:

Assignment #3
Rigid Body Contact
(a.k.a. "The Jelly Bean Factory")
Material:
  • Starter code available from CMS 
Apr2
Apr4

Fluid Animation
Materials:
Apr4
Final Project Webpage
  • Project proposal (PDF format) [DUE: Thursday April 4]
Apr16
Smoke Control
Materials:
Apr25
Fluid-Solid Coupling
Materials:
Apr23
Shape Matching Methods
Material:
  • Matthias Müller, Bruno Heidelberger, Matthias Teschner, Markus Gross, Meshless deformations based on shape matching, ACM Transactions on Graphics, 24(3), August 2005, pp. 471-478. [ACM] [PDF] [AVI]
  • Alec R. Rivers, Doug L. James, FastLSM: Fast Lattice Shape Matching for Robust Real-Time Deformation, ACM Transactions on Graphics, 26(3), July 2007, pp. 82:1-82:6. [ACM] [PDF]
  • Denis Steinemann, Miguel A. Otaduy, Markus Gross, Fast Adaptive Shape Matching Deformations, ACM SIGGRAPH/Eurographics Symposium on Computer Animation, Dublin, July 7-9, 2008. [PDF] [AVI]
  • Matthias Müller and Nuttapong Chentanez. Solid simulation with oriented particles. ACM Trans. Graph. 30, 4, Article 92 (July 2011), 10 pages, 2011. [PDF] [MOVIE]
Apr30
Position Based Fluids
+ Project Discussion

Material:
Thurs
May2

Project Presentations



SUPPLEMENTAL MATERIAL
TOPICS
SUPPLEMENTAL MATERIALS
Deformable Models; and
Corotational Finite Elements

Material:
  • Blackboard
    • Basic continuum mechanics
      • Deformation (material and deformed coordinates, deformation gradient)
      • Polar decomposition (rotation, stretch)
      • Strain (Green, linearized Cauchy)
      • Strain Energy
      • Stress and forces
    • Tetrahedral finite elements
    • Corotational finite elements
  • References:
The Conjugate Gradient Method

Material:
  • Jonathan Richard Shewchuk, An Introduction to the Conjugate Gradient Method Without the Agonizing Pain, August 1994.  PDF (516k, 58 pages)
Passive Rigid Motion Control

Material:
"Staggered Projections"

Material:
  • A good reference on convex optimization:
    • Stephen Boyd and Lieven Vandenberghe, Convex Optimization, Cambridge University Press, 2004.
      • Stanford lecture notes/book [PDF]