Difference between revisions of "DI-Machine"

From BZFlagWiki
Jump to: navigation, search
m (Hisory/Information)
(Updated links with proper formatting.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The DrawInfo-Machine 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 [[#http://my.bzflag.org/bb/viewtopic.php?p=115772#115772 | here.]]
+
The DrawInfo-Machine 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 [http://forums.bzflag.org/viewtopic.php?f=24&t=11514 here].
  
 
==Instructions for use==
 
==Instructions for use==
#Download the script from [[#http://my.bzflag.org/bb/files/dimachine5_php_191.txt | here]] and change the file-name to dI-Machine.php
+
#Download the script from [http://forums.bzflag.org/download/file.php?id=8018 here] and change the file-name to dI-Machine.php
# Download and install PHP 5 or later from [[#http://www.php.net/downloads.php#v5 | the php website.]] (PHP 4 may work, but it has not been tested)
+
# Download and install PHP 5 or later from [http://www.php.net/downloads.php#v5 the php website].  (PHP 4 may work, but it has not been tested)
 
#Using your favorite 3D modeler, export your model as an obj file.
 
#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.
 
# 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.
Line 9: Line 9:
 
#Copy and paste or pipe the result into a your map.
 
#Copy and paste or pipe the result into a your map.
  
==Hisory/Information==
+
==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 | ModelTool v1.8.1]] and later [[#http://my.bzflag.org/bb/viewtopic.php?t=10820 | BZWorkbench]]
+
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 | ModelTool v1.8.1]] and later [http://my.bzflag.org/bb/viewtopic.php?t=10820 BZWorkbench] also incorporated this capability as well.
 +
 
 +
[[category:Map Making]]
 +
[[category:Map Editors]]

Latest revision as of 11:34, 13 February 2012

The DrawInfo-Machine 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.

Instructions for use[edit]

  1. Download the script from here and change the file-name to dI-Machine.php
  2. Download and install PHP 5 or later from the php website. (PHP 4 may work, but it has not been tested)
  3. Using your favorite 3D modeler, export your model as an obj file.
  4. 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.
  5. At the command-line, type: php drawinfomachine.php /path/to/object.obj
  6. Copy and paste or pipe the result into a your map.

History/Information[edit]

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.