Fr/Exporting a model: Difference between revisions

From Valve Developer Community
< Fr
Jump to navigation Jump to search
(New page: In Source, a model's geometry is created in a third-party model editor. This model data must be exported to SMD files, which are then [[Compiling a model|compile...)
 
No edit summary
Line 1: Line 1:
In Source, a [[model]]'s geometry is created in a third-party [[model editor]]. This model data must be exported to [[Studiomdl Data|SMD]] files, which are then [[Compiling a model|compiled]] by [[Studiomdl]] into Source's native binary format.
Dans Source, la géométrie d'un [[model|modèles]]est crée dans un éditeur de modèles externes. Les données du modèles sont exporté en fichiers [[Studiomdl Data|SMD]], qui sont alors [[Compiling a model|compilé]] par [[Studiomdl]] dans le format natif de Source à savoir .MDL.


{{tip|If you haven't already, see [[Model Creation Overview]].}}
== Export ==


== What to export ==
Il y à 4 types de SMD :
 
There are four types of SMD:


#[[Reference mesh]]
#[[Reference mesh]]
Line 12: Line 10:
#[[Vertex animation]] (for [[facial expressions]])
#[[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').
Chaque modèle à besoin d'au moins un SMD "reference mesh" et, même s'il ne bouge pas d'un SMD "Skeletal animation" ( qui est appelé généralement '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:
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:

Revision as of 11:28, 3 June 2009

Dans Source, la géométrie d'un modèlesest crée dans un éditeur de modèles externes. Les données du modèles sont exporté en fichiers SMD, qui sont alors compilé par Studiomdl dans le format natif de Source à savoir .MDL.

Export

Il y à 4 types de SMD :

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

Chaque modèle à besoin d'au moins un SMD "reference mesh" et, même s'il ne bouge pas d'un SMD "Skeletal animation" ( qui est appelé généralement '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.pngAstuce:In MilkShape 3D, simply click File > Export > Half-Life SMD.

Template:Otherlang:en Template:Otherlang:en:ru