StudioMDL (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(merge with other "introduction to Studiomdl" articles ...)
(→‎Output files: minor corrections - see diff)
Line 9: Line 9:


;<code>mymodel.mdl</code>
;<code>mymodel.mdl</code>
:[[Skeleton]], animations, bounding/hit boxes, surface materials, [[lod]] index...
<!-- :[[Skeleton]], animations, bounding/hit boxes, surface materials, [[lod]] index... // incorrect-->
;<code>mymodel.sw.vtx</code>
;<code>mymodel.sw.vtx</code>
;<code>mymodel.dx80.vtx</code>
;<code>mymodel.dx80.vtx</code>
;<code>mymodel.dx90.vtx</code>
;<code>mymodel.dx90.vtx</code>
:Vertex data optimised for DirectX 7, 8 and 9
<!-- incomplete -->
<!-- :Vertex data optimised for DirectX 7, 8 and 9 // incorrect-->
;<code>mymodel.vvd</code>
;<code>mymodel.vvd</code>
:Remaining hardware-agnostic vertex data, and the [[UV map]]
<!-- :Remaining hardware-agnostic vertex data, and the [[UV map]] // incorrect-->
;<code>mymodel.phy</code>
;<code>mymodel.phy</code>
:Collision mesh data
:Collision mesh data <!-- and $collsionmodel data ... -->


== See also ==
== See also ==

Revision as of 20:10, 5 May 2008

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
mymodel.sw.vtx
mymodel.dx80.vtx
mymodel.dx90.vtx
mymodel.vvd
mymodel.phy
Collision mesh data

See also