Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1424-001-desktop-completion/DW25.md
mes123456 f3e21c6b98
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
chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00

54 lines
2.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DW25:跟踪、相机解算、遮罩与稳定
- stage: `animation-media`
- queueTask: `WBV2-P1424-001`;parent: `WBV2-P1424-000`;nextTask: `null`
- 包状态:`planned_gap_closure`(并不表示已有源码尚未实现)
- 完整交付依赖:DW13, DW17, DW20
- 工作量级:L;不表示日期承诺
- validation: `NOT_RUN`;acceptance: `NOT_CLAIMED`
## 优先复用的十多天成果
TRACKING-MASK-COVERAGE 与原生 tracking-mask 协议、Clip editor 已有。
既有任务:`TRACKING-MASK-COVERAGE`(记录为 implemented)。按需读取一个任务结果的 summary/remaining/ownedPaths,不打开完整产品报告。
先对照当前小范围源码和最新交接保留已实现子项;只有缺功能、缺接线或缺必要依赖才新增实现。历史状态不自动当作当前缺口。
## 操作者工作流与交付
载入片段 → 跟踪标记 → 相机/物体解算 → 场景关联 → mask/稳定/合成
从素材到真实解算与合成输入的完整 Clip/Mask 工作流。
## 最小生产入口
- `web/protocol/tracking-mask.ts`
- `web/protocol/io-media-commands.ts`
- `blender-5.2.0/source/blender/editors/space_clip/space_clip.cc`
- `blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp`
- `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
- `web/app/src/app/App.tsx`
以上为聚焦入口,非要求全文加载。使用源码聚焦工具、精确 --source/--unit 和函数片段;接入新 operator 时追加其具体原生文件,单次最多 8 个精确源码文件。没有默认测试入口或要运行的 fixture;功能完成前不执行任何验证。
## 只补未完成部分
1. 补齐 clip 载入、帧定位、marker/path/pattern/search region 和单步/范围跟踪原生 operator。
2. 原生追踪/解算依赖复用本地库/构件,接相机内参、畸变、关键帧、误差显示与场景单位/方向。
3. mask spline/feather/shape key/父级绑定、稳定输出及原生合成输入形成连续工作流。
4. 耗时跟踪可取消、重试和缓存失效;原生结果写 Main 并共享历史。
5. 片段路径、缓存、解算数据与保存重开按 DW06/DW24 资源时间线处理。
## 失败边界
手动移动标记或显示视频不能代替跟踪与解算算法。
## 实现交接与后续使用
交付前必须具有实际入口→原生执行→消费者/结果→错误/取消→适用 history/save 的生产代码。这里是实现交付条件,不运行验收;编译成功不能替代功能。旧的已完成子项可引用并保留,不能声称本轮重新实现。
用户使用阶段的场景(现在不执行):跟踪一段素材并解算相机,建立遮罩后将结果用于合成和三维场景。
每次记录保留成果、补齐断点、仍有缺口、必要构件与下一动作。共同规则见同目录 `EXECUTION.md`,首次领取时阅读;不要将完整计划作为后续执行上下文。