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

137 lines
3.4 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": "ch22",
"number": 22,
"part": "part-e",
"title": "相机、灯光、世界与渲染属性",
"level": "进阶",
"workspace": "Rendering",
"minutes": 7,
"summary": "依次选中相机与灯光,在数据属性里查看渲染相关参数,为后面的出图做准备。",
"objectives": [
"选中相机对象",
"查看镜头数据面板",
"选中灯光对象"
],
"setup": {
"fixture": "/teach/fixtures/basic-scene.blend",
"workspace": "Layout"
},
"steps": [
{
"id": "ch22-s1",
"title": "在 Outliner 选中相机",
"text": "大纲树里点一下 BasicCamera,状态栏的 Active 会变成 BasicCamera。相机决定了渲染的取景。",
"target": {
"role": "treeitem",
"name": "BasicCamera"
},
"checks": [
{
"kind": "text",
"target": {
"testid": "scene-stats"
},
"matches": "Active BasicCamera",
"label": "活动对象是 BasicCamera"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "treeitem",
"name": "BasicCamera"
}
}
]
},
{
"id": "ch22-s2",
"title": "打开数据属性",
"text": "属性编辑器切到「数据属性」,这里能看到相机类型、焦距与裁剪范围。",
"target": {
"css": ".area-frame.properties-area button[title=\"数据属性\"]"
},
"checks": [
{
"kind": "exists",
"target": {
"testid": "object-data-workbench"
},
"label": "数据属性工作台已显示"
}
],
"demo": [
{
"kind": "click",
"target": {
"css": ".area-frame.properties-area button[title=\"数据属性\"]"
}
}
]
},
{
"id": "ch22-s3",
"title": "选中灯光 BasicArea",
"text": "再点大纲树里的 BasicArea:它是一盏面光源,灯光属性同样在数据属性页。",
"target": {
"role": "treeitem",
"name": "BasicArea"
},
"checks": [
{
"kind": "text",
"target": {
"testid": "scene-stats"
},
"matches": "Active BasicArea",
"label": "活动对象是 BasicArea(面光源)"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "treeitem",
"name": "BasicArea"
}
}
]
},
{
"id": "ch22-s4",
"title": "切到 Rendering 工作区",
"text": "Rendering 工作区把渲染结果、PBR 面板与原生渲染放在一起;相机的取景与灯光最终在这里出图。",
"target": {
"role": "button",
"name": "Rendering"
},
"checks": [
{
"kind": "scene",
"workspace": "Rendering",
"label": "当前工作区是 Rendering"
},
{
"kind": "count",
"target": {
"css": ".pbr-render-panel"
},
"atLeast": 1,
"label": "渲染面板已挂载"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "Rendering"
}
}
]
}
]
}