rig-parts 2.73.0 → 2.74.0
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/cli.ts +2 -2
- package/docs/AUTHORING.md +76 -59
- package/docs/STABILITY.md +46 -1
- package/package.json +1 -1
- package/src/build.ts +30 -3
- package/src/check.ts +2270 -146
- package/src/checkrow.ts +35 -29
- package/src/parts.ts +3 -1
- package/src/propose.ts +27 -13
- package/src/runstamp.ts +13 -5
- package/src/scene.ts +102 -5
package/cli.ts
CHANGED
|
@@ -61,7 +61,7 @@ import { replacementTreeDigest } from './src/replacementrecord.ts';
|
|
|
61
61
|
import { type ComposeInput, composeStage, IMAGE_SEP, PLATE, PROVENANCES, refusePreviewLoopSeam, SCENE_CAMERA_REPORT_SPEC, SCENE_REPORT_FILE, SCENE_REPORT_SPEC, SCENE_SPEC } from './src/scene.ts';
|
|
62
62
|
import { buildSheet, defaultCaption, type Tile, tilesFrom } from './src/sheet.ts';
|
|
63
63
|
import { loadComparison, requiredProblems, structureLines } from './src/structure.ts';
|
|
64
|
-
import { type ArgvTable, assembleOutputFiles, bindAssembleWrapperInputs, BUILD_RUN_FILE, type BuildWrapperRole, CHECK_RUN_FILE, clearComposeRun, clearRunRecord, clearRunStamp, readPackageIdentity, realWhereItExists, recordArgv, rigOutputFiles, RUN_STAMP_FILE, RUN_STAMP_SPEC, type RunStampFileEntry, type RunStampInputEntry, writeRunRecord, writeRunStamp } from './src/runstamp.ts';
|
|
64
|
+
import { type ArgvTable, assembleOutputFiles, bindAssembleWrapperInputs, buildAllocationOutputFiles, BUILD_RUN_FILE, type BuildWrapperRole, CHECK_RUN_FILE, clearComposeRun, clearRunRecord, clearRunStamp, readPackageIdentity, realWhereItExists, recordArgv, rigOutputFiles, RUN_STAMP_FILE, RUN_STAMP_SPEC, type RunStampFileEntry, type RunStampInputEntry, writeRunRecord, writeRunStamp } from './src/runstamp.ts';
|
|
65
65
|
import { authorLayerLine } from './src/tags.ts';
|
|
66
66
|
|
|
67
67
|
const EXIT_OK = 0;
|
|
@@ -2705,7 +2705,7 @@ function cmdBuild(args: string[]): number {
|
|
|
2705
2705
|
writeRunRecord({ pkg, command: 'build', startedAt, finishedAt: fixedClock ?? new Date().toISOString(), outDir: out, configPath: config,
|
|
2706
2706
|
inputs: { cwd, source, full, head, requirements, environment, windBand, alts },
|
|
2707
2707
|
...(wrapperPngs === undefined ? {} : { wrapperPngs }),
|
|
2708
|
-
outputs: [...BUILD_OWNS, ...BUILD_OWNS_FILES], argv: recordArgv('build', args, BUILD_ARGV, out, cwd) });
|
|
2708
|
+
outputs: [...BUILD_OWNS, ...BUILD_OWNS_FILES, ...buildAllocationOutputFiles(out)], argv: recordArgv('build', args, BUILD_ARGV, out, cwd) });
|
|
2709
2709
|
}
|
|
2710
2710
|
return r.stoppedAt === null ? EXIT_OK : EXIT_REFUSED;
|
|
2711
2711
|
} finally {
|
package/docs/AUTHORING.md
CHANGED
|
@@ -806,10 +806,15 @@ Two rules read the figure rather than one tag, and each says so in a note:
|
|
|
806
806
|
`footwear`) at their narrowest between the shoulder line (their widest row
|
|
807
807
|
within one face height below the neck) and the figure's middle, and at most
|
|
808
808
|
0.8 of the shoulders — or `hip from 0.32 of figure height (no waist found: …)`,
|
|
809
|
-
naming why. Without `bottomwear` the
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
809
|
+
naming why. Without `bottomwear`, `propose` uses the same waist rule first and
|
|
810
|
+
prints `no bottomwear: hip from 0.32 of figure height` if no waist is found.
|
|
811
|
+
Without `bottomwear` or a pair of hip joints, a hip at or above the neck, a
|
|
812
|
+
rounded hip at or above the rounded chest, or a rounded hip above the 0.25
|
|
813
|
+
figure-height line is refused by [`PROPOSE_HIP_PLACEMENT`](#PROPOSE_HIP_PLACEMENT)
|
|
814
|
+
before writing the draft.
|
|
815
|
+
This also refuses a head-only part set whose height puts the fallback hip
|
|
816
|
+
above the neck. The two reference examples use the bottomwear top edge:
|
|
817
|
+
their hips sit at 0.436 (`reference-demo`) and 0.342 (`reference-sample`) of their figures.
|
|
813
818
|
- **What a skirt hangs from** (issue #262). A `bottomwear` part whose art starts
|
|
814
819
|
below the `chest` bone's origin (along neck → hip where the joints give that line,
|
|
815
820
|
down the screen otherwise) hangs from the waist: its mesh takes the hip line and
|
|
@@ -5022,7 +5027,7 @@ that check the manifest against a config refuse a stale digest as
|
|
|
5022
5027
|
| `check` (inside `build`) | the gate lines verbatim, the pack line, `loop:` (and `loop physics:` when the rig declares a physics constraint, §7), `seam:`, the six judgement lines, then — when `motion.json` holds an animation, the idle included — `ANIMATIONS_DO_NOT_FOLD` and one `folds` line per folding mesh, rigc's own (issues #320, #333), then — where a `footwear` part rides a bone that hangs from another — `FEET_STAY_LEVEL` and one `foot` line per such part (issue #348), then — when `parts.json` names a `handwear` part and there is an idle — `STRESS_OFF_CHAIN` (issue #347), then — where `parts.json` holds a limb segment's part — `LIMB_ONE_BONE` and one `limb` line per such part (issue #349), then — where a limb record carries a `range` — `SEAM_OVER_RANGE` and one `joint` line per joint and angle (issue #360), then `SEAM_OVER_MOTION` — a SKIP naming why on a rig that declares no neighbour pair, else the pairs read in every animation; existing internal-joint and explicit-seam pairs retain their `WARN seam` policy (issue #493), while proven body-root tears print `FAIL seam` and fail a counted bar (issue #686), then `CLOTH_SETTLES` — a SKIP naming why on a rig with no physics constraint, else the chains read and one `WARN chain` line per chain whose tip comes to rest before the idle's loop length (issue #501, a warning and never a bar), then `PHYSICS_CONTRIBUTES` — where a part is under physics — how many parts it read against the same build posed with physics off, and one `WARN PHYSICS_CONTRIBUTES` line per part that reads exactly 0 (issue #1320, a report and never a bar), then `figure_openings:` — `CLEAR` or `WARN` with the undeclared setup-overlapping pairs, animations and cell size read and one `WARN opening` line per pair and animation whose transparent interior opening exceeds the one-cell floor, or a named `SKIP` when there is no `parts.json`, no animation or no undeclared setup-overlapping pair (issue #933, a warning and never a bar), `RECOMPOSITE_HOLES` and, under `--source`, `SETUP_POSE_VS_SOURCE` (§7), `check.json`; the last line says how many of the bars measured — nine, ten with the fold bar, one more each with the feet-level bar, the stress bar, the limb bar, the range bar and, where proven body-root pairs exist, the body-root seam bar — and names the ones that said SKIP, then — where `SEAM_OVER_MOTION` read a pair — how many warnings it printed, `; N warning(s) (SEAM_OVER_MOTION, not a bar)` — with `CLOTH_SETTLES` named beside it where the rig declares a physics constraint, and `PHYSICS_CONTRIBUTES` after that where it printed a warning, and N their sum — which no bar counts | `check: PASS; 10 of 11 bar(s) measured, 1 skipped (loop)` on `demo` and `scarf`, whose sleeves each ride one chain and whose physics constraints omit shipped-frame loop closure (issue #1590); `check: PASS; 10 of 11 bar(s) measured, 1 skipped (STRESS_OFF_CHAIN)` on `reference-demo` (no physics constraints) and `9 of 11 bar(s) measured, 2 skipped (loop, STRESS_OFF_CHAIN)` on `reference-sample`, whose one `sleeves` mesh rides both sleeve chains (issue #347) — no example writes `FEET_STAY_LEVEL`, every shoe riding `root`; a judgement line SKIP only where the character lacks what it reads; on a rig spec with no `parts.json` or no `idle` (a merged rig, §7 *Measuring a rig rig-parts did not assemble*), PASS with the skipped bars named | `CHECK_SEAM_WITHIN_BAR` or `CHECK_LOOP_CLOSES` (§6); `CHECK_ANIMATIONS_DO_NOT_FOLD` — a clip turns a mesh over (§6); `CHECK_STRESS_OFF_CHAIN` — a sleeve weighted off its chain (§6); `CHECK_LIMB_ONE_BONE` — a limb part on a second bone (§6); `CHECK_SEAM_OVER_RANGE` — a joint that opens when bent (§6); `CHECK_SEAM_OVER_MOTION` — a proven body-root seam opens over the existing floor (§6) |
|
|
5023
5028
|
| `check` / `build`: extremes observations | `extremes/<segment>/extremes.png` and `extremes.json` beside the other check outputs; `<segment>` follows [Diagnostic path segments](STABILITY.md#diagnostic-path-segments), while JSON retains the original animation; generated by core `render --extremes-only` at 12 fps on its fitted world box at scale 1; one `EXTREMES` geometry-pair frame/distance summary per animation | open the native setup/min/max/diffs and label every changed boundary tear, ghost or clean before human review (step 9) | core's named static/observation SKIPs retain JSON without a PNG; diagnostic failure is `CHECK_EXTREMES_RENDER_FAILED` SKIP and leaves the measured verdict unchanged; `--no-extremes` runs no extra render and removes stale `extremes/` |
|
|
5024
5029
|
| `check --requirements` (and `build --requirements`) | after the lines above, one line per declared requirement, `NAME: PASS`, `FAIL` or `NOT MEASURABLE — …` with its figures, the bar as declared and the worst frame; then `requirements: N declared — M measured (P PASS, F FAIL), K NOT MEASURABLE; not declared: <kinds>`; `check.json`'s `requirements` block, first its `file` record (issue #556); the renders under `requirements/` (§7, *Declared requirements*) — `build` reads `config.requirements` in place of the flag when it is not given | every line PASS and `0 NOT MEASURABLE`; a follow's `released_copy` says whether rigc's consumer-driven door was taken on the throwaway copy; a `stretch` line's `held_by` (issue #321), right after `worst`, names the bones the worst edge's two vertices hang on and their idle chains, in `CHECK_TEXTURE_STRETCH`'s words (§6) and by the same function, on a PASS as on a FAIL | `CHECK_REQUIREMENT_MET` (a figure past its bar; the line names the frame) or `CHECK_REQUIREMENT_MEASURABLE` (the quantity is undefined in the frames: a tip or an axis on a bone of length 0, an aim with no line, a follow no frame of which reaches its least drive); the last line then reads `check: FAIL — B bar(s) not met, R declared requirement(s) not PASS` |
|
|
5025
|
-
| `compose` | the `[compose]` lines: one per character (its offset, its scale, its placed bounds, the shift and how many first-level bones, regions on `root` and weights bound to `root` it moved, its bone, slot, track and constraint counts, its `rig_scale` and idle), the declared order and the slot count it expands to, rigc's gate lines; then the `[check]` lines as for `check`, and `scene.json` | both gate summaries `0 failed`, `check: PASS` with the bars that measured and the ones that said SKIP named —
|
|
5030
|
+
| `compose` | the `[compose]` lines: one per character (its offset, its scale, its placed bounds, the shift and how many first-level bones, regions on `root` and weights bound to `root` it moved, its bone, slot, track and constraint counts, its `rig_scale` and idle), the declared order and the slot count it expands to, rigc's gate lines; then the `[check]` lines as for `check`, and `scene.json` | both gate summaries `0 failed`, `check: PASS` with the bars that measured and the ones that said SKIP named — `compose` forwards each bound character's manifest (`parts.json` and `parts/`) and `rig/mesh_report.json` so the nine parts-backed bars and `SEAM_OVER_MOTION` are measured on the composed take per character (`check.json`'s `characters.<id>`), leaving `no-parts` only when a manifest is absent. `scene.json`'s `order.slots` is the order the compiled skeleton draws | a `SCENE_*` refusal (§6, *compose*) — the scene file, a build, or the order; `COMPOSE_RIGC_GREEN` — rigc's own line, quoted |
|
|
5026
5031
|
| `loop` (inside `build --loop`, or `loop --frames … --out …`) | the dropped-duplicate line, or, when the end frame is not frame 0, the jump line: its max \|d\| and px over 40, then why — under `build`, `the rig holds N physics constraint(s), and rigc's render starts every one at rest at frame 0` with the remedy `build --loop --lead-in <n>`, or `the rig holds no physics constraint, so the idle itself does not close` (`CHECK_LOOP_CLOSES`); under `loop --frames`, which reads frames alone, both causes (issue #325); under `build --lead-in`, the lead-in line in its place (the frames kept and the jump at the wrap); each file's line, then `loop: idle.png N B (lossless); idle-indexed.png N B (max …, mean …); idle.gif N B (max …, mean …)` | `f0048.png equals f0000.png byte for byte, so it is dropped` | `LOOP_ENCODE` (§6) |
|
|
5027
5032
|
|
|
5028
5033
|
`RECOMPOSITE_HOLES` is `REPORTED`, never judged, and its count reads large: for scale, the
|
|
@@ -6615,6 +6620,7 @@ recorded transform. The record fields and sampling formula are specified in
|
|
|
6615
6620
|
| <a id="HEADBOX_FACE_PRESENT"></a><a id="HEADBOX_RUN_SQUARE"></a><a id="HEADBOX_CANVAS_SIZE"></a><a id="HEADBOX_FITS_CANVAS"></a>`HEADBOX_FACE_PRESENT`, `HEADBOX_RUN_SQUARE`, `HEADBOX_CANVAS_SIZE`, `HEADBOX_FITS_CANVAS` | the full run has no face or is not square; `--canvas` is not a positive size; or the painting cannot hold the proposed box at its size — its shorter side is the bound (shrinking it would cut the head) | `--full`, `--canvas`, or the painting |
|
|
6616
6621
|
| <a id="PROPOSE_SOURCE_PRESENT"></a><a id="PROPOSE_PNG_PRESENT"></a><a id="PROPOSE_PNG_MATCHES_BOX"></a>`PROPOSE_SOURCE_PRESENT`, `PROPOSE_PNG_PRESENT`, `PROPOSE_PNG_MATCHES_BOX` | the painting or a part PNG is missing, or a PNG is not its box | `--source`, `--parts` (re-run assemble) |
|
|
6617
6622
|
| <a id="PROPOSE_FACE_PRESENT"></a>`PROPOSE_FACE_PRESENT` | no part comes from a `face` layer, and the face-less fallback cannot derive a face box either: it needs the head run's `neck` and at least one head-run `front hair`/`back hair` part whose top is above the neck's, and the message names the half that is missing. With both, `propose` does not refuse — it derives the box and says so in its first note (§5) | `assemble.plan`: take the face, or the head run's hair and neck |
|
|
6623
|
+
| <a id="PROPOSE_HIP_PLACEMENT"></a>`PROPOSE_HIP_PLACEMENT` | without `bottomwear` or a pair of hip joints, the chosen rule puts the hip at or above the neck, rounds it at or above the draft chest, or rounds it above 0.25 of the figure height | supply `--keypoints` with both hip joints, or a `bottomwear` part that puts the hip below the neck and chest and within the figure's hip band |
|
|
6618
6624
|
| <a id="PROPOSE_CUT_FROM_RECORDED"></a>`PROPOSE_CUT_FROM_RECORDED` | two parts share one layer and none of them records `cut_from`: a `parts.json` an `assemble` before 1.6.0 wrote with `assemble.cuts`. The records are in draw order, so which is the plan part and which the piece cannot be read off the file; the message names the parts and the layer. Every other reader still takes the file | `--parts`: re-run assemble (1.6.0+) to record `cut_from` |
|
|
6619
6625
|
| <a id="PROPOSE_LIMB_PARTS"></a>`PROPOSE_LIMB_PARTS` | `parts.json` holds a standalone or incomplete limb part `config.limbs` cut at its joints (issues #349, #440) that cannot be reassembled into the source part `of` (a missing segment or `cap` record, or `of` still present beside the limb parts); a complete `assemble` output with `config.limbs` reconstructs its pre-limb parts in the same run | `--parts` a complete `assemble` output (every segment of each limb, with its `cap` record) or a build assembled with `config.limbs` left out; `propose --from-config` reads the config's bones on either build |
|
|
6620
6626
|
| <a id="PROPOSE_FIGURE_LAYER"></a>`PROPOSE_FIGURE_LAYER` | with `--keypoints` (issue #577): a limb is drafted from the figure layer (no handwear or legwear part over 500 px for it), and two or more `topwear` parts each hold every joint and the trunk bones' origins within 15 px with the same opaque px in the 31x31 squares about them, so nothing says which is the figure; or the only `topwear` parts that hold them are named by a cloth recipe (`config.cloth.<tag>.part` or `.parts`, issue #631), whose mesh a limb would take (§3, *A figure of one material*) | leave the others out of `assemble.plan`, or give the arms and legs their own handwear and legwear layers; for a recipe's part, take it out of the recipe |
|
|
@@ -7076,6 +7082,15 @@ outside the consumed inputs.
|
|
|
7076
7082
|
| <a id="PARTS_INVENTED_EXPOSURE"></a>`PARTS_INVENTED_EXPOSURE` | HOLE: `check-parts` reads an assembled directory, which has no rig, motion or build to pose. The measurement lives in `check`, as [`SOURCE_EXPOSURE`](#SOURCE_EXPOSURE), over the gated build's setup pose and every animation | run `rig-parts check` on the rig, and read its `SOURCE_EXPOSURE` line |
|
|
7077
7083
|
| <a id="PARTS_DRAW_ORDER_INVERTED"></a>`PARTS_DRAW_ORDER_INVERTED` | REPORTED for each recorded pair of overlapping parts: inverted pixels, where the [record](#draw-order-inversions-source_overlaps-issue-1474) shows the part drawn behind and hides the part drawn in front, with the other classes of the shared pixels. Never a pass; a set with no record has no row. | read the inverted pixels; move the material to a layer drawn in front, or change the plan order |
|
|
7078
7084
|
|
|
7085
|
+
Whether a route can ever measure a quality class that `check-parts` reports as a HOLE:
|
|
7086
|
+
|
|
7087
|
+
| HOLE | See-through route | authored layered-file route |
|
|
7088
|
+
| --- | --- | --- |
|
|
7089
|
+
| `PARTS_PLATE_GHOST`, `PARTS_PLATE_STRUCTURE`, `PARTS_PLATE_SMEAR`, `PARTS_PLATE_STEPS` | HOLE on every input: no measure exists, and `check-parts` reads no plate | HOLE on every input, for the same reason |
|
|
7090
|
+
| `PARTS_INVENTED_MATERIAL` | REPORTED when the parts carry the [See-through visibility record](#see-through-layer-visibility), which only `comfy seethrough` writes | HOLE: no producer writes that record for an artist's file |
|
|
7091
|
+
| `PARTS_INVENTED_EXPOSURE` | HOLE here; measured by `check` as [`SOURCE_EXPOSURE`](#SOURCE_EXPOSURE) | HOLE here, and `SOURCE_EXPOSURE` has no visibility record to read |
|
|
7092
|
+
| `PARTS_PAINTING_ALLOCATION` | a config choice: `assemble.project: "visible"` writes `painting_allocation.json`; the default `core` does not | the same config choice |
|
|
7093
|
+
|
|
7079
7094
|
### check and build
|
|
7080
7095
|
|
|
7081
7096
|
| rule | means | change |
|
|
@@ -8179,7 +8194,7 @@ the composed idle under `<out>/check/`, at the viewport used for the shipped fra
|
|
|
8179
8194
|
| `characters[].placement_pivot` | optional literal `true` (issue #1498). Generates an identity `<id>:placement` under `root` and requires a scene-authored `translate`, `translatex` or `translatey` key on it. Every explicit value other than `true` is `SCENE_FIELD_TYPE` |
|
|
8180
8195
|
| `characters[].idle_repeats` | optional safe integer of 2 or more (issue #1511). Counts total plays of this character's source idle within an explicit `scene.animations.idle`. Its declared duration must equal `idle_repeats * source idle duration` exactly. In the same scene, each character without the key must fill the duration once. In `scene.json`, `characters[].idle_duration` gives the source period, `characters[].idle_repeats` appears on opted-in rows, and top-level `idle_duration` gives the scene period |
|
|
8181
8196
|
| `characters[].with_idle` | map from each source physics-only clip beside `idle` to a safe integer of at least 1 or literal `false` (issue #1615). A count requires character scale 1 and folds whole periods into the played idle. `false` leaves that clip out of the idle at any character scale. Both retain the prefixed side clip, which must pass the character's scale checks. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
|
|
8182
|
-
| `characters[].accept` | optional, a list of bar names: the bars this character's own check may have failed and still be composed (issue #203). `compose --accept <bar>[,<bar>…]` is the same list for every character; the two are joined, so the command line applies to every character and a character's list adds to it. Each name is one of the bars `check`'s summary names, less the gate — `loop`, `seam`, `BREATH_VISIBLE`, `BLINK_NO_HOLE`, `CHAIN_LAG`, `TIP_OVER_ROOT`, `STILL_REGIONS_DARK`, `TEXTURE_STRETCH`, `ANIMATIONS_DO_NOT_FOLD` (issue #320), `STRESS_OFF_CHAIN` (issue #347), `SEAM_OVER_MOTION` (the body-root bar, issue #686); anything else is `SCENE_ACCEPT_KNOWN`. When `check/check.json` declares `spec: "rig-parts-check/1"`, `compose` reads its `bar_outcomes` for the bars whose outcome status is `FAIL` in the report's order (issue #1373); without that spec it keeps the legacy `barsNotMet` reading. A build is taken when every bar its `check.json` failed is named; its gate red, a declared requirement not PASS, or a bar not named is `SCENE_BUILD_GREEN` as before. **It is for looking, not for shipping:** the `[compose]` line says which failing bars were accepted, `scene.json` records them as the character's `accepted`, the composed rig's own check measures them again and reports them as it finds them, and the run exits 1 even when that check is PASS (a
|
|
8197
|
+
| `characters[].accept` | optional, a list of bar names: the bars this character's own check may have failed and still be composed (issue #203). `compose --accept <bar>[,<bar>…]` is the same list for every character; the two are joined, so the command line applies to every character and a character's list adds to it. Each name is one of the bars `check`'s summary names, less the gate — `loop`, `seam`, `BREATH_VISIBLE`, `BLINK_NO_HOLE`, `CHAIN_LAG`, `TIP_OVER_ROOT`, `STILL_REGIONS_DARK`, `TEXTURE_STRETCH`, `ANIMATIONS_DO_NOT_FOLD` (issue #320), `STRESS_OFF_CHAIN` (issue #347), `SEAM_OVER_MOTION` (the body-root bar, issue #686); anything else is `SCENE_ACCEPT_KNOWN`. When `check/check.json` declares `spec: "rig-parts-check/1"`, `compose` reads its `bar_outcomes` for the bars whose outcome status is `FAIL` in the report's order (issue #1373); without that spec it keeps the legacy `barsNotMet` reading. A build is taken when every bar its `check.json` failed is named; its gate red, a declared requirement not PASS, or a bar not named is `SCENE_BUILD_GREEN` as before. **It is for looking, not for shipping:** the `[compose]` line says which failing bars were accepted, `scene.json` records them as the character's `accepted`, the composed rig's own check measures them again against each bound manifest and reports them as it finds them, and the run exits 1 even when that check is PASS (for example on a stub build with no `parts/`, where `no-parts` bars say SKIP). A list that accepts nothing — every build green — composes to the bytes a scene without one writes |
|
|
8183
8198
|
| `animations` | optional map by scene clip name, each value a rigc `MotionAnimation` (`duration`, `tracks`, optional `loop`, `note`, and core timeline collections). Names resolve against the final scene without another prefix or unit conversion: `root`, `plate`, declared named plate bones and `<id>:<bone>`, including generated dials. Keying `root` moves the whole scene. A new name adds a clip. `idle` appends the resulting tracks and timelines to the composed idle, preserving character metadata and physics constraints. Its duration must exactly equal the composed idle (`SCENE_DURATION_AGREES`, or `SCENE_REPEAT_DURATION` when a character opts in to repetition). Imported animation names are reserved (`SCENE_ANIMATION_NAME_FREE`). See `repeats` for period-authored tracks and deforms |
|
|
8184
8199
|
| `repeats` | optional map from authored take names to safe integers of at least 2 (issue #1615). Repeats the scene-authored tracks, deforms and camera keys on a single period clock. `animations.<take>.duration` is the whole take duration. `scene.json` echoes the map in declared order as its final top-level key and omits it when absent. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
|
|
8185
8200
|
| `camera` | optional keyed view over composed animation names. See [Keyed scene camera](#keyed-scene-camera-issue-1596) for the camera clock, coverage requirements and opt-in report version |
|
|
@@ -8420,22 +8435,19 @@ What is composed:
|
|
|
8420
8435
|
by the turn contract.
|
|
8421
8436
|
- **Gated as `rig` gates its own, and where outputs are written:** `rigc build --profile rig-play --pack`, the
|
|
8422
8437
|
compile and the packed pages on disk, in a scratch directory; `--out` receives
|
|
8423
|
-
`rig/` (`rig.json`, `motion.json`, `images/` — the composed rig spec, not the
|
|
8438
|
+
`rig/` (`rig.json`, `motion.json`, `mesh_report.json` when any character build carries one, `images/` — the composed rig spec, not the
|
|
8424
8439
|
compiled Spine skeleton) and `scene.json` only when it is
|
|
8425
8440
|
green. `--page-size <px>` (a positive integer, refused as `PACK_PAGE_SIZE`
|
|
8426
8441
|
otherwise; issue #1352) is forwarded to both packed builds and recorded as
|
|
8427
8442
|
`pack_mode.page_size` in `scene.json` and `check/check.json` only when given;
|
|
8428
8443
|
without it, rigc's default 2048 px page and padding 2 on each side bound any
|
|
8429
8444
|
plate or region side to at most 2044 px before `CE_ATLAS_REGION_EXCEEDS_PAGE`
|
|
8430
|
-
(`COMPOSE_RIGC_GREEN`). Then `check` runs over `rig/` into `check/`,
|
|
8431
|
-
build: **the compiled Spine model and packed atlas (`skeleton.json`,
|
|
8445
|
+
(`COMPOSE_RIGC_GREEN`). Then `check` runs over `rig/` into `check/`, forwarding each bound character's manifest (`parts.json` and `parts/`), its hash-bound `check/check.json` part exceptions (`not_swinging`, `rises`, `rests`, `not_planted`, attributed under `forwarded_from_build`), and `rig/mesh_report.json` so slot and bone names resolve under `<id>:`, part boxes map through `offset` and `scale` onto the scene canvas, `LIMB_ONE_BONE` reads contour `region_bones` from `<out>/rig/mesh_report.json`, `STILL_REGIONS_DARK` excludes slider-driven idle slots (naming each slot and dial under `slider_driven_slots`), and per-character figures are recorded under `check.json`'s `characters.<id>` (issue #1679): **the compiled Spine model and packed atlas (`skeleton.json`,
|
|
8432
8446
|
`skeleton.model.json`, `skeleton.atlas`, `skeleton.png`) are written only under
|
|
8433
|
-
`<out>/check/build/`** (there is no `<out>/build/` at the root).
|
|
8434
|
-
`TIP_OVER_ROOT`, `STILL_REGIONS_DARK` and `RECOMPOSITE_HOLES` say SKIP and why,
|
|
8435
|
-
and the gate, the loop, `CHAIN_LAG` and `TEXTURE_STRETCH` measure.
|
|
8447
|
+
`<out>/check/build/`** (there is no `<out>/build/` at the root). Only when no manifest is bound (standalone `check` without `--parts`, or a stub build without `parts/`) do the parts-backed bars say `SKIP` with `no-parts`.
|
|
8436
8448
|
`--requirements` is forwarded, and its names are `<id>:<name>`. Every bar and
|
|
8437
|
-
requirement measures the composed rig
|
|
8438
|
-
`scale
|
|
8449
|
+
requirement measures the composed rig on the scene canvas after each character's
|
|
8450
|
+
`scale`, while per-character rig-px bars normalize counts by the effective character frame scale: a ratio (`TEXTURE_STRETCH`'s edge against its rest length) or an angle
|
|
8439
8451
|
(`CHAIN_LAG`, a `range` in degrees) does not move with it, while a requirement's
|
|
8440
8452
|
px figures and its px bar are canvas px — a character composed at 0.5 shows half
|
|
8441
8453
|
the px its own `build` measured.
|
|
@@ -8471,9 +8483,7 @@ character, it does not resample its art); a non-uniform scale, a flip or a rotat
|
|
|
8471
8483
|
of a character; any order, overlap or occlusion inferred from an image — the order is the author's,
|
|
8472
8484
|
and a per-pixel vote that holds for a still pose would not hold once the bodies
|
|
8473
8485
|
move; person detection, segmentation, isolation or occlusion completion (each
|
|
8474
|
-
character's input arrives isolated); a
|
|
8475
|
-
read See-through tags are measured per character by its own `build`, not over the
|
|
8476
|
-
scene; a rig `build` did not write.
|
|
8486
|
+
character's input arrives isolated); a single merged `parts.json` file (composed `check` reads each character's own manifest under `<id>:` and maps its boxes through `offset` and `scale`); a rig `build` did not write.
|
|
8477
8487
|
|
|
8478
8488
|
#### Compose output profiles (issue #1610)
|
|
8479
8489
|
|
|
@@ -11158,8 +11168,8 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
|
|
|
11158
11168
|
<!-- check-row-table:begin -->
|
|
11159
11169
|
| Row family | Registered JSON paths | row_scope | row_kind | row_subjects (producer expression) | Producer |
|
|
11160
11170
|
| --- | --- | --- | --- | --- | --- |
|
|
11161
|
-
| `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for e.slot; otherwise [] | [check.ts:
|
|
11162
|
-
| `ANIMATIONS_DO_NOT_FOLD.folding` | `ANIMATIONS_DO_NOT_FOLD.folding` | part when the supplied mapping resolves a piece; otherwise rig | finding when entry === undefined; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:
|
|
11171
|
+
| `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for e.slot; otherwise [] | [check.ts:4151](../src/check.ts#L4151) |
|
|
11172
|
+
| `ANIMATIONS_DO_NOT_FOLD.folding` | `ANIMATIONS_DO_NOT_FOLD.folding` | part when the supplied mapping resolves a piece; otherwise rig | finding when entry === undefined; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:4111](../src/check.ts#L4111) |
|
|
11163
11173
|
| `ART_JOINT_DISTANCE.joints` | `ART_JOINT_DISTANCE.joints` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [artjoints.ts:86](../src/artjoints.ts#L86) |
|
|
11164
11174
|
| `BEHIND_PART_SEAMS.contributors` | `BEHIND_PART_SEAMS.turn.pairs[].frames[].standing.samples[].contributors`; `BEHIND_PART_SEAMS.turn.pairs[].frames[].motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].setup.motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].setup.standing.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].frames[].motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].frames[].standing.samples[].contributors` | 'pair' | evidence | [pair.a, pair.b] | [behindseams.ts:664](../src/behindseams.ts#L664) |
|
|
11165
11175
|
| `BEHIND_PART_SEAMS.hits` | `BEHIND_PART_SEAMS.pairs[].motion_opened.frames`; `BEHIND_PART_SEAMS.pairs[].standing.frames`; `BEHIND_PART_SEAMS.pairs[].motion_opened.worst`; `BEHIND_PART_SEAMS.pairs[].standing.worst` | 'pair' | finding when r.px > allowance; otherwise evidence | parts | [behindseams.ts:750](../src/behindseams.ts#L750) |
|
|
@@ -11175,55 +11185,55 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
|
|
|
11175
11185
|
| `BEHIND_PART_SEAMS.unread_corridors` | `BEHIND_PART_SEAMS.turn.pairs[].frames[].standing.unread_corridors`; `BEHIND_PART_SEAMS.pairs[].setup.standing.unread_corridors`; `BEHIND_PART_SEAMS.pairs[].frames[].standing.unread_corridors` | 'pair' | evidence | [pair.a, pair.b] | [behindseams.ts:585](../src/behindseams.ts#L585) |
|
|
11176
11186
|
| `BOUNDARY_COLOUR_STEP.over` | `BOUNDARY_COLOUR_STEP.over` | 'pair' | finding | r.parts | [boundarycolour.ts:221](../src/boundarycolour.ts#L221) |
|
|
11177
11187
|
| `BOUNDARY_COLOUR_STEP.unmeasured` | `BOUNDARY_COLOUR_STEP.unmeasured` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for r.slot; otherwise [] | [boundarycolour.ts:222](../src/boundarycolour.ts#L222) |
|
|
11178
|
-
| `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:
|
|
11188
|
+
| `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:6625](../src/check.ts#L6625) |
|
|
11179
11189
|
| `CUT_JOINT_MATERIAL.rows` | `CUT_JOINT_MATERIAL.rows` | 'part' | finding when r.status === 'FAIL'; otherwise evidence | [r.part] | [cutmaterial.ts:280](../src/cutmaterial.ts#L280) |
|
|
11180
|
-
| `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:
|
|
11181
|
-
| `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:
|
|
11182
|
-
| `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:
|
|
11190
|
+
| `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet`; `characters.*.FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:4353](../src/check.ts#L4353) |
|
|
11191
|
+
| `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through`; `characters.*.FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:4328](../src/check.ts#L4328) |
|
|
11192
|
+
| `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts`; `characters.*.LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:4655](../src/check.ts#L4655) |
|
|
11183
11193
|
| `PART_SUPPORT_REPORT.pairs` | `PART_SUPPORT_REPORT.pairs` | 'pair' | evidence; finding when length > 0; otherwise evidence | [F.name, B.name] | [coincide.ts:141](../src/coincide.ts#L141), [coincide.ts:157](../src/coincide.ts#L157) |
|
|
11184
11194
|
| `PART_SUPPORT_REPORT.raw_pairs` | `PART_SUPPORT_REPORT.raw_pairs` | 'pair' | evidence | [F.name, B.name] | [coincide.ts:137](../src/coincide.ts#L137) |
|
|
11185
11195
|
| `PART_SUPPORT_REPORT.unowned.regions` | `PART_SUPPORT_REPORT.unowned.regions` | 'rig' | finding | [] | [coincide.ts:172](../src/coincide.ts#L172) |
|
|
11186
|
-
| `PHYSICS_CONTRIBUTES.rows` | `PHYSICS_CONTRIBUTES.rows` | 'part' | evidence; finding when !moves; otherwise evidence | [part] | [physicscontrib.ts:217](../src/physicscontrib.ts#L217), [physicscontrib.ts:220](../src/physicscontrib.ts#L220) |
|
|
11187
|
-
| `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:
|
|
11188
|
-
| `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:
|
|
11189
|
-
| `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:
|
|
11190
|
-
| `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:
|
|
11191
|
-
| `SEAM_OVER_MOTION.rows` | `SEAM_OVER_MOTION.rows` | 'pair'; unique ? 'pair' : 'rig' | finding when motionSeamFinding(want.root !== undefined, p.status, p.banded, opens.length); otherwise evidence; finding when motionSeamFinding(rootNames.has(r.pair), r.status, r.banded, r.opens.length); otherwise evidence | [want.a, want.b]; unique ? [pair.a, pair.b] : [] | [check.ts:
|
|
11192
|
-
| `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b] | [check.ts:
|
|
11193
|
-
| `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b] | [check.ts:
|
|
11194
|
-
| `SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | `SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | 'rig' | evidence | [] | [motionseampose.ts:53](../src/motionseampose.ts#L53) |
|
|
11195
|
-
| `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:
|
|
11196
|
-
| `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:
|
|
11197
|
-
| `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:
|
|
11196
|
+
| `PHYSICS_CONTRIBUTES.rows` | `PHYSICS_CONTRIBUTES.rows`; `characters.*.PHYSICS_CONTRIBUTES.rows` | 'part' | evidence; finding when !moves; otherwise evidence | [part] | [physicscontrib.ts:217](../src/physicscontrib.ts#L217), [physicscontrib.ts:220](../src/physicscontrib.ts#L220) |
|
|
11197
|
+
| `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs`; `characters.*.SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:6022](../src/check.ts#L6022) |
|
|
11198
|
+
| `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs`; `characters.*.SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:5329](../src/check.ts#L5329) |
|
|
11199
|
+
| `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames`; `characters.*.SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5321](../src/check.ts#L5321) |
|
|
11200
|
+
| `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured`; `characters.*.SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:5995](../src/check.ts#L5995) |
|
|
11201
|
+
| `SEAM_OVER_MOTION.rows` | `SEAM_OVER_MOTION.rows`; `characters.*.SEAM_OVER_MOTION.rows` | 'pair'; unique ? 'pair' : 'rig' | finding when motionSeamFinding(want.root !== undefined, p.status, p.banded, opens.length); otherwise evidence; finding when motionSeamFinding(rootNames.has(r.pair), r.status, r.banded, r.opens.length); otherwise evidence | [want.a, want.b]; unique ? [pair.a, pair.b] : [] | [check.ts:5952](../src/check.ts#L5952), [check.ts:6028](../src/check.ts#L6028) |
|
|
11202
|
+
| `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells`; `characters.*.SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b]; subjects | [check.ts:5965](../src/check.ts#L5965), [check.ts:12485](../src/check.ts#L12485) |
|
|
11203
|
+
| `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons`; `characters.*.SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b]; subjects | [check.ts:5955](../src/check.ts#L5955), [check.ts:12476](../src/check.ts#L12476) |
|
|
11204
|
+
| `SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | `SEAM_OVER_MOTION.rows[].pose_at_worst.joints`; `characters.*.SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | 'rig' | evidence | [] | [motionseampose.ts:53](../src/motionseampose.ts#L53) |
|
|
11205
|
+
| `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows`; `characters.*.SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:5949](../src/check.ts#L5949) |
|
|
11206
|
+
| `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints`; `characters.*.SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:4983](../src/check.ts#L4983), [check.ts:5029](../src/check.ts#L5029) |
|
|
11207
|
+
| `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses`; `characters.*.SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:5027](../src/check.ts#L5027) |
|
|
11198
11208
|
| `SETUP_MATCHES_PAINTING.regions` | `SETUP_MATCHES_PAINTING.regions` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [setuppainting.ts:175](../src/setuppainting.ts#L175) |
|
|
11199
11209
|
| `SETUP_MATCHES_PAINTING.regions[].slots` | `SETUP_MATCHES_PAINTING.regions[].slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for slot; otherwise [] | [setuppainting.ts:176](../src/setuppainting.ts#L176) |
|
|
11200
11210
|
| `SETUP_SEAM_TRANSMISSION.rows` | `SETUP_SEAM_TRANSMISSION.rows` | 'pair' | evidence | [under, over] | [coincide.ts:453](../src/coincide.ts#L453) |
|
|
11201
11211
|
| `SOURCE_EXPOSURE.rows` | `SOURCE_EXPOSURE.rows` | 'part' | finding when declared !== undefined && r.px > declared.max_px; otherwise evidence | [r.part] | [sourceexposure.ts:292](../src/sourceexposure.ts#L292) |
|
|
11202
11212
|
| `SOURCE_EXPOSURE.unmeasured` | `SOURCE_EXPOSURE.unmeasured` | part when the supplied mapping resolves a piece; otherwise rig | finding when declared !== undefined; otherwise evidence | resolved piece for u.slot; otherwise [] | [sourceexposure.ts:293](../src/sourceexposure.ts#L293) |
|
|
11203
|
-
| `STILL_REGIONS_DARK.*.crossing` | `STILL_REGIONS_DARK.*.crossing` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for sl.name; otherwise [] | [check.ts:
|
|
11204
|
-
| `STILL_REGIONS_DARK.*.still_slots` | `STILL_REGIONS_DARK.*.still_slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when r.max > tolerance; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:
|
|
11205
|
-
| `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:
|
|
11206
|
-
| `STRESS_OFF_CHAIN.per_part` | `STRESS_OFF_CHAIN.per_part` | 'part' | finding when poses.some(p => typeof p.reading === 'number' && p.reading > STRESS_RIGID); otherwise evidence | [r.part] | [check.ts:
|
|
11207
|
-
| `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:
|
|
11208
|
-
| `STRESS_OFF_CHAIN.per_part[].poses` | `STRESS_OFF_CHAIN.per_part[].poses` | 'part' | evidence; finding when shown > STRESS_RIGID; otherwise evidence | [r.part] | [check.ts:
|
|
11209
|
-
| `TEXTURE_STRETCH.per_mesh` | `TEXTURE_STRETCH.per_mesh` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when exceeds; otherwise evidence | resolved piece for m.slot; otherwise [] | [check.ts:
|
|
11210
|
-
| `TIP_OVER_ROOT.parts` | `TIP_OVER_ROOT.parts` | 'part' | evidence; finding when !ok && !(!rigid && hanging.onLink && Math.max(c.root, c.tip) < TIP_TRAVEL_FLOOR); otherwise evidence | [p.name] | [check.ts:
|
|
11211
|
-
| `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:
|
|
11212
|
-
| `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:
|
|
11213
|
-
| `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:
|
|
11214
|
-
| `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:
|
|
11215
|
-
| `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:
|
|
11216
|
-
| `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:
|
|
11217
|
-
| `requirements.lines.* (stretch)` | `requirements.lines.*` | part when the supplied mapping resolves a piece; otherwise rig | finding when line.status === 'FAIL'; otherwise evidence | resolved piece for r.slot; otherwise [] | [check.ts:
|
|
11218
|
-
| `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:
|
|
11219
|
-
| `seam_cells.frames[].cells` | `frames[].cells` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for cell.setupTop ?? ''; otherwise [] | [check.ts:
|
|
11220
|
-
| `seam_pairs` | `seam_pairs`; `seam_scope.whole_pairs`; `sets.*.seam_pairs`; `sets.*.seam_scope.whole_pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:
|
|
11221
|
-
| `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:
|
|
11222
|
-
| `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:
|
|
11223
|
-
| `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:
|
|
11224
|
-
| `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:
|
|
11225
|
-
| `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:
|
|
11226
|
-
| `slider_stretch.rows` | `slider_stretch.rows` | 'rig' | finding when row.status === 'FAIL'; otherwise evidence | [] | [check.ts:
|
|
11213
|
+
| `STILL_REGIONS_DARK.*.crossing` | `STILL_REGIONS_DARK.*.crossing`; `characters.*.STILL_REGIONS_DARK.*.crossing` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for sl.name; otherwise [] | [check.ts:10144](../src/check.ts#L10144) |
|
|
11214
|
+
| `STILL_REGIONS_DARK.*.still_slots` | `STILL_REGIONS_DARK.*.still_slots`; `characters.*.STILL_REGIONS_DARK.*.still_slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when r.max > tolerance; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:10130](../src/check.ts#L10130), [check.ts:10135](../src/check.ts#L10135) |
|
|
11215
|
+
| `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read`; `characters.*.STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4574](../src/check.ts#L4574) |
|
|
11216
|
+
| `STRESS_OFF_CHAIN.per_part` | `STRESS_OFF_CHAIN.per_part`; `characters.*.STRESS_OFF_CHAIN.per_part` | 'part' | finding when poses.some(p => typeof p.reading === 'number' && p.reading > STRESS_RIGID); otherwise evidence | [r.part] | [check.ts:4562](../src/check.ts#L4562) |
|
|
11217
|
+
| `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain`; `characters.*.STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:4562](../src/check.ts#L4562) |
|
|
11218
|
+
| `STRESS_OFF_CHAIN.per_part[].poses` | `STRESS_OFF_CHAIN.per_part[].poses`; `characters.*.STRESS_OFF_CHAIN.per_part[].poses` | 'part' | evidence; finding when shown > STRESS_RIGID; otherwise evidence | [r.part] | [check.ts:4530](../src/check.ts#L4530), [check.ts:4548](../src/check.ts#L4548) |
|
|
11219
|
+
| `TEXTURE_STRETCH.per_mesh` | `TEXTURE_STRETCH.per_mesh` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when exceeds; otherwise evidence | resolved piece for m.slot; otherwise [] | [check.ts:11340](../src/check.ts#L11340), [check.ts:11347](../src/check.ts#L11347) |
|
|
11220
|
+
| `TIP_OVER_ROOT.parts` | `TIP_OVER_ROOT.parts`; `characters.*.TIP_OVER_ROOT.parts` | 'part' | evidence; finding when !ok && !(!rigid && hanging.onLink && Math.max(c.root, c.tip) < TIP_TRAVEL_FLOOR); otherwise evidence | [p.name] | [check.ts:9383](../src/check.ts#L9383), [check.ts:9394](../src/check.ts#L9394), [check.ts:9420](../src/check.ts#L9420), [check.ts:9431](../src/check.ts#L9431) |
|
|
11221
|
+
| `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:7129](../src/check.ts#L7129) |
|
|
11222
|
+
| `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:7140](../src/check.ts#L7140) |
|
|
11223
|
+
| `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6446](../src/check.ts#L6446) |
|
|
11224
|
+
| `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:8332](../src/check.ts#L8332) |
|
|
11225
|
+
| `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8694](../src/check.ts#L8694) |
|
|
11226
|
+
| `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8694](../src/check.ts#L8694) |
|
|
11227
|
+
| `requirements.lines.* (stretch)` | `requirements.lines.*` | part when the supplied mapping resolves a piece; otherwise rig | finding when line.status === 'FAIL'; otherwise evidence | resolved piece for r.slot; otherwise [] | [check.ts:8694](../src/check.ts#L8694) |
|
|
11228
|
+
| `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5318](../src/check.ts#L5318) |
|
|
11229
|
+
| `seam_cells.frames[].cells` | `frames[].cells` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for cell.setupTop ?? ''; otherwise []; resolved piece for setupTop ?? ''; otherwise [] | [check.ts:5278](../src/check.ts#L5278), [check.ts:12450](../src/check.ts#L12450) |
|
|
11230
|
+
| `seam_pairs` | `seam_pairs`; `seam_scope.whole_pairs`; `sets.*.seam_pairs`; `sets.*.seam_scope.whole_pairs`; `characters.*.seam_pairs`; `characters.*.seam_scope.whole_pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:2909](../src/check.ts#L2909) |
|
|
11231
|
+
| `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes`; `characters.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2387](../src/check.ts#L2387) |
|
|
11232
|
+
| `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states`; `characters.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2472](../src/check.ts#L2472) |
|
|
11233
|
+
| `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs`; `characters.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:8130](../src/check.ts#L8130) |
|
|
11234
|
+
| `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs`; `characters.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2843](../src/check.ts#L2843) |
|
|
11235
|
+
| `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art`; `characters.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:2844](../src/check.ts#L2844) |
|
|
11236
|
+
| `slider_stretch.rows` | `slider_stretch.rows` | 'rig' | finding when row.status === 'FAIL'; otherwise evidence | [] | [check.ts:11283](../src/check.ts#L11283) |
|
|
11227
11237
|
|
|
11228
11238
|
| Serialized type path | Reason for schema exclusion |
|
|
11229
11239
|
| --- | --- |
|
|
@@ -11238,6 +11248,13 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
|
|
|
11238
11248
|
| `TIP_OVER_ROOT.*` | Open judgement figures; every emitted nested object row is schema checked. |
|
|
11239
11249
|
| `requirements.lines.*.*` | Open requirement figures; the dictionary rows and nested object arrays are schema checked. |
|
|
11240
11250
|
| `sets.*.RECOMPOSITE_HOLES.*` | Open alternate reported figures; every emitted nested object row is schema checked. |
|
|
11251
|
+
| `characters.*.BLINK_NO_HOLE.*` | Open character judgement figures; every emitted nested object row is schema checked. |
|
|
11252
|
+
| `characters.*.BREATH_VISIBLE.*` | Open character judgement figures; every emitted nested object row is schema checked. |
|
|
11253
|
+
| `characters.*.RECOMPOSITE_HOLES.*` | Open character reported figures; every emitted nested object row is schema checked. |
|
|
11254
|
+
| `characters.*.SETUP_POSE_VS_SOURCE.*` | Open character reported figures; every emitted nested object row is schema checked. |
|
|
11255
|
+
| `characters.*.STILL_REGIONS_DARK.*` | Open character judgement figures; every emitted nested object row is schema checked. |
|
|
11256
|
+
| `characters.*.STRESS_OFF_CHAIN.*` | Open character judgement figures; every emitted nested object row is schema checked. |
|
|
11257
|
+
| `characters.*.TIP_OVER_ROOT.*` | Open character judgement figures; every emitted nested object row is schema checked. |
|
|
11241
11258
|
| `loop_seam.series` | Direct samples in the met rigc-loop-seam/1 report keep their native Core fields. Nested object arrays remain schema checked. |
|
|
11242
11259
|
<!-- check-row-table:end -->
|
|
11243
11260
|
|
package/docs/STABILITY.md
CHANGED
|
@@ -1557,13 +1557,14 @@ pairs and the unmeasured render rows. [Motion seam coverage](AUTHORING.md#motion
|
|
|
1557
1557
|
| `SETUP_MATCHES_PAINTING` | Native-grid source vs rendered setup under authored regional mismatch limits | `undeclared`, `no-limit` (at least one region lacks a limit and none fail) |
|
|
1558
1558
|
| `BOUNDARY_COLOUR_STEP` | Authored allowance for excess colour step between parts in idle | `undeclared` |
|
|
1559
1559
|
| `BEHIND_PART_SEAMS` | Authored thresholds for standing at setup and motion-opened rear seam cells, including `motion_opened` at requested turn poses | `undeclared`, `no-complete-threshold-reading` (including no eligible pairs or an incomplete non-failing reading) |
|
|
1560
|
-
| `SEAM_OVER_MOTION` | Body-root gap plus under-owned ghost floor and required zero-background seam readings | `no-root-gate`, `no-animation`, `no-complete-root-reading` (root evidence unmeasured) |
|
|
1560
|
+
| `SEAM_OVER_MOTION` | Body-root gap plus under-owned ghost floor and required zero-background seam readings | `no-parts`, `no-root-gate`, `no-animation`, `no-complete-root-reading` (root evidence unmeasured) |
|
|
1561
1561
|
|
|
1562
1562
|
| SEAM_OVER_MOTION precedence | Declared outcome |
|
|
1563
1563
|
| --- | --- |
|
|
1564
1564
|
| Root FAIL or required FAIL | FAIL |
|
|
1565
1565
|
| Otherwise required PASS | PASS |
|
|
1566
1566
|
| No required block, root PASS | PASS |
|
|
1567
|
+
| No parts manifest read | SKIP with `no-parts` |
|
|
1567
1568
|
| No required block, root SKIP | SKIP with `no-animation` or `no-complete-root-reading` |
|
|
1568
1569
|
| Neither root nor required gate present | SKIP with `no-root-gate` |
|
|
1569
1570
|
|
|
@@ -1573,6 +1574,50 @@ Compose reads `bar_outcomes` on a report that declares this spec (issue
|
|
|
1573
1574
|
readers, the historical interpretation is kept, including for reports
|
|
1574
1575
|
written before this version.
|
|
1575
1576
|
|
|
1577
|
+
#### Composed character manifest block (`characters.<id>`, issue #1679)
|
|
1578
|
+
|
|
1579
|
+
When `check` runs against a composed rig with bound character manifests (every
|
|
1580
|
+
`compose` run whose character builds carry `<build>/parts/`, and standalone
|
|
1581
|
+
`rig-parts check --rig <composed>/rig --parts <char-build> [--source <painting.png>]`),
|
|
1582
|
+
`compose` forwards prefixed `<build>/rig/mesh_report.json` entries to
|
|
1583
|
+
`<out>/rig/mesh_report.json` and `check` resolves each character's manifest under
|
|
1584
|
+
`<id>:` with part boxes mapped through `offset` and `scale` onto the scene canvas.
|
|
1585
|
+
|
|
1586
|
+
`check.json` keeps its top-level `spec`, `bar_outcomes`, `build` and `PASS`
|
|
1587
|
+
contract and adds `characters` immediately before `PASS`, keyed in scene
|
|
1588
|
+
character declaration order. Each `characters.<id>` object writes keys in this
|
|
1589
|
+
fixed order:
|
|
1590
|
+
|
|
1591
|
+
1. `offset` (`[x, y]`), and `scale` (present only when `scale !== 1`).
|
|
1592
|
+
2. `bar_outcomes`: the 10-bar character map in fixed order (`seam`,
|
|
1593
|
+
`BREATH_VISIBLE`, `BLINK_NO_HOLE`, `TIP_OVER_ROOT`, `STILL_REGIONS_DARK`,
|
|
1594
|
+
`FEET_STAY_LEVEL`, `STRESS_OFF_CHAIN`, `LIMB_ONE_BONE`, `SEAM_OVER_RANGE`,
|
|
1595
|
+
`SEAM_OVER_MOTION`).
|
|
1596
|
+
3. `seam_mean`, `seam_px_over_40`, `seam_px_over_80`, `seam_frame_scale`,
|
|
1597
|
+
`seam_scope`, optional `seam_border`, optional `seam_pairs`.
|
|
1598
|
+
4. `BREATH_VISIBLE`, `BLINK_NO_HOLE`, `TIP_OVER_ROOT`, `STILL_REGIONS_DARK`.
|
|
1599
|
+
5. Optional `FEET_STAY_LEVEL`, `STRESS_OFF_CHAIN`, `LIMB_ONE_BONE`,
|
|
1600
|
+
`SEAM_OVER_RANGE`, `SEAM_OVER_MOTION`, `PHYSICS_CONTRIBUTES`.
|
|
1601
|
+
6. `RECOMPOSITE_HOLES`, and optional `SETUP_POSE_VS_SOURCE` (under standalone
|
|
1602
|
+
`--source`).
|
|
1603
|
+
|
|
1604
|
+
Top-level `bar_outcomes` aggregates character outcomes across all bound
|
|
1605
|
+
characters (`FAIL` if any character fails, else `PASS` if any character passes,
|
|
1606
|
+
else `SKIP` preferring an active reading skip reason over an inapplicable one).
|
|
1607
|
+
When `compose` binds a character build's `check/check.json` by hash, any
|
|
1608
|
+
`declared_not_swinging`, `declared_rises`, `declared_rests`, and
|
|
1609
|
+
`declared_not_planted` entries recorded there are forwarded under `<id>:`,
|
|
1610
|
+
unioned with any scene `--requirements` file, and attributed in
|
|
1611
|
+
`forwarded_from_build` on the bar's console line and in `check.json` (naming the
|
|
1612
|
+
character's `build`); if forwarding leaves no measurable swinging part,
|
|
1613
|
+
`TIP_OVER_ROOT` is `SKIP` (`no-reading`), never `PASS`. On `STILL_REGIONS_DARK`,
|
|
1614
|
+
slots driven by a slider whose input bone channel the idle keys away from rest
|
|
1615
|
+
(including `face`-tagged slots) are added to `driven_slots` and listed under
|
|
1616
|
+
`face.slider_driven_slots` (`slot -> [dial, ...]`); if every still slot of a
|
|
1617
|
+
character is excluded across `face` and `feet`, `STILL_REGIONS_DARK` is `SKIP`
|
|
1618
|
+
(`no-eligible-region`), never `PASS`. Single-character non-composed builds omit
|
|
1619
|
+
`characters`.
|
|
1620
|
+
|
|
1576
1621
|
#### Slider stretch diagnostic (issue #1627)
|
|
1577
1622
|
|
|
1578
1623
|
Stock `check.json` gains `slider_stretch` immediately after `TEXTURE_STRETCH`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rig-parts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.74.0",
|
|
4
4
|
"description": "AI-authored 2D character parts from one anime painting and its See-through layer decomposition: measured parts, weighted-mesh rig specs, verified through rig-c before anything is written. A CLI for agents that cannot see the image.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
package/src/build.ts
CHANGED
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
untestedIntervals,
|
|
99
99
|
} from './autoreplay.ts';
|
|
100
100
|
import { physicsLines } from './physicscontrib.ts';
|
|
101
|
-
import { besideIdleLine, checkSummaryLine, inputFileRecord, type InputFileRecord, CLOTH_LINE, type ClothLine, clothWarnText, figureOpeningLines, frameRuns, type LoopSeamRequest, MOTION_SEAM_LINE, type MotionSeamLine, type MotionSeamPlant, motionSeamRequiredLine, motionSeamWarnText, motionJointContactLines, FOLD_LINE, type FoldsLine, LEVEL_LINE, type LevelLine, LIMB_LINE, type LimbLine, sliderStretchLine, STRESS_LINE, SWEEP_LINE, type SweepLine, buildGateLines, causeLines, environmentLine, IDLE_FPS, IDLE_MAX_PX, maxRgbDiff, REQUIREMENTS_DIR, type CheckReport, type PackLine, DEFAULT_PACK_SHAPE, DEFAULT_PAGE_EDGES, GATE_PROFILE, JUDGEMENT_LINES, type JudgementLine, packedBuildArgs, packedBuildLabel, type PackMode, parsePageSize, readCheckEnvironment, readWindBand, type PackShape, type PageEdges, readFrameSet, rigcFailed, rigcIdentity, rigcRanClause, REPORTED_LINES, type ReportedLine, type RigcRunner, runCheck, SEAM_DIR, SEAM_MEAN_BAR, seamPairText, seamRigPxText, SOURCE_LINE, SEAM_PX_BAR, SEAM_PX_LEVEL, SEAM_PX_LEVEL_HIGH, SPINEBOY_YARDSTICK, STILL_DIR, WIND_BAND_LINE, windBandLines } from './check.ts';
|
|
101
|
+
import { besideIdleLine, checkSummaryLine, type ComposedCharacterInput, inputFileRecord, type InputFileRecord, CLOTH_LINE, type ClothLine, clothWarnText, figureOpeningLines, frameRuns, type LoopSeamRequest, MOTION_SEAM_LINE, type MotionSeamLine, type MotionSeamPlant, motionSeamRequiredLine, motionSeamWarnText, motionJointContactLines, FOLD_LINE, type FoldsLine, LEVEL_LINE, type LevelLine, LIMB_LINE, type LimbLine, sliderStretchLine, STRESS_LINE, SWEEP_LINE, type SweepLine, buildGateLines, causeLines, environmentLine, IDLE_FPS, IDLE_MAX_PX, maxRgbDiff, REQUIREMENTS_DIR, type CheckReport, type PackLine, DEFAULT_PACK_SHAPE, DEFAULT_PAGE_EDGES, GATE_PROFILE, JUDGEMENT_LINES, type JudgementLine, packedBuildArgs, packedBuildLabel, type PackMode, parsePageSize, readCheckEnvironment, readWindBand, type PackShape, type PageEdges, readFrameSet, rigcFailed, rigcIdentity, rigcRanClause, REPORTED_LINES, type ReportedLine, type RigcRunner, runCheck, SEAM_DIR, SEAM_MEAN_BAR, seamPairText, seamRigPxText, SOURCE_LINE, SEAM_PX_BAR, SEAM_PX_LEVEL, SEAM_PX_LEVEL_HIGH, SPINEBOY_YARDSTICK, STILL_DIR, WIND_BAND_LINE, windBandLines } from './check.ts';
|
|
102
102
|
import { type BoneEntry, type CharacterConfig, type Cut, type Extend, loadConfigAndAnimations, loadConfigWithBytes, loadEarlyConfig, type Patch, type PlanEntry } from './config.ts';
|
|
103
103
|
import { coreCompileGuideLine, failLine, foldName, PartsError, type Problem, refuseIfAny } from './errors.ts';
|
|
104
104
|
import { editedConfigImages, editedRunImages, missingReceipts, readEditorReceipts } from './editreceipt.ts';
|
|
@@ -2252,6 +2252,8 @@ export interface CheckStageInput {
|
|
|
2252
2252
|
* absent, no sweep runs and no byte of `check.json` moves.
|
|
2253
2253
|
*/
|
|
2254
2254
|
windBand?: string;
|
|
2255
|
+
/** Bound character manifests when checking a composed rig (issue #1679). */
|
|
2256
|
+
characters?: readonly ComposedCharacterInput[];
|
|
2255
2257
|
}
|
|
2256
2258
|
|
|
2257
2259
|
/**
|
|
@@ -2420,12 +2422,13 @@ export function sweepCheckLines(line: SweepLine, steps: ReadonlyMap<string, { le
|
|
|
2420
2422
|
export function motionSeamLines(line: MotionSeamLine, plant: MotionSeamPlant = {}): string[] {
|
|
2421
2423
|
const unmeasured = (line.roots?.unmeasured ?? []).map(root => `root pair for ${root.limb} (${root.part}, bone "${root.bone}", parent "${root.parent}", candidates ${root.candidates.join('/')}): SKIP — ${root.reason}`);
|
|
2422
2424
|
const rootStatus = line.roots === undefined ? '' : '; body-root gap-open+under-ghost gate ' + line.roots.status + ' (' + line.roots.pairs.length + ' pair(s)); ghost ownership from resolved draw order' + (line.roots.reason === undefined ? '' : ' — ' + line.roots.reason);
|
|
2425
|
+
const barSkipClause = line.roots === undefined && line.required === undefined ? ', bar SKIP (no-root-gate)' : '';
|
|
2423
2426
|
if (line.worlds === undefined && line.status === 'SKIP' && line.rows.length === 0 && line.pairs.every((p) => p.unread === undefined)) return [`${MOTION_SEAM_LINE}: SKIP — ${String(line.reason)}${unmeasured.length === 0 ? '' : rootStatus}`, ...unmeasured, ...motionJointContactLines(line)];
|
|
2424
2427
|
const read = `${line.pairs.length} declared pair(s) in ${line.animations.length} animation(s) (${line.animations.join(', ')}), read by rigc render --seam at ${line.fps} fps on the build as played`;
|
|
2425
2428
|
const head =
|
|
2426
2429
|
line.status === 'SKIP'
|
|
2427
2430
|
? `${MOTION_SEAM_LINE}: SKIP — ${String(line.reason)}; ${read}${unmeasured.length === 0 ? '' : rootStatus}`
|
|
2428
|
-
: `${MOTION_SEAM_LINE}: ${line.status} — ${read}: ${line.warnings} warning(s), never a bar${rootStatus}; ${line.floor}`;
|
|
2431
|
+
: `${MOTION_SEAM_LINE}: ${line.status} — ${read}: ${line.warnings} warning(s), never a bar${rootStatus}${barSkipClause}; ${line.floor}`;
|
|
2429
2432
|
return [
|
|
2430
2433
|
head,
|
|
2431
2434
|
...motionJointContactLines(line),
|
|
@@ -2507,6 +2510,7 @@ export function checkStage(input: CheckStageInput, rigc: RigcRunner, bin: string
|
|
|
2507
2510
|
input.rig, input.out, rigc, input.parts, mode, input.source, input.requirements, input.seamPairs === true,
|
|
2508
2511
|
input.keepStills === true, input.set, input.allSets === true, input.environment, input.requirementsAs, input.config,
|
|
2509
2512
|
input.windBand, input.noExtremes === true, input.supportSource, input.supportFigure, input.assemblyRules, input.loopSeam, input.previewIdle,
|
|
2513
|
+
input.characters,
|
|
2510
2514
|
);
|
|
2511
2515
|
if (r.figures.environment !== undefined) log(` ${environmentLine(r.figures.environment)}`);
|
|
2512
2516
|
log(` gate rig-play (rigc ${packedBuildLabel(mode)}), verbatim:`);
|
|
@@ -2529,7 +2533,7 @@ export function checkStage(input: CheckStageInput, rigc: RigcRunner, bin: string
|
|
|
2529
2533
|
if (r.seamViewport === null || fig.seam_mean === null) log(` seam: SKIP — ${fig.skipped?.seam ?? ''}`);
|
|
2530
2534
|
else {
|
|
2531
2535
|
log(
|
|
2532
|
-
` seam${fig.seam_border === undefined ? '' : ` (config.scene: ${fig.seam_border.frame_px_left_out} frame px on the painting's border rows and columns left out, ${fig.seam_border.px_over_40_left_out} of them over ${SEAM_PX_LEVEL})`}: setup pose at ${r.seamViewport.pixelWidth}x${r.seamViewport.pixelHeight}, scale ${r.seamViewport.scale.toFixed(4)}: mean |d| ${fig.seam_mean} (<= ${SEAM_MEAN_BAR.toFixed(1)}), ` +
|
|
2536
|
+
` seam${fig.seam_border === undefined ? '' : ` (config.scene: ${fig.seam_border.frame_px_left_out} frame px on the painting's border rows and columns left out, ${fig.seam_border.px_over_40_left_out} of them over ${SEAM_PX_LEVEL})`}: setup pose at ${r.seamViewport.pixelWidth}x${r.seamViewport.pixelHeight}, scale ${(fig.seam_frame_scale ?? r.seamViewport.scale).toFixed(4)}: mean |d| ${fig.seam_mean} (<= ${SEAM_MEAN_BAR.toFixed(1)}), ` +
|
|
2533
2537
|
`${fig.seam_px_over_40} px over ${SEAM_PX_LEVEL}, ${fig.seam_frame_scale === null || fig.seam_px_over_40 === null ? '' : seamRigPxText(fig.seam_px_over_40, fig.seam_frame_scale)} rig px (the count / s²; <= ${SEAM_PX_BAR}), ${fig.seam_px_over_80} px over ${SEAM_PX_LEVEL_HIGH} (reported)`,
|
|
2534
2538
|
);
|
|
2535
2539
|
if (fig.seam_scope !== undefined) log(` seam scope: ${fig.seam_scope.mode}, denominator ${fig.seam_scope.denominator_px} source cells; union ${fig.seam_scope.domain?.viewport.pixelWidth}x${fig.seam_scope.domain?.viewport.pixelHeight}, numerator ${fig.seam_scope.domain?.numerator}; auto-frame raw mean ${fig.seam_scope.auto_frame_raw.mean}, ${fig.seam_scope.auto_frame_raw.px_over_40} px over ${SEAM_PX_LEVEL} at scale ${fig.seam_scope.auto_frame_raw.frame_scale} (diagnostic only)`);
|
|
@@ -2553,18 +2557,41 @@ export function checkStage(input: CheckStageInput, rigc: RigcRunner, bin: string
|
|
|
2553
2557
|
}
|
|
2554
2558
|
for (const name of JUDGEMENT_LINES) log(` ${judgementLine(name, fig[name])}`);
|
|
2555
2559
|
for (const row of fig.slider_stretch?.rows ?? []) log(sliderStretchLine(row, true));
|
|
2560
|
+
const noPartsMap = new Map((r.noPartsBars ?? []).map(b => [b.bar, b.reason]));
|
|
2556
2561
|
const folds = fig[FOLD_LINE];
|
|
2557
2562
|
if (folds !== undefined) for (const l of foldsLines(folds)) log(` ${l}`);
|
|
2558
2563
|
const level = fig[LEVEL_LINE];
|
|
2559
2564
|
if (level !== undefined) for (const [i, l] of levelLines(level).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2565
|
+
else if (noPartsMap.has(LEVEL_LINE)) log(` ${LEVEL_LINE}: SKIP — ${noPartsMap.get(LEVEL_LINE)}`);
|
|
2560
2566
|
const stress = fig[STRESS_LINE];
|
|
2561
2567
|
if (stress !== undefined) log(` ${judgementLine(STRESS_LINE, stress)}`);
|
|
2568
|
+
else if (noPartsMap.has(STRESS_LINE)) log(` ${STRESS_LINE}: SKIP — ${noPartsMap.get(STRESS_LINE)}`);
|
|
2562
2569
|
const limbs = fig[LIMB_LINE];
|
|
2563
2570
|
if (limbs !== undefined) for (const [i, l] of limbCheckLines(limbs).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2571
|
+
else if (noPartsMap.has(LIMB_LINE)) log(` ${LIMB_LINE}: SKIP — ${noPartsMap.get(LIMB_LINE)}`);
|
|
2564
2572
|
const sweep = fig[SWEEP_LINE];
|
|
2565
2573
|
if (sweep !== undefined) for (const [i, l] of sweepCheckLines(sweep, r.sweepSteps).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2574
|
+
else if (noPartsMap.has(SWEEP_LINE)) log(` ${SWEEP_LINE}: SKIP — ${noPartsMap.get(SWEEP_LINE)}`);
|
|
2566
2575
|
for (const [i, l] of motionSeamLines(r.motionSeam).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2567
2576
|
if (r.motionSeam.required !== undefined) log(` ${motionSeamRequiredLine(r.motionSeam.required)}`);
|
|
2577
|
+
if ((r.characterReports?.length ?? 0) > 1) {
|
|
2578
|
+
for (const cr of r.characterReports!) {
|
|
2579
|
+
const cf = cr.figures;
|
|
2580
|
+
log(` character "${cr.id}" (offset [${cr.offset.join(', ')}], scale ${cr.scale}):`);
|
|
2581
|
+
if (cr.seamViewport !== null && cf.seam_mean !== null) {
|
|
2582
|
+
log(` seam (${cr.id}): setup pose at ${cr.seamViewport.pixelWidth}x${cr.seamViewport.pixelHeight}, scale ${(cf.seam_frame_scale ?? cr.seamViewport.scale).toFixed(4)}: mean |d| ${cf.seam_mean} (<= ${SEAM_MEAN_BAR.toFixed(1)}), ${cf.seam_px_over_40} px over ${SEAM_PX_LEVEL}, ${cf.seam_frame_scale === null || cf.seam_px_over_40 === null ? '' : seamRigPxText(cf.seam_px_over_40, cf.seam_frame_scale)} rig px (<= ${SEAM_PX_BAR}), ${cf.seam_px_over_80} px over ${SEAM_PX_LEVEL_HIGH} (reported)`);
|
|
2583
|
+
}
|
|
2584
|
+
for (const name of ['BREATH_VISIBLE', 'BLINK_NO_HOLE', 'TIP_OVER_ROOT', 'STILL_REGIONS_DARK'] as const) {
|
|
2585
|
+
log(` ${judgementLine(`${name} (${cr.id})`, cf[name])}`);
|
|
2586
|
+
}
|
|
2587
|
+
if (cf[LEVEL_LINE] !== undefined) log(` ${LEVEL_LINE} (${cr.id}): ${cf[LEVEL_LINE].status}`);
|
|
2588
|
+
if (cf[STRESS_LINE] !== undefined) log(` ${judgementLine(`${STRESS_LINE} (${cr.id})`, cf[STRESS_LINE])}`);
|
|
2589
|
+
if (cf[LIMB_LINE] !== undefined) log(` ${LIMB_LINE} (${cr.id}): ${cf[LIMB_LINE].status} — ${cf[LIMB_LINE].parts.length} limb part(s)`);
|
|
2590
|
+
if (cf[SWEEP_LINE] !== undefined) log(` ${SWEEP_LINE} (${cr.id}): ${cf[SWEEP_LINE].status} — ${cf[SWEEP_LINE].joints.length} joint(s)`);
|
|
2591
|
+
for (const l of motionSeamLines(cr.motionSeam)) log(` (${cr.id}) ${l}`);
|
|
2592
|
+
log(` ${judgementLine(`RECOMPOSITE_HOLES (${cr.id})`, cf.RECOMPOSITE_HOLES)}`);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2568
2595
|
for (const [i, l] of figureOpeningLines(r.figureOpenings).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2569
2596
|
for (const [i, l] of clothLines(r.cloth).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|
|
2570
2597
|
if (r.physics !== undefined) for (const [i, l] of physicsLines(r.physics).entries()) log(` ${i === 0 ? '' : ' '}${l}`);
|