Usage: geoconv {options}

Options are treated as commands executed in left-to-right order -

   <input-file>                Load a file into current data
   -I <input-type>             Set input file type
   -o <file>                   Generate output file from current data
   -O <output-type>            Set type of data to generate
   -n                          Normalise models to radius of 1.0
   -c                          Centre models on 0,0,0
   -f                          Flip face normals
   -F <flag>                   Set or clear model flag
   -w <axes>                   Fix wrapped texture coordinates
   -p                          Remove identical vertices
   -P <float>                  Merge vertices within a given tolerance
   -C                          Remove degenerate faces, unused vertices
                               and duplicate faces
   -m                          Collapse current data to one actor and one model
   -r <pattern>                Restrict subsequent operations to things
                               matching <pattern>
   -l                          List current data
   -g                          Set each model to a different smoothing group
   -S <sort-type>              Set sorting on output
   -N <material-name>          Set all models faces to use named material
   -N default		          	Set all models faces to use default material
   -M <map-type>,<axis>,<axis> Apply a default U,V mapping to models
   -s <float>                  Uniform scale applied to models
   -s <float>,<float>,<float>  Non-uniform scale applied to models
   -t <float>,<float>,<float>  Translation applied to models
   -a <axis>,<axis>,<axis>     Remap axes
   -D <name>                   Rename all models
   -L <name>                   Rename materials
   -R <old-name> <new-name>    Rename a model matching <old-name> which may
                               include wildcards (* and ?), to <new-name>.
   -v <name>                   View a model using the default material.

   <input-type> =
            dat    - P3D/Q3D model files
            nff    - Eric Haines' Neutral File Format
            asc    - 3D Studio .ASC file

   If a type is not specified, it will be guessed from the extension
   of the filename.

   <output-type> =
            models      (.dat or .brm)
            c-models        Source code for model data structures
            c-prep-models    Source code for prepared models

   <axis> =
           x y z    - positive input axes
           +x +y +z - positive input axes
           -x -y -z - negative input axes

   <map-axes> =
           u  U    - fix wrapping along u axis
           v  V    - fix wrapping along v axis
           uv  UV  - fix wrapping along uv axes

   <map-type> =
           none
           disc
           plane
           cylinder
           sphere

   <material-name> =
           <string>
           default

   <sort-type> =
           none
           name

   <flag> =
           +d Set   BR_MODF_DONT_WELD
           -d Clear BR_MODF_DONT_WELD
           +o Set   BR_MODF_KEEP_ORIGNAL
           -o Clear BR_MODF_KEEP_ORIGNAL
           +t Set   BR_MODF_GENERATE_TAGS
           -t Clear BR_MODF_GENERATE_TAGS
           +q Set   BR_MODF_QUICK_UPDATE
           -q Clear BR_MODF_QUICK_UPDATE
