Agent shape deformers are used to provide different deformation methods for shapes, such as linear skinning or dual quaternion skinning. Each shape binding can specify the deformer that should be used. The hou.crowds.shapeDeformers method provides a list of the available deformers.
Methods ¶
__init__(deformer_type)
Creates a new deformer instance from the specified built-in deformer type.
deformer_type
The following example shows how to use the dual quaternion skinning deformer:
shape = ... deformer = hou.AgentShapeDeformer(hou.agentShapeDeformerType.DualQuatSkinning) binding = hou.AgentShapeBinding(-1, shape, deformer)
__init__(name)
Creates a new deformer instance from the specified unique name. Raises hou.OperationFailed if there is not a registered deformer with this name.
When using the built-in shape deformers, it is preferable to use the constructor that accepts a hou.agentShapeDeformerType. However, this constructor can be used with custom shape deformers that were registered via the HDK.
hou.crowds.shapeDeformers provides a list of the registered deformers.
name
The unique name of the deformer (e.g. linearskinning
).
name()
→ str
Returns the unique name for the deformer.