- 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>
94 lines
2.4 KiB
JSON
94 lines
2.4 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch23",
|
||
"number": 23,
|
||
"part": "part-e",
|
||
"title": "PBR 渲染实战:用浏览器把场景渲成一张图",
|
||
"level": "实战",
|
||
"workspace": "Rendering",
|
||
"minutes": 10,
|
||
"summary": "打开 PBR 练习工程,点击「渲染 PBR」在浏览器里出图,再把 PNG 下载到本地。",
|
||
"objectives": [
|
||
"打开 PBR 练习工程",
|
||
"在浏览器内渲染出图",
|
||
"手动下载渲染 PNG"
|
||
],
|
||
"setup": {
|
||
"fixture": "/tutorial/pbr/studio.blend",
|
||
"workspace": "Rendering"
|
||
},
|
||
"steps": [
|
||
{
|
||
"id": "ch23-s1",
|
||
"title": "打开 PBR 练习工程",
|
||
"text": "打开 studio.blend,等状态栏的对象统计变成 6,说明练习场景已就位。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "打开 .blend"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "text",
|
||
"target": {
|
||
"testid": "scene-stats"
|
||
},
|
||
"matches": "Objects 6",
|
||
"label": "练习工程里有 6 个对象"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "openScene",
|
||
"url": "/tutorial/pbr/studio.blend",
|
||
"fileName": "studio.blend"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch23-s2",
|
||
"title": "点击「渲染 PBR」",
|
||
"text": "渲染面板在浏览器里执行 PBR 渲染,完成后结果区出现一张图片。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "渲染 PBR"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "text",
|
||
"target": {
|
||
"css": ".pbr-render-panel"
|
||
},
|
||
"matches": "渲染中|下载 PNG|Web PBR render result",
|
||
"label": "渲染任务已启动并出图"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "渲染 PBR"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch23-s3",
|
||
"title": "结果与下载入口",
|
||
"text": "渲染完成后,结果出现在面板下方,并带「下载 PNG」;同一工程的历史出图保存在 OPFS,可在渲染记录里翻看。",
|
||
"target": {
|
||
"css": ".pbr-render-result"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"css": ".pbr-render-panel"
|
||
},
|
||
"label": "渲染面板仍在当前工作区"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|