Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1121-000.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

37 lines
1.6 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.
# WBV2-P1121-000: paint stroke module
- task: `WBV2-P1121-000`
- parent: `WBV2-P1120-000`
- status: `in_progress`
- gap: `workflow:module_paint_stroke`
- ownerFamily: `SCULPT`
- targetImplementationClass: `LOCAL_BOUNDED`
## 目标
按功能模块验证 paint pointer session、GPU depth visibility 和 PBVH capability gate。
## 输入与范围
- Blender Main/API: `blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp`, `blender-5.2.0/source/blender/web_engine/web_engine_main_state.h`, `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
- Protocol: `web/protocol/web-engine.ts`, `web/protocol/sculpt.ts`, `web/protocol/paint.ts`, `web/protocol/paint-stroke-session.ts`, `web/protocol/paint-depth-visibility.ts`, `web/protocol/paint-pbvh-capability.ts`
- Runtime: `web/app/src/workers/web-engine.worker.ts`, `web/app/src/three-adapter/paint-depth-visibility.ts`, `web/app/src/three-adapter/viewport.ts`, `web/app/src/three-adapter/offscreen-viewport.ts`, `web/app/src/app/App.tsx`
## 验收
```bash
npm --prefix web run test:paint-stroke-session
npm --prefix web run test:paint-depth-visibility
npm --prefix web run test:paint-pbvh-capability
npm --prefix web run typecheck
```
必须记录 pointer chunks/undo 正例、stale/forged/budget/PBVH-unavailable 负例、cancel cleanup、worker restart、main/offscreen GPU 和 Chromium。PBVH 缺 entrypoint 保持 BLOCKED,不推导 sculpt brush parity。
## 交付与回滚
- Receipt: `tests/golden/WBV2-P1121-000/module-receipt.json`
- Manifest: `tests/golden/WBV2-P1121-000/manifest.json`
- Status: `docs/status/WBV2-P1121-000.md`
- 回滚:恢复 P1120 manifest 为 queue parent。