CompSci 344
Spring 2015
Computer Graphics

Hierarchy

Animate something that exemplifies a hierarchical model. For example, a solar system in which moons orbit planets which orbit the sun, as well as spinning on their own axes. An amusement park ride also typically employs rotations heaped upon rotations in an attempt to make the rider sick. In general, you can pick one of the following four types of thing to animate (or create your own):

All data regarding your model (radius of orbit, number of cars, length of bar or bone, etc.) should be given as parameters that can be easily changed. Do not hard-code them. In the past, students have read the data in from a file or declared constants within a global header file. Your hierarchical model should be at least three "levels" deep (sun, planet, moon or shoulder, elbow, hand, etc.); however, the data structure for your model must be easily extensible to an arbitrary hierarchical depth (moons orbiting moons, fingers on hands, etc.).

The user of your program should be able to control a variety of options within your simulation using the keyboard. You may choose which keys control which functions, but make sure they are clearly documented in your README.

Allow the user the following controls

For this project, add your code to the JOGL framework discussed in class rather than building your own JOGL program from scratch.

Extra Credit

There are many parts of the project that are open ended. You can earn bonus points with extremely creative or artistic solutions. Make sure that you mention your assumptions, extra features, and how to run your program (especially with regard to program arguments or your data file format) in your README.

To get you started, here are some extra credit ideas:

Resources