This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
DI-Machine
The DrawInfo-Machine or DI-Machine for short, is a script written in PHP to convert a WaveFront .obj file into a drawInfo-specific .bzw file. The related forum thread can be found here. Please note that the last updates of it were in 2007 and it may not run or work without further changes or modifications. Note: A port of Di-Machine to python exists.
Instructions for use
| Install |
| Download the script from here and change the file-name to dI-Machine.php |
| Download and install PHP 5 or later from the PHP website. |
| Converting obj to drawInfo |
| Using your favorite 3D modeler, export your model as an obj file. |
| If desired, create multiple copies of your model with lower resolution (less polygons). This can be included in your map for viewing from a distance. |
| At the command-line, type: php drawinfomachine.php /path/to/object.obj |
| Copy and paste or pipe the result into a your map. |
History/Information
The script was originally conceived by Optic Delusion and Tedius in an IRC conversation relating to the similarity of the obj syntax with that of the drawInfo object. The code was created by Tedius and improved by suggestions and submissions by Optic Delusion, Anomaly, Tanner, and Teppic. The machine was the first to give mappers a practical way to incorporate LODs and spinning objects in their maps. ModelTool v1.8.1 and later BZWorkbench also incorporated this capability as well.