User Tools

Site Tools


modding:md2tool
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


modding:md2tool [2012-12-18 19:27] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +//md2tool// is a command line utility for processing [[md2]] and [[dmd]] model files.
 +
 +<code>
 +### md2tool v1.2.0 by Jaakko Keränen <jaakko.keranen@iki.fi> ###
 +
 +Usage: md2tool [-flip] [-renorm] [-dsk] [-s <skinfile>]
 +       [-skin <num> <skinfile>] [-del <num>]
 +       [-delframes to|from|<num> <num>] [-delskin <num>]
 +       [-skinsize <width> <height>] [-gl] [-info] [-create <framelistfile>]
 +       [-md2] [-dmd] [-savelod <num>] [-lod] [-ef <num>] [-op <num>] [-tcmap]
 +       [-mg] [-fn <filename>] [-weld] [-weldtc] model[.md2|.dmd] ...
 +
 +-create     Create an empty model based on a frame list (each line specifies
 +            a frame name, empty lines are skipped, comments begin with ; ).
 +-del        Delete one frame.
 +-delframes  Delete a range of frames.
 +-delskin    Delete one skin.
 +-dmd        Save model as DMD.
 +-dsk        Set skin zero to the default skin name (model name + PCX).
 +-ef         Set error factor for mesh optimization (default: 1.0).
 +-flip       Flip triangles. Automatically builds GL commands.
 +-fn         Change the name of the model file.
 +-gl         Build GL commands.
 +-info       Display model information.
 +-lod        Generate detail levels (automatically saved as DMD).
 +-md2        Save model as MD2 (the default).
 +-mg         Display triangle groups in the texture coordinate map.
 +-op         Set the number of mesh optimization passes.
 +-renorm     Calculate vertex normals.
 +-s          Set skin zero.
 +-savelod    The level to save when saving as MD2 (default: 0).
 +-skin       Set the specified skin.
 +-skinsize   Set skin dimensions.
 +-tcmap      Display texture coordinate map when optimizing.
 +-weld       Weld vertices (only for models with one frame).
 +-weldtc     Weld texture coordinates (removes all duplicates).
 +</code>
 +
 +
 +====== Installation ======
 +
 +
 +//md2tool// is included in the Doomsday distribution packages. {{veradd|1.9.10}}
 +
 +**Mac OS X:** The installation location is:
 +  Doomsday Engine.app/Contents/Doomsday.app/Contents/Resources
 +
 +
 +===== Source code =====
 +
 +
 +The source code is available in the [[http://github.com/skyjake/Doomsday-Engine/tree/master/tools/md2tool|Doomsday Git repository]].
 +
 +
 +
  
modding/md2tool.txt · Last modified: 2012-12-18 19:27 by 127.0.0.1