A downloadable tool for Windows, macOS, and Linux
Welcome to Stereo Imagination, a command-line tool to automate the creation of 3D models with many repetitive elements, such as staircases or colonnades. The results can be fed into a game development pipeline, or used by themselves as visualizations. Generated models can be saved as STL files, and only include geometry information -- colors or textures are outside the scope of this software.
Stereo Imagination is used from the command line. After downloading and installing the software (see below), open a Command Prompt, Terminal or the equivalent for your operating system, and enter the following command:
stereo sheet 2 2 > sheet.stl
If everything is all right, you should now have a file called
sheet.stl in your working directory, with the following content:
solid facet normal 0 0 0 outer loop vertex -1.000000 -1.000000 0.000000 vertex 1.000000 -1.000000 0.000000 vertex 1.000000 1.000000 0.000000 endloop endfacet facet normal 0 0 0 outer loop vertex -1.000000 -1.000000 0.000000 vertex 1.000000 1.000000 0.000000 vertex -1.000000 1.000000 0.000000 endloop endfacet endsolid
Open this file with your favorite 3D viewer to make sure it depicts a simple square as expected.
For a more advanced example, type the following script into a file called something like
spiral-stairs.lulz (the file extension doesn't matter):
for i 0 19 1 do make phi mul :i rad 18 make d-z mul :i 0.25 print rotate-z :phi translate 0.5 0 :d-z box 1 0.5 0.3 end
To run this second example, enter:
stereo load spiral-stairs.lulz > spiral-stairs.stl
which you can test as above. In fact you'll find both of them in the samples.
- Ten geometric primitives: box, bucket, cone, cylinder, disc, octahedron, prism, pyramid, sheet, simplex.
- Five transformations: translate, scale, rotate, shear, distort.
- A friendly scripting language to work with all of them.
Stereo Imagination is powered by a scripting language called Lunar Logo, with the addition of thirty-something procedures related to 3D graphics. You can learn all about it from the included documentation.
Click download now to get access to the following files:
Leave a comment
Log in with your itch.io account to leave a comment.