- 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>
109 lines
3.0 KiB
JSON
109 lines
3.0 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch24",
|
||
"number": 24,
|
||
"part": "part-e",
|
||
"title": "四条渲染通路:先看清自己在按哪一条",
|
||
"level": "进阶",
|
||
"workspace": "Rendering",
|
||
"minutes": 7,
|
||
"summary": "视口预览、Web PBR 渲染、原生 Blender 服务端渲染与 WASM 内嵌渲染,四条通路的入口与产物各不相同。",
|
||
"objectives": [
|
||
"认出视口与 PBR 面板",
|
||
"打开 Blender 桌面通路",
|
||
"确认原生渲染面板"
|
||
],
|
||
"setup": {
|
||
"fixture": "/teach/fixtures/basic-scene.blend",
|
||
"workspace": "Rendering"
|
||
},
|
||
"steps": [
|
||
{
|
||
"id": "ch24-s1",
|
||
"title": "第一条:视口预览",
|
||
"text": "视口里的着色预览是最快的一条通路:拖动相机就能看到材质与灯光的近似效果,但它不是最终出图。",
|
||
"target": {
|
||
"css": ".viewport-area canvas.viewport-canvas"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": ".viewport-area canvas.viewport-canvas"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "视口画布存在"
|
||
},
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": ".pbr-render-panel"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "PBR 渲染面板存在"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch24-s2",
|
||
"title": "第二条:Web PBR 渲染",
|
||
"text": "渲染面板里的「渲染 PBR」用浏览器里的引擎出图,结果会出现在同一块面板里,并带下载入口。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "渲染 PBR"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "渲染 PBR"
|
||
},
|
||
"label": "「渲染 PBR」按钮存在"
|
||
},
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"css": ".pbr-render-download"
|
||
},
|
||
"label": "渲染面板带有下载入口"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch24-s3",
|
||
"title": "第三、四条:原生 Blender 与 WASM 内嵌",
|
||
"text": "展开「渲染结果 · 原生 Blender」后可以选择 EEVEE / Cycles / Workbench 交给原生后端渲染;WASM 内嵌渲染则完全留在浏览器里,导出与渲染都不需要服务端。",
|
||
"target": {
|
||
"css": "details.native-render-fallback > summary"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": ".native-render-panel"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "原生渲染面板存在"
|
||
},
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": ".native-render-panel select option"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "原生渲染引擎列表非空"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"css": "details.native-render-fallback > summary"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|