The Anaglym graphics engine uses the Lua programming language as a high-level language in which to interpret Anaglym applications. Applications running inside Anaglym are Lua scripts that have a particular environment exposed to them. This environment provides high-level interfaces for creating and interacting with 3-dimensional objects, creating and controlling audio, and utilizing physics for the virtual world. Because the Anaglym engine only exposes a controlled set of routines to the executing script, execution of the hosted script is very secure. The script cannot, for example, read or write arbitrary files from the host's filesystem.
Anaglym makes use of a variety of other technologies to run:
Anaglym was my Master's project for Grand Valley State University's Computer Information Systems graduate program. You can see the entry in the GVSU ScholarWorks system.
The downloads available in this section are pre-compiled Windows binaries. To run anaglym in linux, check out the Source Code and build it (below).
| Release Version | Release Date | Download | Documentation |
|---|---|---|---|
| 1.1 | 2010-09-24 | anaglym-1.1.zip | anaglym-1.1-doc.html |
| 1.0 | 2010-08-10 | anaglym-1.0.zip | anaglym-1.0-doc.html |
You can obtain the code with the following command:
git clone git://holtrop.mooo.com/anaglym.git
To build Anaglym you'll need a few packages (these are the names of the packages in the Ubuntu repository):
liblua5.1-0-devlibftgl-devlibsdl1.2-devlibsdl-image1.2-devlibode-devThen:
make
Usage: anaglym [options] program.lua[c] Options: -w<width> : set window width -h<height> : set window height -f : do not fullscreen -g : do not grab mouse input -s<samples>: set multisample level (default 4)
enable_blending flag to optional object creation arguments to enable alpha-blending for transparencyobj:setTransparency(t) method to set the transparency of created objects without texturespick_dist, pick_pos, pick_normal attributes on selected objectsInitial release.