Enveloping

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Enveloping is the process of attaching a model's Mesh vertices to the appropriate Bones in its Skeleton. When the skeleton articulates, the envelope's vertices will move with it, and the polygons will stretch or compress around joints. The Weightmap defines the relative amount of stretch for each vertex.

Tip.pngTip:Don't confuse weightmaps with $weightlists.

Guidelines

  • The envelope and weightmap data but be exported inside the reference.smd (where it is stored as "triangles" data).
  • For models without articulated skeletons (ie 1 bone) the SMD exporter will probably envelope your mesh automatically.


Tooltips