Project Description

Watch as the zamboni makes its way around the rink, resurfacing the ice so there is a clean sheet to skate on. Decide whether you will play in an NHL or IIHF rink. The zamboni and rink are both exactly to scale, and the zamboni is designed to follow a preset pattern of movement that mirrors the pattern zamboni drivers use in real life.

Program Usage

Pressing 'f' allows the user to go into fullscreen mode, where the view rotates with the mouse movement. In the normal mode, left-clicking while moving the mouse rotates the view. The view can be translated with the arrow keys of the 'wasd' keys. The user can change the type of rink between the North American size and the international size. The movement of the zamboni can be altered from a preset pattern to random movements. The models in the program are wavefront object (.obj) files that have been converted to a proprietary binary format, .car. If the command lie argument '-obj' is supplied, the neccessary object files are converted to the .car format.

Due to time limitations, the ice resurfacing and pattern movement were not implemented. The 3D models are also not complete, with some display errors.

Screenshots



A view of the rink




The fullscreen mode



The zamboni up close, in all its deformed glory

Resources

  • Wings3D, a 3d modeling program
  • This page includes source files for loading wavefront .obj's in C and C++
  • This page has a nice visual comparison of the NHL and international ice rink dimensions
  • This tutorial has a nice example of animating at a constant speed in OpenGL
  • NeHe Productions, a great source of graphics and OpenGL information