Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch27.json
mes123456 c47fa79102
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
feat(web): viewport transform parity — offscreen backend, per-island pivots, ortho sizing
- Offscreen worker backend publishes the camera probe, so the G/R/S modal's
  pointer basis, transform gizmo and wireframe work on both renderers.
- Edit-mode INDIVIDUAL_ORIGINS pivots every connected island on its own centre,
  committed as one grouped transaction (T(P)·R·S·T(-P) in object space).
- Gizmo hits carry the pivot index; orthographic views size the axes from the
  visible world height instead of the 45° fov fallback.
- View-menu navigation no longer switches workspace when a viewport is already
  on screen (the engine workspace transaction dropped the editor out of Edit).
- Modal commits queue behind the shared command tail, so a trailing
  editEditorContext cannot consume the user's first Ctrl+Z.
- Floating sidebar rotation field confirmed in degrees; headed cases for the
  offscreen path, per-island pivots and the sidebar unit, plus receipts/docs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 07:48:17 +08:00

57 lines
2.5 KiB
JSON
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.
{
"schemaVersion": 1,
"id": "ch27",
"number": 27,
"part": "part-e",
"title": "Compositor:节点画布、执行与保存",
"level": "进阶",
"workspace": "Compositing",
"minutes": 8,
"summary": "在 Compositor 画布添加一个节点、执行合成、提交节点图,走完一次节点合成的最小闭环。",
"objectives": ["切换到 Compositing 工作区", "添加并执行合成节点", "提交合成图"],
"setup": { "fixture": "/teach/fixtures/basic-scene.blend", "workspace": "Layout" },
"steps": [
{
"id": "ch27-s1",
"title": "切换到 Compositing 工作区",
"text": "顶部切到「Compositing」,中间是节点画布,左侧可以看合成结果。",
"target": { "role": "button", "name": "Compositing" },
"checks": [
{ "kind": "scene", "workspace": "Compositing", "label": "当前工作区是 Compositing" },
{ "kind": "exists", "target": { "css": ".compositor-canvas-shell" }, "label": "合成画布可见" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "Compositing" } }]
},
{
"id": "ch27-s2",
"title": "添加一个节点",
"text": "在「添加节点类型」里选一种节点,再点击「添加节点」,画布上出现节点。",
"target": { "css": ".compositor-canvas-shell select" },
"checks": [
{ "kind": "count", "target": { "css": ".compositor-canvas-shell .react-flow__node" }, "atLeast": 1, "label": "画布上至少一个节点" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "添加节点" } }]
},
{
"id": "ch27-s3",
"title": "执行合成",
"text": "点击「执行合成」,节点图被求值,结果区显示合成输出。",
"target": { "role": "button", "name": "执行合成" },
"checks": [
{ "kind": "exists", "target": { "testid": "compositor-result" }, "label": "合成结果区可见" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "执行合成" } }]
},
{
"id": "ch27-s4",
"title": "提交节点图",
"text": "点击「提交图」,把画布上的节点写入工程,后续保存会一并存下。",
"target": { "role": "button", "name": "提交图" },
"checks": [
{ "kind": "exists", "target": { "role": "button", "name": "提交图" }, "label": "提交图按钮可用" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "提交图" } }]
}
]
}