SMF v1.5 File Format
-------------------------

  The SMF (Simple Model Format) is extremely simple, and is meant to get 
  as much data as possible into an easily readable format.  This format
  was created by me for the purpose of transferring between Glide
  applications and 3D rendering applications.  

  If you downloaded ReadASE a while ago, you probably saw v1.0 of SMF.  
  This, however, is SMF v1.5, because some changes were necessary
  to correctly implement converting data.  If you have used the 
  old format, see ReadASE.cpp to describe the changes (under "Bug Fixes").
  
Reading SMF v1.5 files
-------------------------
  Comment lines are marked with a semicolon ";".  Simply skip over them.

  Following is a sample file, defining a box object with normals and
  texture coordinates:
  
-------------------------------------------------------------- begin
; -- Simple Model Format v1.5 [.SMF] --
;
; [# of Vertices] [# of Faces]
8 12
; Vertex List [X Y Z]
-2.500000 -5.000000 -1.012000
2.500000 -5.000000 -1.012000
-2.500000 5.000000 -1.012000
2.500000 5.000000 -1.012000
-2.500000 -5.000000 -0.012000
2.500000 -5.000000 -0.012000
-2.500000 5.000000 -0.012000
2.500000 5.000000 -0.012000
; Does face section contain normal information?
1
; Does face section contain texture coordinates?
1
; Face List [Pt1 S1 T1 Pt2 S2 T2 Pt3 S3 T3 N1 N2 N3]
0 0.000500 0.001500 2 0.000500 2.998500 3 0.999500 2.998500 1 1 0
3 0.999500 2.998500 1 0.999500 0.001500 0 0.000500 0.001500 1 1 0
4 0.000500 0.001500 5 0.999500 0.001500 7 0.999500 2.998500 1 1 0
7 0.999500 2.998500 6 0.000500 2.998500 4 0.000500 0.001500 1 1 0
0 0.000500 0.001500 1 0.999500 0.001500 5 0.999500 0.001500 1 1 0
5 0.999500 0.001500 4 0.000500 0.001500 0 0.000500 0.001500 1 1 0
1 0.999500 0.001500 3 0.999500 2.998500 7 0.999500 2.998500 1 1 0
7 0.999500 2.998500 5 0.999500 0.001500 1 0.999500 0.001500 1 1 0
3 0.999500 2.998500 2 0.000500 2.998500 6 0.000500 2.998500 1 1 0
6 0.000500 2.998500 7 0.999500 2.998500 3 0.999500 2.998500 1 1 0
2 0.000500 2.998500 0 0.000500 0.001500 4 0.000500 0.001500 1 1 0
4 0.000500 0.001500 6 0.000500 2.998500 2 0.000500 2.998500 1 1 0
; End of .SMF Simple Model Format
-------------------------------------------------------------- end

   The first line contains the # of Vertices and the # of Faces in the given object.
   
   The following section simply contains vertex data.  There will be as many
   entries as there are Vertices, and each line simply contains floating point values
   of X, Y, and Z coordinates (with spaces in between).  

   Following the Vertex section, the face info section begins.  First, there are two
   flags about face information explaining what information is contained in the face
   section.  The first flag is 1/0 (True/False) based on whether or not the face 
   section contains edge normal information.  The second flag (also 1/0 True/False) 
   is based on whether or not the face section contains texture vertex information.

   The last section, the actual face section, is modular.  Given that ALL information
   is included (both normal info==1 and texture coords==1) then it will be in the 
   following format:
  
   Vertex1 Tex_S1 Tex_T1 Vertex2 Tex_S2 Tex_T2 Vertex3 Tex_S3 Tex_T3 Normal_AB Normal_BC Normal_CA

	If, for example, texture coordinates were not included, it would look like:

   Vertex1 Vertex2 Vertex3 Normal_AB Normal_BC Normal_CA
