Description:

This house is a product of my OpenGL-learning.
It Compiles on a Linux-Box, Sun-Solaris and Mac OSX.
The program uses the OpenGL-functionality of the grafic card to rotate a single house or a small village (9 times the same house).



Pic of House



Special keys:

  • r - Rotation (on/off)
  • w - Wired mode (switch through 4 modes)
  • d - Door (on/off)
  • m - Multiple houses (on/off)
  • 0 - No bricks
  • 1 - Build up the house
  • 2 - Stop building
  • 3 - Build down the house
  • 4 - All bricks
  • s - Shade model (flat/ smooth)
  • l - Light (on/off)
  • b - Rotate a small step backward
  • f - Rotate a small step forward
  • ESC - Exit

Requirements:
  • mesa
  • glut
  • Mac OsX: XCodeTools (make, gcc)

Compilation (Linux):
> tar -xzf GL-Lego-version.tgz
> cd gllego-version
> make

Compilation (Mac):
> tar xzf GL-Lego-version.tgz
> cd GL-Lego-version
> make -f Makefile.mac

Download Source.