animation
Computer Graphics
Børre Stenseth
JOGL>Android Man

Android

What

The task is to draw a simple figure built from cylinders, spheres and disks. We will make the man walk and talk. The structure of the program is allmost identical to the structure in the module Horse

We plan the Android man like this:

  • The main body is a cylinder with a disk at each end
  • Both arms and both legs are cylinders with a sphere at each end
  • The head is a half sphere. This is solved with a clipping-plane, see code below
  • The eyes are partly hidden spheres
  • The "pins" are partly hidden cylinders
screen

The complete class for the Android, oneMan:

_oneMan.java

It should be rather straight-forward to implement variations of the android man or to implement a group of them, marching or playing.

  • The program project: https://svnit.hiof.no/svn/psource/JOGL/Androidman
Maintainance

B.Stenseth, june 2011

JOGL>Android Man
til toppen