CMP 161 -- Programming Assignment 2
Due date:
10:00am, THU, 2/23/2006
Objectives:
Learn about physically based animation with springs
and simple collisions.
This assignment is inspired Paul Heckbert's
Siggraph'87
jello paper.
To Do:
-
Use your program 0 as the framework for this assignment.
You will need to animate the behavior of a squishy object
hitting an obstacle.
The simplest obstacle would be a floor.
(If you want to get really fancy,
a final project idea would be to have squishy objects fall
down stairs, or interact with other squishy objects).
The simplest squishy object would be a cube,
but it could also be the woman model we started with
in program 0. Either way, use a cube first.
It will make your debugging so much easier.
-
The following links may be useful --
a similar programming assignment from CMU
.
-
The following links on springs (2D) may be useful --
- suggested approach, data structures, and algorithms
Items To Submit:
-
Html page with description and images of your
project's output.
Make sure your links are all local
and relative to your submit directory.
-
Also make sure you have well documented code,
makefile, README file, user guide, etc.
-
Do NOT include the data files if we already have them,
i.e. if the data is from
http://www.soe.ucsc.edu/~pang/161/w06/data/
.
Grading:
This program nominally accounts for 6% of your final grade.
Include a README in your submission as to which platform to use. By the way,
if you're doing your development on PC's, you should be able to recompile your
fltk/opengl code on the suns with little or no modifications to your source.
Programs turned in at least a full day early will earn 1% bonus credit. Late
programs will be charged 1% late points. In addition, late programs will not
be accepted 24 hours past due date. Late programs and reports will not be
accepted for the final project. The bonus credits may be accumulated up to a
total of 50% toward program and final project credits. Programs are graded 80%
for functionality and correctness and 20% for style, readability,
documentation/writeup, and efficiency. Additional points may also be earned
for extra features.
Submission:
Create and submit a subdirectory called "prog2". It should contain
all the files you have to make your program compile/run. Include the other
items to be submitted in this directory as well. Submission must be done using
the submit utility from CATS.
-
To submit use: submit cmps161-ap.w06 prog2 files
-
To verify submission use: peek cmps161-ap.w06 prog2
These commands should work from any cats machine, but if there is a problem
try from unix.ic.
Last modified
Tuesday, 22-Jan-2019 09:42:15 PST.