Computer Animation

CS91: Spring 2017

About:     | Overview | Resources | Schedule | Grading | Labs |
Policies: | Late Work | Integrity | Accommodations |

Announcements

Class Information

Professor: Aline Normoyle
Office: Science Center 258
Office hours:TR 3-5:30 (After class), and by appointment (available Tue, Thu, and Fri)

Class: TR: 1:15 - 2:30, Science Center 105
Lab A: F: 2:15- 3:45, Science Center 256
Lab B: F, 4:00-5:30, Science Center 256

Course Piazza Page for discussion group and supplementary handouts

Optional Texts (all available at the library, some in e-format):


Lab, OpenGL and C++ Resources

Tia Newhall's programming, git, and unix resources

Andy Danners's git and cmake resources

Course Overview, Goals, and Expectations:

Some exposure to major concepts in linear algebra (i.e. vector matrix math), curves and surfaces, newtonian physics, and prgramming has been assumed in the preparation of the course materials. Although we will review the above background, we will cover these topics quickly.

Course Learning Goals:

Student Responsibilities


Schedule

This is a tentative schedule. It will be updated as we go.
WEEK   DATE   ANNOUNCEMENTS TOPIC & READING LAB
1

Jan 17

  Introduction. Overview and motivation for course. Course organization. Anatomy of an animation program: init, update, draw.

Jan 19

  Coordinate Systems. Linear Algebra review. Vector spaces, dot products, and cross products.
  • Lenguel: Chps 1-2
  • Parent: Chps 2, Appendix B3
  • Angel: Chpt 3
OpenGL introduction
  • Shreiner et al, Chpt 1
Asst 0: Hello OpenGL. C++, I've missed you!
2

Jan 24

  Coordinate Transforms. Frames of reference.
  • Lenguel: Chps 3.1, 3.3, 3.4, 3.6
  • Angel: Chpt 3.1, 3.3, 3.7-3.10
  • Parent: Chpt 2

Jan 26

Drop/Add ends (Jan 30)

Coordinate Transforms. Euler angles. Check-ins: Hello, Animators
Asst 1: Rotations (Euler Angles)!
Practice questions (Week 2)
3

Jan 31

  Coordinate Transforms. Quaternions.

Feb 02

  Methods of Interpolation. Linear and cubic interpolation. Bezier curves
  • Angel: Chpt 10
  • Lenguel, Chpt 15
  • Parent, Chpt 3, Appendex
Psychedelics (video playlist)
Check-ins: You spin me round.
Asst 2: Rotations (Quaternions)!
Practice questions (Week 3)
4

Feb 07

  Methods of Interpolation. Linear and cubic interpolation. Bernstein polynomials, matrix representations

Feb 09

  Class canceled Check-ins: You spin me round.
Lab: Transformation practice
Practice questions (Week 4)
5

Feb 14

  Methods of Interpolation. Catmull-Rom Splines

Feb 16

  Methods of Interpolation. Hermite Splines. Check-ins: Quazy Quaternions
Asst 3: Curve Editor
Practice Questions (Week 5)
6

Feb 21

  Spherical Interpolation. Slerp. Quaternion splines.

Feb 23

  Rotation matrices and unit quaternions are BFFs. Comparisons of rotation matrices and unit quaternions. Quaternion definitions revisited. Check-ins: The Catmull-Rom com

Practice Questions (Week 6)
Optional Lab: To B-Spline or not to B-Spline
7

Feb 28

  Spherical Interpolation. Squad.
Body Kinematics. Joint hierarchy representation. Transformation matrices, revisited. Forward kinematics. Intro to motion curves
No Check-ins

Mar 02

  Midterm Review Midterm Exam
 

Mar 07

Spring Break

Mar 09

8

Mar 14

  Class canceled

Mar 16

  Kinematic chains. Forward kinematics.
Parent. Chapt 5.1, 5.2
Asst: Forward Kinematics!
Practice Questions
9

Mar 21

  Motion Editing. Time warping, resampling, interpolation, and cross fading.
Interpolation Example: Idle+Samba => Interpolation Result
Cross fade Example: Idle + Samba => Cross fade Result

Mar 23

Last day CR/NC or W (Mar 24)

Character Controllers. Blending motions together. Splicing. Blend and Move trees.
Splice example: Walk spliced with gangnam style => splice result
Check-ins: Strike a pose.
Asst: Motion blending
Practice Questions
10

Mar 28

  Character Controllers. Blend and move trees Mechanim demo. Looping motions. Accumilator root.

Mar 30

  Inverse Kinematics. Analytical method with two link limb.
Two link demo
Parent Chpt 5.3
Check-ins: Blending in.
Asst: Inverse Kinematics
Practice Questions
11

Apr 04

  Inverse Kinematics. Cyclic Coordinate Descent (CCD). Procedural animation using FK/IK
CCD demo

Apr 06

  Body Dynamics. Particle systems. Collision detection.
Physically Based Modeling SIGGRAPH Course
Check-ins: Blending out; IK getting started
Bonus: challenge project
Practice Questions
12

Apr 11

  Body Dynamics. Numerical methods.
Physically Based Modeling SIGGRAPH Course

Apr 13

  Body Dynamics. Rigid Bodies.
Physically Based Modeling SIGGRAPH Course
Check-ins: Reaching for your goals.
Practice Questions
13

Apr 18

  Feedback Control. 2D vehicle model driven with physically-based control laws.

Apr 20

  Behaviors and crowds. Steering behaviors. Boids. Check-ins: Maximum extreme challenge
2D vehicle practice questions
Steering practice questions
14

Apr 25

  Navigation and Path Planning. Trajectory following. Navigation meshes and grids. Path planning algorithms.

Apr 27

  Check-ins: Bonus project
Practice Questions

Course Format

Grades will be weighted as follows: We will follow the terms and conditions of other CS courses at Swarthmore. Regarding exams, only conflicts for which you have no control, such as your participation in an athletic team competition or an orchestra performance will be accommodated (practices and rehearsals are not acceptable conflicts). Please read the Accommodations section if you need extra time for taking exams. You must inform me of accommodations or conflicts at least 3 weeks prior to the exam.

Participation

The class participation grade is based on:
  1. lab and class attendance
  2. participation in in-class and in-lab activities, esp. presentations and in-lecture questions

Labs

Several of the labs will be done with a parter. The programming labs will consist of implementing functions in C++ codebase. If it has been awhile since you've programmed in C++, please look at Tia Newhall's C++ programming references. We will review C++ concepts in the zero'th assignment and first lab.

Assignments will be assigned each Thursday and due the following week. electronically by pushing to your assigned git repository. You may push your assignment multiple times, and a history of previous submissions will be saved. You are encouraged to push your work regularly.

About the CS Lab: I encourage you to work in one of the CS labs when possible (vs. remotely logging in), particularly when working with a partner. The CS labs (Sci Center 240, 256, 238, and Clothier basement) are open 24 hours a day, 7 days a week for you to use for CS course work. With the exception of during times when a class, or a class lab or ninja session is scheduled in a lab, you may work in one of the CS labs on your CS course work anytime. The overflow lab (238) is always available. The CS lab resources are for CS course work. Please review the CS Lab Rules and CS User Rules about appropriate use of CS labs. Accessing the CS labs after hours: use your OneCard to gain access to the computer labs and Science Center (near Cornell library) at nights and on the weekends. Contact public safety if you are not able to access these spaces with your OneCard.

Late Lab Work Policy

To help with cases of minor illnesses, athletic conflicts, or other short-term time limitations, all students start the course with three "late assignment days" to be used at your discretion, with no questions asked. To use your extra time, you must email your professor after you have completed the lab and pushed to your repository. You do not need to inform anyone ahead of time. When you use late time, you should still expect to work on the newly-released lab during the following lab section meeting. The professor will always prioritize answering questions related to the current lab assignment.

Your late days will be counted at the granularity of full days and will be tracked on a per-student (NOT per-partnership) basis. That is, if you turn in an assignment five minutes after the deadline, it counts as using one day. For partnered labs, using a late day counts towards the late days for each partner. In the rare cases in which only one partner has unused late days, that partner's late days may be used, barring a consistent pattern of abuse.

You may only use up to 2 late days on any individual assignment. I recommend that you save one of your late days for the B+Tree lab. After you have used up your late days, I reserve the right to refuse any late work from you (you will receive a zero). Any work I do accept after this, will incur a significantly large penalty for every day it is late.

Absence/Assignment Extension Policy

Your three late days for lab assignments are intended to help when you need to miss a class due to a minor illness or to travel for a conference or interview, or when you have a lot of work to do in another class. Extensions are not granted for any of these reasons;

Use your late days if you feel that you need an extension on an assignment or that you are unable to attend class for two or more meetings due to a medical condition (e.g., extended illness, concussion, hospitalization) or family emergency, you must provide your instructors with official documentation from the dean's office or student health center. Their documentation will help us to provide the appropriate accommodations.

Academic Integrity

The CS Department Integrity Policy Statement:
Academic honesty is required in all your work. Under no circumstances may you hand in work done with (or by) someone else under your own name. Your code should never be shared with anyone; you may not examine or use code belonging to someone else, nor may you let anyone else look at or make a copy of your code. This includes, but is not limited to, obtaining solutions from students who previously took the course or code that can be found online. You may not share solutions after the due date of the assignment.

Discussing ideas and approaches to problems with others on a general level is fine (in fact, we encourage you to discuss general strategies with each other), but you should never read anyone else's code or let anyone else read your code. All code you submit must be your own with the following permissible exceptions: code distributed in class, code found in the course text book, and code worked on with an assigned partner. In these cases, you should always include detailed comments that indicates on which parts of the assignment you received help, and what your sources were.

Failure to abide by these rules constitutes academic dishonesty and will lead to a hearing of the College Judiciary Committee. According to the Faculty Handbook: "Because plagiarism is considered to be so serious a transgression, it is the opinion of the faculty that for the first offense, failure in the course and, as appropriate, suspension for a semester or deprivation of the degree in that year is suitable; for a second offense, the penalty should normally be expulsion."

The spirit of this policy applies to all course work, including code, homework solutions (e.g., proofs, analysis, written reports), and exams. Please contact me if you have any questions about what is permissible in this course.

For this course, it is fine to help each other with using utilities and tools (Unix, C++, Sqlite, man, git, make, ...), and with reading and understanding the assignments. However, you should avoid discussing the details of your solution with anyone other than your lab partner, and you should never look at anyone else's code for a solution to a lab (or to a similar project). In addition, there are many useful on-line resources of which you should take advantage. However, make sure that you do not use these resources in such a way that it violates the spirit of our Academic Integrity statement. For example, should you post questions to on-line forums or mailing lists seeking a solution to the specific problem you are asked to solve. Basically, the solution and code that you submit as your own should be your own. If you are unclear about what type of collaboration is okay and what type is not, ask me about your situation before proceeding.

Accommodations Statement

If you believe that you need accommodations for a disability, please contact Leslie Hempling in the Office of Student Disability Services (Parrish 113) or email lhempli1@swarthmore.edu to arrange an appointment to discuss your needs. As appropriate, she will issue students with documented disabilities a formal Accommodations Letter. Since accommodations require early planning and are not retroactive, please contact her as soon as possible. For details about the accommodations process, visit Student Disability Service Website. You are also welcome to contact me privately to discuss your academic needs. However, all disability-related accommodations must be arranged through the Office of Student Disability Services.