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. | ||
| + | |||
| + | < | ||
| + | ### md2tool v1.2.0 by Jaakko Keränen < | ||
| + | |||
| + | Usage: md2tool [-flip] [-renorm] [-dsk] [-s < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | [-mg] [-fn < | ||
| + | |||
| + | -create | ||
| + | a frame name, empty lines are skipped, comments begin with ; ). | ||
| + | -del Delete one frame. | ||
| + | -delframes | ||
| + | -delskin | ||
| + | -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 | ||
| + | -gl Build GL commands. | ||
| + | -info | ||
| + | -lod Generate detail levels (automatically saved as DMD). | ||
| + | -md2 Save model as MD2 (the default). | ||
| + | -mg | ||
| + | -op Set the number of mesh optimization passes. | ||
| + | -renorm | ||
| + | -s Set skin zero. | ||
| + | -savelod | ||
| + | -skin Set the specified skin. | ||
| + | -skinsize | ||
| + | -tcmap | ||
| + | -weld Weld vertices (only for models with one frame). | ||
| + | -weldtc | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== Installation ====== | ||
| + | |||
| + | |||
| + | //md2tool// is included in the Doomsday distribution packages. {{veradd|1.9.10}} | ||
| + | |||
| + | **Mac OS X:** The installation location is: | ||
| + | Doomsday Engine.app/ | ||
| + | |||
| + | |||
| + | ===== Source code ===== | ||
| + | |||
| + | |||
| + | The source code is available in the [[http:// | ||
| + | |||
| + | |||
| + | |||