Next: Assignment 3: Hierarchical
Up: Assignment 2: Frames
Previous: Models and Coordinate
Your program will support the following features:
- Menus:
- Selection of transformation mode and
coordinate system.
- Valuators:
- Mouse movement will be used to specify
scalar parameters.
- Modelling Transformations:
-
Rotation, translation, and scale.
- Viewing Transformations:
-
Camera rotation and translation, perspective.
- 3D Line Clipping:
-
To avoid divide by zero, you need to clip all lines
to the near plane.
Clipping to other planes is optional.
- Double Buffering:
- To avoid redraw flicker.
Tcl/Tk will be used for user interface support.
OpenGL may only be used for 2D line drawing in a [-1,1]x[-1,1] NDCS.
You must implement all transformations and clipping yourselves.
CS488/688: Introduction to Interactive Computer Graphics
University of Waterloo
Computer Graphics Lab
cs488@cgl.uwaterloo.ca