CMP 161 -- Programming Assignment 1
Due date:
11:00am, Friday, 1/31/2003
Objectives:
Implement a
behavioral animation
system.
The link above has lots of additional references, examples, and
even code to get you started.
Be sure to give credit where credit is due.
To Do:
-
As usual,
it's best to decompose the problem into smaller chunks.
The boids could start off being simple dots or spheres
so you don't need to worry about orienting each boid
to line up with its direction of motion.
-
Add in flocking behavior e.g. group centering.
-
Add in collision avoidance.
-
Add in ``big fish'' formation.
-
Extras include follow the leader (e.g. where you move your mouse),
influence from environment (e.g. add in a flow field),
predator/prey (e.g. dispersion and chasing), etc.
Items To Submit:
-
Html page with description, images, and maybe animation clips
of your project's output.
Make sure the links are all *local* and relative to your submit directory.
-
Well documented code, makefile, README file, user guide, etc.
-
Any data file used with your program.
Don't submit data files that we provided
e.g.
local data.
Grading.
This program nominally accounts for 5% of your final grade.
We must be able to compile/test your code.
Make sure that
code and accompanying make/project files, etc. must be tested for
successful compilation at least on the suns in the lab. For PC's, we will be
using Visual C++. Also be sure to include a README in your submission as to
which platform to use.
By the way,
if you're 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
"prog1". 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.w03 prog1 files
- To verify submission use: peek cmps161-ap.w03 prog1
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:16 PST.