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

46 lines
1.9 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": "ch07",
"number": 7,
"part": "part-b",
"title": "3D 视口:导航、选择、变换与相机视图",
"level": "入门",
"workspace": "Layout",
"minutes": 7,
"summary": "用视口自带的按钮完成显示全部、透视/正交切换和相机视图,先把「看得见」这件事做对。",
"objectives": ["把场景显示全部", "切换透视与正交", "进入相机视图"],
"setup": { "workspace": "Layout" },
"steps": [
{
"id": "ch07-s1",
"title": "显示全部对象",
"text": "点击视口上的「显示全部」(Home),相机会框住整个场景。",
"target": { "role": "button", "name": "显示全部" },
"checks": [
{ "kind": "exists", "target": { "css": ".viewport-view-label" }, "label": "视口显示当前视图名" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "显示全部" } }]
},
{
"id": "ch07-s2",
"title": "切换透视与正交",
"text": "「切换透视正交」(小键盘 5)在透视投影和正交投影之间切换,建模时常用正交看比例。",
"target": { "role": "button", "name": "切换透视正交" },
"checks": [
{ "kind": "exists", "target": { "role": "button", "name": "切换透视正交" }, "label": "透视/正交切换可用" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "切换透视正交" } }]
},
{
"id": "ch07-s3",
"title": "进入相机视图",
"text": "点击「相机视图」(小键盘 0),从场景相机看构图;再点一次返回自由视图。",
"target": { "role": "button", "name": "相机视图" },
"checks": [
{ "kind": "exists", "target": { "testid": "object-camera-state" }, "label": "相机状态可读" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "相机视图" } }]
}
]
}