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

50 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": "ch15",
"number": 15,
"part": "part-c",
"title": "材质与 Shader Editor:Principled、图像与预览",
"level": "进阶",
"workspace": "Shading",
"minutes": 8,
"summary": "给立方体新增一个材质槽,确认槽数量增加;再切到 Shading 工作区看节点画布。",
"objectives": ["在材质属性里新增槽", "确认材质槽数量变化", "查看 Shader Editor 节点"],
"setup": { "fixture": "/teach/fixtures/basic-scene.blend", "workspace": "Layout" },
"steps": [
{
"id": "ch15-s1",
"title": "选中 BasicCube 并打开材质属性",
"text": "在大纲树选中 BasicCube,点击属性区的材质图标。",
"target": { "role": "treeitem", "name": "BasicCube" },
"checks": [
{ "kind": "exists", "target": { "testid": "material-slots-section" }, "label": "材质槽面板已显示" }
],
"demo": [
{ "kind": "click", "target": { "role": "treeitem", "name": "BasicCube" } },
{ "kind": "click", "target": { "css": ".area-frame.properties-area button[title=\"材质属性\"]" } }
]
},
{
"id": "ch15-s2",
"title": "新增一个材质槽",
"text": "点击「新增槽」,槽列表多一行,可以为它指定新材质。",
"target": { "role": "button", "name": "新增槽" },
"checks": [
{ "kind": "count", "target": { "css": "[data-testid=\"material-slots-section\"] select" }, "atLeast": 1, "label": "材质槽列表里至少一个材质选择框" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "新增槽" } }]
},
{
"id": "ch15-s3",
"title": "切到 Shading 工作区看节点",
"text": "顶部切到「Shading」,节点画布里应能看到 Principled BSDF 与材质输出节点。",
"target": { "role": "button", "name": "Shading" },
"checks": [
{ "kind": "scene", "workspace": "Shading", "label": "当前工作区是 Shading" },
{ "kind": "count", "target": { "css": ".area-frame.properties-area" }, "atLeast": 1, "label": "属性区仍在布局里" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "Shading" } }]
}
]
}