Exporting a model:it

From Valve Developer Community
Revision as of 22:05, 25 April 2010 by Khela (talk | contribs) (Created page with '{{otherlang2 | en = Exporting_a_model:en | ru = Exporting_a_model:ru | fr = Exporting_a_model:fr }} Nel Source, la geometria di un modello viene creata da un [[model e…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
English Français Русский

Nel Source, la geometria di un modello viene creata da un editor di modelli di terze parto. This model data must be exported to SMD files, which are then compiled by Studiomdl into Source's native binary format.

Tip.png Tip: If you haven't already, see Model Creation Overview.

What to export

There are four types of SMD:

  1. Reference mesh
  2. Collision mesh
  3. Skeletal animation
  4. Vertex animation (for facial expressions)

Every model needs at least one reference mesh and, even if it doesn't actually move, at least one skeletal animation (which is traditionally called 'idle').

Since all SMDs except facial animation share the same file extension, it's a very good idea to follow a naming convention when exporting. Such as:

  1. _ref
  2. _phys
  3. _<animation name>
  4. _expressions

So a reference mesh SMD might be called mymodel_ref.smd.

How to export

These articles will guide you through the SMD export process in the model editor package of your choice. Instructions for downloading and installing an SMD export plug-in (if it is necessary to do so) can be found in each.

Tip.png Tip: In MilkShape 3D, simply click File > Export > Half-Life SMD.