Assignment #1 (due October 1)
Problem 1
Design and implement a Bresenham type algorithm for rasterizing an ellipse whose
axes form agle 45 degrees with the axes of the coordinate system.
Problem 2
Construct a VRML world performing a mechanical system simulation,
using a variety of VRML capabilities, like interaction and animation.
Here are some suggestions (which you could implement in full, or in part,
aiming for 4 hours worth of your time).
- A beach ball that falls under gravity onto the plane and gets deformed according to Hooke's Law.
To make things more interesting, you can add internal friction to the ball, as it is being deformed,
and air resistance.
-
The motion of a solid ball submerged in water in a tub, subject to buoyant
force and water resistance. To make things interesting, assume
that the water level drops off as the ball emerges from the water.
For a visual effect, you should model water as semi-transparent.
Waves are optional.
As a challange, you can add interactivity to the model, for instance,
let the user interact with the ball, or have a pair of faucets on the
tub which regulate the level of the water.
-
Design a simple game similar to pool, where you set a ball in motion by striking
it with a pole. Note that a variety of effects play role, for instance, if the ball
is struck off center, it will have a momentum which will make it veer off course.
-
Model a medieval canon, where you can regulate the distance by either changing the angle,
or the amount of powder you put in the canon. You may design a variety of targets: starting
with a simple ones, like a block. You may let the ball bounce off the ground, or be absorbed by it.
- Idea of your own of comparable level of difficulty.
Marek Rychlik <rychlik@u.arizona.edu>
Last modified: Tue Sep 16 09:57:49 MST 2003