Difference between revisions of "Flexes with 3DS Max"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
 
This article contains supplemental notes to Cannonfodder's tutorial on how to create facial animations with VTA files.
 
This article contains supplemental notes to Cannonfodder's tutorial on how to create facial animations with VTA files.
 +
  
 
=Max=
 
=Max=
Line 5: Line 6:
  
 
For the procedure on creating the morph targets read his [http://www.hl2world.com/wiki/index.php/Creating_facial_animations_with_VTA_files step-by-step tutorial] on HL2World.com. He'll take you through the steps of creating the morph targets, exporting them and setting up the .QC file.
 
For the procedure on creating the morph targets read his [http://www.hl2world.com/wiki/index.php/Creating_facial_animations_with_VTA_files step-by-step tutorial] on HL2World.com. He'll take you through the steps of creating the morph targets, exporting them and setting up the .QC file.
 +
  
 
=Notes=
 
=Notes=
When going through his tutorial I have discovered a few things to be kept in mind.
+
When going through his tutorial I have discovered a pair of things to be kept in mind.
 +
 
 +
===Size===
 +
Remember to keep whatever you want to flex animate at a reasonable size. For some reason the vertex animation will not work with things over a certain size. It will only crumble the mesh. I don't know the exact threshold, but my guess is the safest size is that of a human head kept to Valve's scale of a human being 72 units tall.
 +
 
 +
===Smoothing Groups===
 +
For some reason any flex animated mesh gets its smoothing groups reset when compiled, resulting in an all smoothed mesh. This means that you cannot have smoothing groups on a mesh that has vertex animation. It is possible to divide your mesh in multiple seperate meshes though that all use the same bones in the '''Skin''' modifier.
 +
 
 +
Example: Seperating head from body, so they are not polygonally attached, both kept as individual objects/meshes still assigned to the same bones. It is then possible to add smoothing groups to the body, while only the head would be reset when flexed on its own.

Revision as of 10:48, 18 July 2008

This article contains supplemental notes to Cannonfodder's tutorial on how to create facial animations with VTA files.


Max

First things first. As this is 3DS Max, you are going to need Cannonfodder's 3DS Max Tools. <- Go get 'em.

For the procedure on creating the morph targets read his step-by-step tutorial on HL2World.com. He'll take you through the steps of creating the morph targets, exporting them and setting up the .QC file.


Notes

When going through his tutorial I have discovered a pair of things to be kept in mind.

Size

Remember to keep whatever you want to flex animate at a reasonable size. For some reason the vertex animation will not work with things over a certain size. It will only crumble the mesh. I don't know the exact threshold, but my guess is the safest size is that of a human head kept to Valve's scale of a human being 72 units tall.

Smoothing Groups

For some reason any flex animated mesh gets its smoothing groups reset when compiled, resulting in an all smoothed mesh. This means that you cannot have smoothing groups on a mesh that has vertex animation. It is possible to divide your mesh in multiple seperate meshes though that all use the same bones in the Skin modifier.

Example: Seperating head from body, so they are not polygonally attached, both kept as individual objects/meshes still assigned to the same bones. It is then possible to add smoothing groups to the body, while only the head would be reset when flexed on its own.