StudioMDL (Source)

From Valve Developer Community
Revision as of 20:06, 5 May 2008 by Beeswax (talk | contribs) (merge with other "introduction to Studiomdl" articles ...)
Jump to navigation Jump to search
Merge-arrows.png
It has been suggested that this article or section be merged into Compiling a model. (Discuss)

Studiomdl is the command-line tool used to compile models from the intermediate Studio Model Data format exported from modeling packages to the binary .mdl format that is read by the Source engine.

It can be found at steam/steamapps/<account>/sourcesdk/bin/[orangebox|ep1]/bin/studiomdl.exe.

Studiomdl is executed with a QC file as a parameter. For more information about compiling, see Compiling a model.

Output files

mymodel.mdl
Skeleton, animations, bounding/hit boxes, surface materials, lod index...
mymodel.sw.vtx
mymodel.dx80.vtx
mymodel.dx90.vtx
Vertex data optimised for DirectX 7, 8 and 9
mymodel.vvd
Remaining hardware-agnostic vertex data, and the UV map
mymodel.phy
Collision mesh data

See also