StudioMDL (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


Studiomdl is executed with a [[Qc|QC file]] as a parameter. For more information about compiling, see [[Compiling a model]].
Studiomdl is executed with a [[Qc|QC file]] as a parameter. For more information about compiling, see [[Compiling a model]].
== Output files ==
;<code>mymodel.mdl</code>
:Index file for the entire model
;<code>mymodel.phy</code>
:Collision model data
;<code>mymodel.vvd</code>
:"Vertices" and "tangents"
;<code>mymodel.sw.vtx</code>
;<code>mymodel.dx80.vtx</code>
;<code>mymodel.dx90.vtx</code>
:Vertex data optimised for DirectX 7, 8 and 9


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

Revision as of 00:41, 26 April 2008

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
Index file for the entire model
mymodel.phy
Collision model data
mymodel.vvd
"Vertices" and "tangents"
mymodel.sw.vtx
mymodel.dx80.vtx
mymodel.dx90.vtx
Vertex data optimised for DirectX 7, 8 and 9

See also