CS 5643: Physically Based Animation for Computer Graphics
Spring 2010


PROFESSOR:  Doug James

TA: Steven An

HELP SESSIONS AND OFFICE HOURS: 
After class, and by appointment.

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:  MW 2:55-4:10pm  (first class is Mon Jan 25)

LOCATION:  Hollister Hall 368  Thurston Hall 203

GRADE OPTION: letter or S/U

NUMBER OF CREDITS:  4

PREREQUISITES:  Permission of the instructor, or COM 322 (Intro to Scientific Computing), or COM S 465 (Computer Graphics I). Students from CIS 300 (Intro to Computer Game Design) are strongly encouraged. Java applet programming in assignments.

EXAMS:  None (Grade based on assignments and project)

ACADEMIC POLICIES

APPROACH:

PROGRAMMING ASSIGNMENTS (Tentative):

  1. Mass-Spring Particle Systems (20%)
  2. Robust Collision Processing (a.k.a. "The Spaghetti Factory") (20%)
  3. Rigid Body Dynamics and Contact (20%)
  4. Fluid Control or Final Project of Your Choosing (40%)
PREVIOUS COURSE OFFERING:
   
SCHEDULE (Spring 2010)
DATE
TOPICS
SUPPLEMENTAL MATERIALS
Jan25 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. 
Jan27 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]

Particle Systems

Material:
Feb1
Basic Integrators


Material:
Feb3
Assignment #1
Particle Systems


  Assignment #1 Homepage
  • Video highlights:


Feb8
Particle-Based Fluids


Material:
Feb10
Implicit Integration;
IMEX and other schemes

Material:
Feb15
Feb17
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:



Feb22
Feb24
Mar01
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:
  • Cloth related:
    • Robert Bridson, Ronald P. Fedkiw, John Anderson, Robust Treatment of Collisions, Contact, and Friction for Cloth Animation, ACM Transactions on Graphics, 21(3), July 2002, pp. 594-603.
    • Robust Treatment of Simultaneous Collisions, David Harmon, Etienne Vouga, Rasmus Tamstorf, Eitan Grinspun, ACM Transactions on Graphics, 27(3), August 2008, pp. 23:1-23:4. (equality-constraint alternative to rigid cloth zones)
    • X. Provot, Collision and self-collision handling in cloth model dedicated to design garment. Graphics Interface, 177–89, 1997. (first introduction of rigid cloth zones)
  • General collision detection:

Assignment #2
Robust Collision Processing
(a.k.a. "The Spaghetti Factory")


Assignment #2 Homepage
  • Video highlights:
Mar03
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:
Mar08
Mar15
Solving Sparse Linear Systems

Material:
Mar15
Mar17
Rigid Body Simulation
Material:
  • Rigid body concepts (position, orientation, linear/angular velocity, momentum, inertia, etc.)
  • 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:
Mar17
Mar29
Mar31
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 
Mar22
Mar24
March Break
Apr5
Apr7
Fluid Animation
Materials:
Apr7
Final Project Webpage
  • Project proposal (PDF format) [DUE: Wednesday April 7]
Apr12
Smoke Control
Materials:
Apr14
Fluid-Solid Coupling
Materials:
Apr19
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]
Apr21
Apr26
No Classes
Apr28
Fracture
Material:
  •  
May3
May5
Project Presentations



SUPPLEMENTAL MATERIAL (from Spring 2009)
TOPICS
SUPPLEMENTAL MATERIALS
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]