feat(web): close the Clip residuals — undistortion, track colour copy, plane auto-keying
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

The clipFrame command takes an undistort flag, honoured only for full-frame
reads to mirror need_undistortion_postprocess, so the engine applies
BKE_tracking_distortion_exec on the fly. The reader exports every distortion
model's coefficients and the Camera Data panel edits focal, sensor, model and
the active model's fields (display rounded past the DNA float32 noise).
CLIP_OT_track_copy_color gets its panel button, and plane use_auto_keying
round-trips with an off-path that re-derives the plane from point-track
motion instead of keying.

The headed suite grows to 26 Clip cases with [clip-undistort] (border-
concentrated pixel difference plus a zeroed-coefficient identity check) and
the extended copy-colour/auto-keying assertions: 28/28 PASS, receipt
tests/golden/CLIP-HEADED-20261204-124651, wasm 3c81eb06. Acceptance stays
NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-12-04 13:47:00 +08:00
parent 3e835ae54d
commit b358b4bdeb
62 changed files with 4879 additions and 81 deletions

View File

@@ -93,16 +93,27 @@ boundary; the legacy `parity-ledger.json` is historical planning data.
- Keyframe evidence stays PARTIAL: the Outliner keyframe case `outliner-keyframe-keys-web` proves the
native keyframing operators ran and an action datablock appeared. The Outliner tree does not expose
fcurve or keyframe counts, so no count assertion is made. No new engine evidence is claimed.
- The Clip suite's four remaining limits are recorded here rather than left implicit: (1) the
- The Clip suite's remaining limits are recorded here rather than left implicit: (1) the
Graph is coordinate-faithful, not drawing-identical — knots are SVG circles (r = 3) instead of
desktop's 8-segment wire circles and the view has no View2D pan/zoom, so `[clip-graph]` asserts
the data-space mapping (0..efra × −10..10) to 0.6 px, not a pixel diff; (2) the stabilization
pixel composite is asserted on tripod-motion at frame 24 with unmuted markers only — rotation
and autoscale are asserted through the returned matrix in `[clip-stab]`, not against pixels;
(3) `undistortion-test` is not referenced by any headed case; (4) the desktop
`clip.track_copy_color` shortcut has no dedicated button (colour writes run through the presets
and apply-to-selected) and plane `use_auto_keying` is not exposed because corner drags always
key. The full suite passes 27/27 on the dev candidate; release acceptance stays NOT_CLAIMED.
desktop's 8-segment wire circles, so `[clip-graph]` asserts the data-space mapping
(0..efra × −10..10) to 0.6 px plus the View2D-style wheel zoom and 全部 reset (the
middle-drag pan is implemented but not asserted), not a pixel diff; (2) the stabilization
pixel composite is asserted on tripod-motion at frame 24 with
unmuted markers only — rotation and autoscale are asserted through the returned matrix in
`[clip-stab]`, not against pixels; (3) stabilization is hardened where desktop is degenerate: a
single configured track yields NaN in desktop `BKE_tracking_stabilization_data_get`, while the
web engine returns `CLIP_STABILIZATION_NONFINITE` (INVALID_ARGUMENT) so a misconfigured clip
fails recoverably — `[clip-stab-composite]` therefore configures two translation tracks and
three rotation tracks. The undistortion and track/plane panel gaps are closed:
`[clip-undistort]` asserts the distorted-grid pixels change with the clip render flag and
revert to identity once k1..k3 are zeroed (full-frame reads only, mirroring
`need_undistortion_postprocess`; proxy reads keep the prebuilt proxy images),
`clip.track_copy_color` has its panel button with `CLIP_OT_track_copy_color` semantics (the
active track's colour copied onto the other view-selected tracks), and plane
`use_auto_keying` is exposed — with it off, a corner drag re-derives the plane through
`BKE_tracking_track_plane_from_existing_motion` instead of keying. The full suite passes 28/28
on the dev candidate (receipt `tests/golden/CLIP-HEADED-20261204-124651`); release acceptance
stays NOT_CLAIMED.
- The per-editor cross-walk of these gaps lives in [MODULE-COVERAGE.md](MODULE-COVERAGE.md), which
records one row per `EDITOR_TYPES` entry and the stable gap ids `MOD-<module>-NN`.

File diff suppressed because one or more lines are too long