@lovelace_lol/loom3 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -229,9 +229,14 @@ Other `Profile` fields that are easy to miss:
229
229
  - `auMixDefaults` sets the default morph/bone blend weight per AU.
230
230
  - `compositeRotations` defines the per-node pitch/yaw/roll axis layout used by the composite rotation system.
231
231
  - `continuumPairs` and `continuumLabels` describe bidirectional AU pairs and their UI labels.
232
- - `annotationRegions` defines the regions used by the marker and camera tooling.
232
+ - `annotationRegions` defines the regions used by the marker and camera tooling, including per-region framing via `paddingFactor`.
233
233
  - `hairPhysics` stores the mixer-driven hair defaults, including direction signs and morph target mappings.
234
234
 
235
+ For `annotationRegions`, `paddingFactor` is the camera framing multiplier for that region:
236
+ - values below `1` zoom in tighter
237
+ - values above `1` pull back to show more surrounding context
238
+ - profile overrides can replace it per region by name without copying the whole preset
239
+
235
240
  ### Passing a preset to Loom3
236
241
 
237
242
  ```typescript
@@ -267,6 +272,8 @@ const DAISY_PROFILE: Profile = {
267
272
  morphToMesh: { face: ['Object_9'] },
268
273
  annotationRegions: [
269
274
  { name: 'face', bones: ['CC_Base_Head'] },
275
+ { name: 'left_eye', paddingFactor: 0.9 },
276
+ { name: 'right_eye', paddingFactor: 0.9 },
270
277
  ],
271
278
  };
272
279
 
package/dist/index.cjs CHANGED
@@ -2104,13 +2104,13 @@ var CC4_PRESET = {
2104
2104
  {
2105
2105
  name: "left_eye",
2106
2106
  bones: ["CC_Base_L_Eye"],
2107
- paddingFactor: 1.2,
2107
+ paddingFactor: 0.9,
2108
2108
  parent: "head"
2109
2109
  },
2110
2110
  {
2111
2111
  name: "right_eye",
2112
2112
  bones: ["CC_Base_R_Eye"],
2113
- paddingFactor: 1.2,
2113
+ paddingFactor: 0.9,
2114
2114
  parent: "head"
2115
2115
  },
2116
2116
  {