<HTML>
<HEAD>
   <META NAME="Author" CONTENT="Monster Truck Madness Guild">
   <TITLE>MTMG BinEdit Readme.txt</TITLE>
</HEAD>

<body bgcolor="#FFFFFF" text="#003399" link="#3333FF" vlink="#0000CC" alink="#FF0000">
<center><table width="600"><tr><td><font face="Arial">

<A NAME="top"></A>
<CENTER><FONT SIZE=+3>BinEdit</FONT>
<BR><FONT SIZE=+2>(Readme.txt)</FONT>
<BR>by Oliver Pieper

<P><table width=350 border><TR><TD><font face="Arial">
<a href="#whatsnew">0. What's new? </a>
<BR><a href="#whatisit">1. What is BINedit?</a>
<BR><a href="#install">2. How to install BINedit</a>
<BR><a href="#usingit">3. How to use BINedit</a>
<blockquote>
<a href="#basics">Basics</a>
<BR><a href="#keyboard">Keyboard commands of BINedit</a>
<BR><a href="#menu">Menu commands of BINedit</a>
<BR><a href="#haypyramid">Mini-tutorial: the hay pyramid</a>
<BR><a href="#modify">Modifying the pyramid</a></blockquote>
<a href="#bugs">4. Known Bugs and Limitations</a>
<BR><a href="#homepage">5. BINedit homepage</a>
<BR><a href="#author">6. The author of BINedit </a>
<BR><a href="#wavefront">APPENDIX A - Wavefront format</a>
<BR><a href="#copyright">Copyright information</a>
<BR><a href="#warranty">Limited Warranty</a></font></td></tr></table>

<P>************************************
<BR>THIS FILE IS HOPELESSLY OUTDATED!!</CENTER>

<P>I'm sorry, but writing a documentation is an arduous task and not as
much fun as programming. This text should still offer some insight to those
new to BIN editing, so I keep it in the ZIP.
<P>Take a look at "Bin-Masta's MTM and MTM2 Custom Designs Page" at <A HREF="http://www.geocities.com/MotorCity/Garage/5527/" target="_blank">http://www.geocities.com/MotorCity/Garage/5527/</A>
for some Tips and Tricks on BIN editing.
<CENTER>
<P>************************************
<BR>Special thanks to Tom Berezansky for updating the text!
<P>
<HR WIDTH="50%">=============
<BR>BINedit beta
<BR>=============</CENTER>

<HR WIDTH="50%">
<A NAME="whatsnew"></A><CENTER>--------------
<BR>0. What's new?
<BR>--------------
<P>see changelog.txt</CENTER>

<HR WIDTH="50%">
<A NAME="whatisit"></A><CENTER>-------------------
<BR>1. What is BINedit?
<BR>-------------------</CENTER>

<P>BINs are the three-dimensional models used in the Microsoft/Terminal
Reality games MTM, Hellbender, CART and MTM2. This program was developed
with MTM (and MTM2) in mind, but should work with the other programs, too.
<P>BINedit is a utility for editing the BIN files (aka boxes, models, or
props).
<P>Unlike my normal beta programs which tend to be quite stable,this one
is REALLY BETA! I do my best to release only fairly stable versions, but
I won't take any responsibility for lost BINs and similar stuff 8-)
<P>Please report any bugs you find or send me some general suggestions.
<P>Improved versions will be released in irregular intervals
<P>Because the program is still under development, this readme file will
not yet discuss the functions in greater detail.
<P>BINedit is POSTCARDWARE. If you use it and have not sent me a postcard
yet, please do so. See POSTCARD.TXT for details.
<P>
<HR WIDTH="50%">
<A NAME="install"></A><CENTER>-------------------------
<BR>2. How to install BINedit
<BR>-------------------------</CENTER>

<P>BINedit will only work if you did use the "First Time Setup" feature
of TRI's TrackEd (or some similar procedure that extracts BIN files and
the appropriate textures to your hard drive).
<P>Simply copy the files
<BR><FONT FACE="Courier New,Courier">&nbsp; BINedit.EXE</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp; opengl32.dll</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp; glu32.dll</FONT>
<BR>to a directory of your choice.
<P>The Program should be ready to run.
<P>*****************************************************************
<BR>WHEN YOU ARE USING BINEDIT v0.907 (or higher) FOR THE FIRST TIME:
<BR>-----------------------------------------------------------------
<BR>The first thing you have to do is use the "Preferences" command in
the "File" menu and select the default color table (for MTM it is the file
"METALCR2.ACT" in the ART subfolder of the MTM folder), the default BIN
model directory (for MTM it is the MODELS subfolder of the MTM folder),
and the default .RAW and .ACT folder (for MTM it is the ART subfolder of
the MTM folder).
<BR>*****************************************************************
<P>BE SURE TO USE A SCREEN MODE WITH AT LEAST 64K COLORS! 256 COLORS ARE
NOT ENOUGH!
<P>
<HR WIDTH="50%">
<A NAME="usingit"></A><CENTER>---------------------
<BR>3. How to use BINedit
<BR>---------------------
<BR>
<HR WIDTH="50%"></CENTER>

<A NAME="basics"></A><P>////////////////////////////////////////////
<BR>// The basics of BIN editing:
<P>A BIN file describes a three-dimensional model for MTM (and Hellbender,
and CART, and MTM2, and...).&nbsp; The basic structure of a BIN consists
of 3D points. I will usually call them vertices (singular: vertex).&nbsp;
A vertex is not visible in MTM.
<P><FONT FACE="Courier New,Courier">&nbsp; 1 +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ 2</FONT>
<BR><FONT FACE="Courier New,Courier"></FONT>&nbsp;
<BR><FONT FACE="Courier New,Courier"></FONT>&nbsp;
<BR><FONT FACE="Courier New,Courier"></FONT>&nbsp;<FONT FACE="Courier New,Courier"></FONT>
<P><FONT FACE="Courier New,Courier">&nbsp; 3 +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ 4</FONT>
<P>Three or four of these vertices can be used to form a visible surface.
I will call these polygons faces. A face has only one visible side.&nbsp;
The faces is visible from the side where the vertices seem to be defined
clockwise.
<P><FONT FACE="Courier New,Courier">&nbsp; 1 +--------------+ 2</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp; 3 +---------+ 4</FONT>
<P>This face will only be visible from your side of the screen, if it is
defined as 1,2,4,3 or 2,4,3,1 or 4,3,1,2 or 3,1,2,4. Reverse the order,
and the face is only visible from within your monitor 8-).
<P>Each face uses a RAW file (a MTM texture file) for the rendering of
its surface. Several faces can share the same texture.
<P><FONT FACE="Courier New,Courier">&nbsp; 1 +--------------+ 2</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !xyxyxyxyxyxyx/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !yxyxyxyxyxyx/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !xyxyxyxyxyx/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp; !yxyxyxyxyx/</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp; 3 +---------+ 4</FONT>
<P>
<HR WIDTH="50%">
<A NAME="keyboard"></A><P>////////////////////////////////////////////
<BR>// Keyboard commands of BINedit
<BR>&nbsp;
<TABLE WIDTH="90%" >
<TR>
<TD VALIGN=TOP>Keypad +</TD>

<TD>: zoom 3d view in&nbsp; (SHIFT to zoom faster)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Keypad -</TD>

<TD>: zoom 3d view out (SHIFT to zoom faster)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Cursor Keys</TD>

<TD>: rotate 3d view (SHIFT to rotate faster)</TD>
</TR>

<TR>
<TD VALIGN=TOP>TAB/SHIFT TAB</TD>

<TD>: cycle through vertices (forward/backward)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Space/SHIFT Space</TD>

<TD>: cycle through faces (forward/backward)</TD>
</TR>

<TR>
<TD VALIGN=TOP>CTRL-X</TD>

<TD>: delete current face</TD>
</TR>

<TR>
<TD VALIGN=TOP>X/SHIFT X</TD>

<TD>: move selected vertex in positive/negative x direction</TD>
</TR>

<TR>
<TD VALIGN=TOP>Y/SHIFT Y</TD>

<TD>: move selected vertex in positive/negative y direction</TD>
</TR>

<TR>
<TD VALIGN=TOP>Z/SHIFT Z</TD>

<TD>: move selected vertex in positive/negative z direction</TD>
</TR>

<TR>
<TD VALIGN=TOP>N</TD>

<TD>: cycle through vertices of selected face</TD>
</TR>

<TR>
<TD VALIGN=TOP>SHIFT N</TD>

<TD>: select first vertex of selected face</TD>
</TR>

<TR>
<TD VALIGN=TOP>F</TD>

<TD>: Tag (mark) selected face (still without real function)</TD>
</TR>

<TR>
<TD VALIGN=TOP>I</TD>

<TD>: information on model/selected vertex/selected face</TD>
</TR>

<TR>
<TD VALIGN=TOP>T</TD>

<TD>: toggle display of current vertex' texture&nbsp; (the colors are not
correct)&nbsp; The red outline shows which part of the texture is used
for the face. Press N repeatedly to see which vertex corresponds to which
point of the red shape.&nbsp; Point and click with mouse to move current
vertex to new texture coordinates, or use X/SHIFT X and Y/SHIFT Y.</TD>
</TR>

<TR>
<TD VALIGN=TOP>SHIFT T</TD>

<TD>: Select new texture for current face. Select the new texture from
the texture pool.</TD>
</TR>

<TR>
<TD VALIGN=TOP>V</TD>

<TD>: Tag current vertex. Some trasformations can be restricted to tagged
vertices only, like the TRANSLATE command.</TD>
</TR>

<TR>
<TD VALIGN=TOP>CTRL-V&nbsp;</TD>

<TD>: Set vertex Coordinates</TD>
</TR>

<TR>
<TD VALIGN=TOP>CTRL-A</TD>

<TD>: Select all Faces</TD>
</TR>
</TABLE>

<P>
<HR WIDTH="50%">
<A NAME="menu"></A><P>////////////////////////////////////////////
<BR>// Menu commands of BINedit
<BR>&nbsp;
<TABLE WIDTH="90%" >
<TR>
<TD VALIGN=TOP>FILE</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>New</TD>

<TD>- Clear current BIN</TD>
</TR>

<TR>
<TD VALIGN=TOP>Open</TD>

<TD>- guess...</TD>
</TR>

<TR>
<TD VALIGN=TOP>Save As Model...</TD>

<TD>- save the current BIN as normal model
<BR>NOTE: For future storage of additional BIN infos, BINedit will create
a file &lt;binname>.BIN.info for every saved BIN!</TD>
</TR>

<TR>
<TD VALIGN=TOP>Save As Backdrop...</TD>

<TD>- save current bin as a backdrop model. This will only work if the
model was already a backdrop when it was loaded.
<BR>NOTE: For future storage of additional BIN infos, BINedit will create
a file &lt;binname>.BIN.info for every saved BIN!</TD>
</TR>

<TR>
<TD VALIGN=TOP>Save as Hellbender Bin...</TD>

<TD>- Save the current file as a hellbender model</TD>
</TR>

<TR>
<TD VALIGN=TOP>Insert...</TD>

<TD>- Load new model into current one. Use this function to combine two
BINs</TD>
</TR>

<TR>
<TD VALIGN=TOP>Import Truck...</TD>

<TD>- Import a truck(.trk) into BinEdit. You may need to extract files
from the Game and Truck pod files in the System directory to view the trucks.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Import Wavefront...</TD>

<TD>- Insert a file in Wavefront/Digital Arts format (See Appendix A)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Export Wavefront...</TD>

<TD>- Export a model to Wavefront/Digital Arts format (See Appendix A)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Export as VRML...</TD>

<TD>- Export the current file as a usable VRML file. If you have the right
software you can view the VRML file as well.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Play</TD>

<TD>- auto-rotate current model</TD>
</TR>

<TR>
<TD VALIGN=TOP>Preferences...</TD>

<TD>- displays a dialog were you can set some basic file and path names</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>VIEW</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>Zoom To Fit</TD>

<TD>- will zoom the model view to fit the 3d window.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Change Background Color</TD>

<TD>- Select the color of the background of all the views.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Wireframe, solid untextured, and textured</TD>

<TD>- Changes 3D view.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Follow Current Face</TD>

<TD>- When checked the 3D view will center to the selected face.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Show only 3D view</TD>

<TD>- guess...</TD>
</TR>

<TR>
<TD VALIGN=TOP>Show Axes</TD>

<TD>- When checked the location of the Axes is shown in the 3D view.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Show Vertices in 3D view</TD>

<TD>- When checked it shows the vertices in the 3D view.</TD>
</TR>

<TR>
<TD VALIGN=TOP>High Quality 3D textures</TD>

<TD>- When checked if you are in textured mode the 3D textures are brought
into a higher quality.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Toggle Vertex Status</TD>

<TD>- Toggle the small window with vertex info on and off.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Toggle Browse Window</TD>

<TD>- Toggles the browse window for selecting bin files. Double click on
one to open it.</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>MODEL</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>Rotate x,y,z</TD>

<TD>- rotate model around selected axis</TD>
</TR>

<TR>
<TD VALIGN=TOP>Center x,y,z</TD>

<TD>- Center the model on the selected axis</TD>
</TR>

<TR>
<TD VALIGN=TOP>Center all</TD>

<TD>- Center the model on all axises</TD>
</TR>

<TR>
<TD VALIGN=TOP>Resize</TD>

<TD>- resize model (values are in feet, one foot equals 256 editor units)&nbsp;
Old size is displayed in left column. Enter new size in right column.&nbsp;
To keep the proportions, check the "keep proportions" box before changing
a value on the right hand side. The other values will be calculated automatically.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Translate</TD>

<TD>- move the model (values are in editor units, 256 editor units equal
one foot)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Normalize Texture</TD>

<TD>- select ONE new texture for ALL faces.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Write textures to textfile</TD>

<TD>- will write the names of all textures that are used by the model to
a text file. Useful when creating response files.</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>VERTEX</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>Set Coordinates</TD>

<TD>- change the coordinates of the current vertex</TD>
</TR>

<TR>
<TD VALIGN=TOP>Add</TD>

<TD>- Add a new vertex. A dialog box will prompt you for the coordinates.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Delete Current</TD>

<TD>- Delete current vertex (if it is not used by any face).</TD>
</TR>

<TR>
<TD VALIGN=TOP>Delete all unused</TD>

<TD>- Delete all vertices that are not used by any face.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Merge close vertices</TD>

<TD>- Merges vertice within certain distances that you specify.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Select all vertices</TD>

<TD>- Selects all vertices.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Deselect all vertices</TD>

<TD>- Deselects any selected vertices.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Jump to Vertex #...</TD>

<TD>- Jumps to the vertex # you specify.</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>FACE</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>Add</TD>

<TD>- Add a new faces. Write down the vertex numbers of its corners before
<BR>entering the dialog box. The faces will get the first texture in the
texture pool. To change texture, select the face and press SHIFT T to select
a new texture from the pool.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Delete current</TD>

<TD>- delete the current (selected) face.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Flip Face</TD>

<TD>- Flips the direction of the face.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Flip and rotate texture</TD>

<TD>- as the name says. Flip doesn't work for triangles.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Select all faces</TD>

<TD>- Selects all faces</TD>
</TR>

<TR>
<TD VALIGN=TOP>Deselect all faces</TD>

<TD>- Deselects all selected faces</TD>
</TR>

<TR>
<TD VALIGN=TOP>Select by facing</TD>

<TD>- Selects the faces which are facing along the selected axis or it's
negative, or up to a certain degree away.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Properties</TD>

<TD>- view/change properties of current face (vertex numbers, texture type
and texture image)</TD>
</TR>

<TR>
<TD VALIGN=TOP>Jump to face #...</TD>

<TD>- Jumps to the face # you specify.</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>TEXTURES</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP>Load</TD>

<TD>- load one or more new textures into the editor's texture pool.&nbsp;
Only loaded textures can be used for faces.</TD>
</TR>

<TR>
<TD VALIGN=TOP>Define Animation...&nbsp;</TD>

<TD>- define a new texture animation. You will have to specify a name,
the number of frames per second and the textures for the frames. The new
animation &lt;name> will appear as "ANIM:&lt;name>" in the texture selection
dialog.</TD>
</TR>

<TR>
<TD VALIGN=TOP></TD>

<TD>&nbsp;</TD>
</TR>

<TR>
<TD VALIGN=TOP>GROUPS</TD>

<TD></TD>
</TR>

<TR>
<TD VALIGN=TOP COLSPAN="2">When you press F or V, the current "F"ace or
"V"ertex will be marked as selected.&nbsp; With "Define ???? Group" you
can assign a name to the current selection of faces or vertices. With "Restore
... Group" you can either restore a previously saved selection group, or
- by selecting the unnamed group - clear the selection.&nbsp;
<P>Vertex selections are in use only in "MODEL/TRANSLATE".
<P>The selections will be saved to and restored from the .BIN model's .INFO
file.</TD>
</TR>
</TABLE>

<P>
<HR WIDTH="50%">
<A NAME="haypyramid"></A><BR>//////////////////////////////////////
<BR>// Mini-tutorial: the hay pyramid...
<P>Ok, let's build a hay pyramid to get a feeling for the program 8-)
<P>Start BINedit. Do not load an object! (Or use the FILE/NEW function)
<P>Our pyramid needs a square base and four triangular sides. To add a
face, we need vertices first. Let's start with the base. We need four vertices.
For simplicity's sake, we will insert them at a y-coordinate of 0.
<P><FONT FACE="Courier New,Courier">Add the first vertex at&nbsp; x= 1000,
y=0, z= 1000</FONT>
<BR><FONT FACE="Courier New,Courier">Add the second vertex at x= 1000,
y=0, z=-1000</FONT>
<BR><FONT FACE="Courier New,Courier">Add the third vertex at&nbsp; x=-1000,
y=0, z=-1000</FONT>
<BR><FONT FACE="Courier New,Courier">Add the fourth vertex at x=-1000,
y=0, z= 1000</FONT>
<P>Press the keypad "+" key a few times to see the vertices in the 3d view.
<P>Viewed from the top (from the positive y-axis), they would look like
this:
<P><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/\&nbsp; z-axis</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3 +&nbsp;&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp; + 0</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">----------------+--------------------->
x-axis</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2 +&nbsp;&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp; + 1</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<P>Press TAB a few times to see the 3d cursor cycle through the vertices.
<P>Before we can add the base face, we need to load the texture. Select
the menu option TEXTURES/LOAD... and load HAYSTACK.RAW.
<P>Now we can add the face. It should be visible from beneath the pyramid
(negative y-axis), which means that the vertices of the face will have
to be defined clockwise when looking from the negative y-axis. My sketch
of the vertices is from the positive y-axis, we need to use a counter-clockwise
order:
<P>3, 2, 1, 0 will do. Select the menu option FACES/ADD and enter the values
in the edit fields. The new face will appear in the 3d view (well, it will,
if you rotate the model with the cursor keys until you can see the pyramid
from below). Since there is only the haystack texture in the texture pool,
it will already be assigned to the face. We can test it by changing the
FACES/PROPERTIES to "textured". The 3d view will now display the face with
its texture.
<P>The pyramid still needs the four sides. First, we have to add the last
vertex, the one at the top of the pyramid.
<P>Add the vertex (it's # 4) at 0, 1000, 0. This is 1000 units above the
center of the base face:
<P><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/\&nbsp; z-axis</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3 +&nbsp;&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp; + 0</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
! (4)</FONT>
<BR><FONT FACE="Courier New,Courier">----------------+---------------------->
x-axis</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2 +&nbsp;&nbsp;&nbsp;&nbsp; !&nbsp;&nbsp;&nbsp;&nbsp; + 1</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!</FONT>
<P>Now we can add the four sides. Defined in clockwise order, they are
<BR><FONT FACE="Courier New,Courier">&nbsp;4, 0, 1 (face nr. 1)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;4, 1, 2 (face nr. 2)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;4, 2, 3 (face nr. 3)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;4, 3, 0 (face nr. 4)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp; (the base is face nr.
0)</FONT>
<P>To add triangles, leave the last vertex value at -1.
<P>That's it! We've just built a (simple) MTM BIN model...
<P>Select FILE/SAVE AS to save the creation (I called it haypyra.bin).
You will be warned that the model is not centered along the y-axis and
asked if BINedit should center it vertically. Unless you are editing a
truck shape which is usually floating above the ground, the left button
('Ja' is German for 'Yes') is the correct one. The pyramid will be lowered
a bit.
<P>Now fire up the track editor and use the new BIN!
<P>
<HR WIDTH="50%">
<A NAME="modify"></A><BR>////////////////////////////////
<BR>// Modifying the pyramid
<P>The pyramid is about 8 feet wide and about 4 feet high. To change its
dimensions, use the menu option MODEL/RESIZE.
<P>To move a single vertex, select it with TAB/SHIFT TAB and use the X/SHIFT
X, Y/SHIFT Y, Z/SHIFT Z keys to move it in 100 unit steps. Or use the menu
option VERTICES/SET COORDINATES.
<P>Now let's change the texture of two opposite faces. First we need to
add the new texture to the texture pool. Select TEXTURES/LOAD and load
the GOLFGRAS.RAW texture.
<P>Press SPACE or SHIFT SPACE until one of the side faces is selected (tinted
purple). Now press SHIFT T. You will see a list with all textures in the
pool. Select golfgras.raw. Now select the opposite face and do the same.
<P>Voila! Now we have a pyramid with two different textures.
<P>Experiment!
<P>
<HR WIDTH="50%">
<A NAME="bugs"></A><BR>------------------------------------------------
<BR>4. Known Bugs and Limitations (it's still BETA!)
<BR>------------------------------------------------
<BR>- too many to mention!
<BR>- some few BIN files are not yet supported
<BR>&nbsp; (may have been fixed with 0.904. Please report any BIN that
still does not work).
<A NAME="homepage"></A><P>---------------------
<BR>5. BINedit homepage
<BR>---------------------
<BR><a href="http://members.tripod.de/oliverpieper/" target="_blank">http://members.tripod.de/oliverpieper/</a>
<A NAME="author"></A><P>------------------------
<BR>6. The author of BINedit
<BR>------------------------
<BR>Oliver Pieper
<BR>Student of Computer Science at the
<BR>Philipps-University of Marburg, Germany.
<P>email: pieper@ViaRegio.de
<BR>WWW: www.ViaRegio.de/pieper
<P>
<HR WIDTH="50%">
<A NAME="wavefront"></A>
<BR>**********************************************
<BR>* APPENDIX A - Wavefront/Digital Arts format *
<BR>**********************************************
<P>Wavefront/Digital Arts is a very simple format that stores three dimensional
models as ASCII files. BINEdit implements only two Wavefront/Digital Arts
commands:
<P>One. v #x #y #z&nbsp; defines a vertex at coordinates #x, #y, #z
<BR>&nbsp;Examples:
<BR>&nbsp; v 0.34445 -12 133.4
<BR>&nbsp; v 1 1 1
<P>Two.&nbsp; f #1 #2 #3 or f #1 #2 #3 #4&nbsp; defines a face using the
vertices #1 #2 #3 (triangle) or #1 #2 #3 #4 (rectangle)
<P>NOTE 1: Wavefront numbers the vertices 1, 2, 3... but BINedit starts
with vertex 0.
<BR>NOTE 2: Wavefront supports faces with any number of vertices, BINedit
only 3 or 4.
<P>&nbsp;Examples:
<BR>&nbsp; f 12 33 4
<BR>&nbsp; f 1 2 3 4
<BR>&nbsp; f 0 1 2 3 is invalid (vertex 0)
<P>I use this format to define my model shapes "off line". Its easier than
using the menu commands to add each vertex and face. I've included the
BARREL.OBJ that I've used to define the orange barrels for Derailed. View/Edit
it with Notepad.
<P>To convert other formats (Autocad DXF, 3D Studio 3DS, ...) to Wavefront
OBJs I use
<P>Pixel 3D
<BR>1996 (c) Forward Design
<BR>http://www.wavetech.net/~pixelboy
<P>The shareware version is limited to a certain number of program starts.
Make certain that Pixel 3D has access to your Windows directory. It needs
to modify the file C:\WINDOWS\WINSYS.DLL every time it is started.&nbsp;
Strange DLL, by the way. It is definitely no Windows system DLL.
<P>
<HR WIDTH="50%">
<A NAME="copyright"></A><BR>*********************
<BR>COPYRIGHT INFORMATION
<BR>*********************
<P>Resale of this product is strictly prohibited unless given explicit
permission by the author. Distribution on CD-ROM is strictly prohibited
unless given explicit permission by the author. All material contained
with the ZIP file is considered copyrighted by the author.
<P>&copy;1997 Oliver Pieper
<A NAME="warranty"></A><P>**********************
<BR>DISCLAIMER - AGREEMENT
<BR>**********************
<P>LIMITED WARRANTY
<P>THIS SOFTWARE AND MANUAL ARE PROVIDED ON AN "AS IS" BASIS.&nbsp; THE
AUTHOR DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESSED
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. NEITHER THE AUTHOR NOR ANYONE ELSE
WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THIS
SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH SOFTWARE, EVEN
IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR CLAIMS.&nbsp;
THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE
OF THE SOFTWARE.
<P>(sounds professional, doesn't it? 8-) )


<BR><BR><BR><BR><BR><BR><BR>

<center><a href="#top">Top</a></center>


<BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR>

</font></td></tr></table></center>



</BODY>
</HTML>
