Introduction and Overview

VoxelScript is a scripting language used to define geometric objects in a 3D voxel space and to specify transformations on the objects. The VoxelScript interpreter parses and processes the entered commands. Commands are terminated by semi-colons, thereby allowing an entire list of commands to appear on a single line. This feature permits an external program to pass a single string to the interpreter. The interpreter interfaces with external voxelization routines that voxelize the objects and save the scene to a f3d file, which can be thereafter used as input for a visualization tool or converted to other formats.

The interpreter's executable, vox, is invoked at the command line just like any other program with name of the file with VoxelScript source code as a parameter:

     vox  script1.vs
Note that the ``vs'' extension indicates that the file is a VoxelScript script, although the extension is not mandatory.

The interpreter outputs progress messages as it parses the input file and generates the scene. If it detects an error, the interpreter halts and prints a useful error message.

Commands have a syntax similar to C function calls. Whitespace is stripped out and is ignored by the interpreter.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de