StudioMDL (Source): Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (→Output files:  minor corrections - see diff)  | 
				TomEdwards (talk | contribs)   (not incorrect at all; ask Valve)  | 
				||
| Line 1: | Line 1: | ||
'''Studiomdl''' is the command-line tool used to compile [[model]]s from the intermediate [[Studio Model Data]] format exported from modeling packages to the binary .mdl format that is read by the Source engine.  | '''Studiomdl''' is the command-line tool used to compile [[model]]s from the intermediate [[Studio Model Data]] format exported from modeling packages to the binary .mdl format that is read by the Source engine.  | ||
| Line 9: | Line 8: | ||
;<code>mymodel.mdl</code>  | ;<code>mymodel.mdl</code>  | ||
:[[Skeleton]], animations, bounding/hit boxes, surface materials, [[lod]] index...  | |||
;<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 respectively  | |||
;<code>mymodel.vvd</code>  | ;<code>mymodel.vvd</code>  | ||
:Remaining hardware-agnostic vertex data, including the [[UV map]]  | |||
;<code>mymodel.phy</code>  | ;<code>mymodel.phy</code>  | ||
:Collision mesh data   | :Collision mesh data  | ||
== See also ==  | == See also ==  | ||
Revision as of 06:28, 17 May 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- Skeleton, animations, bounding/hit boxes, surface materials, lod index...
 mymodel.sw.vtxmymodel.dx80.vtxmymodel.dx90.vtx- Vertex data optimised for DirectX 7, 8 and 9 respectively
 mymodel.vvd- Remaining hardware-agnostic vertex data, including the UV map
 mymodel.phy- Collision mesh data
 
See also
- Studiocompiler, a graphical interface for studiomdl
 - GUIStudioMDL, another graphical interface