lbs_weight_space_constraint
lbs_weight_space_constraint(V, C)
Rewrites a linear equality constraint that acts on per-vertex displacements (CU(W) = 0) to instead act on the per-vertex skinning weights (AW = 0).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
V |
(n, d) float numpy array
|
Mesh vertices |
required |
C |
(c, dn) float numpy array
|
Linear equality constraint matrix that acts on per-vertex displacements |
required |
Returns:
Name | Type | Description |
---|---|---|
A |
(n, c') float numpy array
|
Linear equality constraint matrix that acts on per-vertex skinning weights |
Source code in src\fast_cody\lbs_weight_space_constraint.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|