Active Shape Targeting ARAP
Active Shape Targeting ARAP extends ARAP with a user-controlled local shape target. It follows the shape-targeting model of Klár et al. (2020) and can represent contraction, expansion, or shear while allowing rigid rotation.
Enum value: SoftMaterialType::ActiveShapeTargetingArap
Formulation
The six shapeTargetTensor values define the symmetric target tensor
SuperDex Physics forms the modified deformation gradient
and computes its rotation-variant SVD, . The closest proper rotation is
The strain energy density and first Piola–Kirchhoff stress are
When all target parameters are zero, and the model reduces to standard ARAP.
Parameters
The public parameter type is ActiveShapeTargetingArapMaterialParams.
| Parameter | Default | Units | Description |
|---|---|---|---|
stiffness | 1,000 | Pa | Resistance to deviation from the target shape |
shapeTargetTensor | [0, 0, 0, 0, 0, 0] | -- | Values defining |
psdStrategy | Projection | -- | PSD enforcement strategy |
Supported concrete PSD strategies: None, Projection, PerTermProjection, AbsEigenProjection. MaterialDefault resolves to the model's default, Projection. PerTermProjection is specific to this material and projects the tangent summands independently.
Controlling Actuation
Actuation is application-driven: supply a nonzero shapeTargetTensor at creation time, or vary it at runtime to change the desired local contraction, expansion, or shear. To update a homogeneous target, call Actor::GetSoftMaterialParams(), modify activeShapeTargetingArap.shapeTargetTensor, and pass the result to Actor::SetSoftMaterialParams(). For actors with per-element material data, use experimental::GetSoftMaterialParamsField() and experimental::SetSoftMaterialParamsField() instead.
When to Use
- Muscle contraction simulation.
- Soft robotics with programmable local shape targets.
- Any scenario requiring active internal actuation with a controllable target tensor.
References
- G. Klár et al., Shape Targeting: A Versatile Active Elasticity Constitutive Model, 2020.