Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch01.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

49 lines
2.2 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": "ch01",
"number": 1,
"part": "part-a",
"title": "快速开始:首次加载、打开工程与第一次保存",
"level": "入门",
"workspace": "Layout",
"minutes": 6,
"summary": "从浏览器打开 Web Blender,载入练习工程,并把工程保存到浏览器 OPFS。",
"objectives": ["识别 WASM 首次加载状态", "打开 .blend 并确认场景对象数", "完成一次 OPFS 保存"],
"setup": { "fixture": "/tutorial/pbr/studio.blend", "workspace": "Layout" },
"steps": [
{
"id": "ch01-s1",
"title": "载入练习工程",
"text": "点击顶栏「打开 .blend」,选择练习工程 studio.blend,等场景里的对象数变成 6。",
"hint": "远端首次加载需要下载引擎;状态栏出现 SceneIR 后再打开工程。",
"target": { "role": "button", "name": "打开 .blend" },
"referenceImage": "/tutorial/full/steps/M01-file-menu.jpg",
"checks": [
{ "kind": "text", "target": { "testid": "scene-stats" }, "matches": "Objects 6", "label": "场景里有 6 个对象" }
],
"demo": [{ "kind": "openScene", "url": "/tutorial/pbr/studio.blend", "fileName": "studio.blend" }]
},
{
"id": "ch01-s2",
"title": "添加一个立方体",
"text": "在顶栏快速入口点击「添加立方体」,对象数应从 6 变成 7。",
"hint": "顶栏的立方体按钮与「添加 → 网格 → 立方体」是同一个入口。",
"target": { "role": "button", "name": "添加立方体" },
"checks": [
{ "kind": "text", "target": { "testid": "scene-stats" }, "matches": "Objects 7", "label": "对象数变成 7" }
]
},
{
"id": "ch01-s3",
"title": "保存到浏览器 OPFS",
"text": "点击顶栏「保存项目」。保存状态变成「已保存」,工程写进浏览器 OPFS,不会下载文件。",
"hint": "要拿到本地文件时,才使用单独的「下载 .blend」入口。",
"target": { "role": "button", "name": "保存项目" },
"referenceImage": "/manuals/images/ch01-first-save.jpg",
"checks": [
{ "kind": "text", "target": { "testid": "dirty-status" }, "equals": "已保存", "label": "保存状态为「已保存」" }
]
}
]
}