Talk:Anatomy of a Model

From Valve Developer Community
Jump to navigation Jump to search

Parent as a term in Skeletal Animation System

When a bone is moved any hitbox and mesh vertices "parented" to it moves with it. Unlike hitboxes, mesh vertices may be "parented" to more than one bone. When the parent bones move apart, the "joint mesh" is stretched, when the joint is closed, the mesh compresses. The Skeleton deforms the Mesh which deforms the rendered skin.

When referring to vertices, parenting is a confusing term. Generally in a hierarchy a children should only have 1 parent so when taking about vertices that can have multiple influences weighted is probably a better term.

When a bone moves, any mesh vertices assigned to the bone's "vertex group" moves in proportion to the weighted influenced from 0 -> 1. Unlike hitboxes, mesh vertices may be "weighted" to more than one bone. When 2 bones that have influence on the same part of a mesh move apart, the "joint mesh" is stretched, when the joint is closed, the mesh compresses. The Skeleton deforms the Mesh which deforms the rendered [[skin]].

Weevil bob (talk) 21:09, 21 November 2025 (PST)