brickBuilder

To view this content, you need to install Java from java.com

 [Source Code: brickBuilder methods vector ] [Built with Processing]

Special thanks to David Huebner (aka myT) for his help with various functions and methods (includnig the whole vector class) which helped to achieve my original goals.

Created by Markavian (2005|06|05)

First off, the big feature of this 3D scene are the camera controls, as listed below.

  • Right clicking and dragging horizontally rotates the scene
  • Right clicking and dragging vertically adjusts the vertical viewing angle
  • Clicking the middle button and dragging vertically allows zooms in and out
  • You can pan using the arrow keys.
  • To demonstrate proper interactive features with the scene I have implemented a grid that you can click to add blocks to different squares. Each time you click on a square it adds a layer.

  • Left clicking and dragging across the grid adds a single layer.
  • SHIFT + Clicking removes a layer.
  • Other keyboard commands include:

  • C - Centers the camera to the current mouse position
  • R - Resets the scene to the centre of the grid
  • L - Moves the directional light in the scene to behind the camera.
  • N - Starts a new scene by clearing all the blocks