Reference model: Difference between revisions
Jump to navigation
Jump to search
m (→Reference.mdl) |
mNo edit summary |
||
Line 3: | Line 3: | ||
== Reference.mdl == | == Reference.mdl == | ||
The Reference.mdl, conventionally named <code><modelname>.mdl</code>, contains a range of key information for an in game model: | The Reference.mdl, conventionally named <code><modelname>.mdl</code>, contains a range of key information for an in game model: | ||
* The model's Origin, which is used to align its rendermesh ([[ | * The model's Origin, which is used to align its rendermesh ([[VTX]]), collisionmodel ([[PHY]]), gibs, etc to the Model Entity's position in the World. | ||
* The | * The names of any sound WAV files used by this model. | ||
* The name of the | * The names of the VMT files to use as Skins. (or is this in VTX / VVD files ?) | ||
* The names of | * The name of the PHY file to use as a collisionmodel. | ||
* The names of the MDL files used to store animations. | |||
* etc | * etc | ||
Line 12: | Line 13: | ||
The reference.smd, conventionally named <code><modelname>_ref.smd</code>, contains some of the information that goes into the reference.mdl, but not all of it: | The reference.smd, conventionally named <code><modelname>_ref.smd</code>, contains some of the information that goes into the reference.mdl, but not all of it: | ||
* The default Origin | * The default Origin | ||
* Render Mesh | * Render Mesh (for lod_0) | ||
* UV map geometry and default Skin filename | * UV map geometry and default Skin filename | ||
* | * Skeletal bone hierarchy (nodes) and "idle" bone coordinates (skeleton) | ||
* etc | * etc | ||
[[category:modeling]] | [[category:modeling]] |
Revision as of 16:38, 29 April 2008
Reference.mdl
The Reference.mdl, conventionally named <modelname>.mdl
, contains a range of key information for an in game model:
- The model's Origin, which is used to align its rendermesh (VTX), collisionmodel (PHY), gibs, etc to the Model Entity's position in the World.
- The names of any sound WAV files used by this model.
- The names of the VMT files to use as Skins. (or is this in VTX / VVD files ?)
- The name of the PHY file to use as a collisionmodel.
- The names of the MDL files used to store animations.
- etc
Reference.smd
The reference.smd, conventionally named <modelname>_ref.smd
, contains some of the information that goes into the reference.mdl, but not all of it:
- The default Origin
- Render Mesh (for lod_0)
- UV map geometry and default Skin filename
- Skeletal bone hierarchy (nodes) and "idle" bone coordinates (skeleton)
- etc