animation
Fleurine Arsac / Student 2011
JOGL>Stan

Stan

What
screen
Drawing a simple animated figure with glu-routines

The program is inspired by the cartoon South Park.

southpark

The figure Stan is animated and he is built from cylinders, spheres and disks, and a torus (the scarf). See module Torus. Clipping planes are used to limit some of the parts.

The structure of the program is very simple and is built with two classes.

Main

Main controls the input and contains the basic routines: Init, Display,Reshape. In most of the other examples in this material this functionality is contained in a renderer-class (GLRenderer).

_Main.java

DrawStan

DrawStan takes care of what the name indicates, it has methods to set materials and model the shape.

_DrawStan.java

The animation (walk and jump) are controlled by the keyboard (W,J), and rotations are done with the mouse.

Maybe some of the other characters should be implemented as well ?

References
  • The program project: https://svn.hiof.no/svn/psource/JOGL/Stan
Maintainance

Program is written by student Fleurine Arsac as an assignment in a 3 week introductory course in Computer Graphics Sept. 2011.

Webpage by B.Stenseth, Sep. 2011

(Welcome) JOGL>Stan (Torus)