Files
workinf_Blender_Wasm/docs/status/WEB-ENVIRONMENT-STUDIO-WORLDS-20261122.md
mes123456 63db6caf1f
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): studio worlds, camera-view/offscreen environment parity, material and undo coverage
Environment lighting:
- ship all eight desktop studiolights/world datasets (WBENV1 float32) and a
  shared loader used by both the main viewport and the offscreen worker
- add the N-panel "studio 环境" selector
- rotate the world background together with the environment
  (backgroundRotation/backgroundIntensity), so camera view and offscreen
  renders match the desktop Mapping-node behaviour

Verification (Chromium, OPFS, NOT_CLAIMED):
- environment lighting + 8 world pixel identity
- camera-view rotation correspondence (camera matrices, 207 samples)
- offscreen vs on-screen background parity after hiding geometry (1305 samples)
- metals case extended with material-field OPFS roundtrip
- material Principled edits and rename undo/redo
- eight studio worlds: pairwise frame differences + luminance rank correlation
- undo history depth capped at 64 steps and undo across OPFS save/reopen

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:27:47 +08:00

2.5 KiB
Raw Blame History

WEB-ENVIRONMENT-STUDIO-WORLDS-20261122 status

  • case: WEB-ENVIRONMENT-STUDIO-WORLDS-20261122(8 个桌面 studio 世界对 Material Preview 的实际光照对照)
  • 类型:用户案例补缺(此前如实记录的剩余缺口:7 个非默认 studio 世界的目视光照对照);不是队列任务,未改动 docs/EXECUTION_QUEUE.md 与 nextTask
  • 改动文件(当前哈希):
    • web/tests/e2e/wbv2-studio-worlds-lighting-production.spec.ts(c10f795b…f92e4618,新增)
    • 产品路径未改:web/app/public/lights/*(桌面 studiolights/world/*.exr 的精确 float32 数据集)、N 面板「studio 环境」、three-adapter/studio-environment.ts、viewport.ts 的 setPreviewStudioLight
  • 流程(全部经产品入口,fixture tests/files/web/basic_scene.blend,Material Preview):
    1. 逐一选择 8 个 studio 世界(city/courtyard/forest/interior/night/studio/sunrise/sunset);
    2. 每个世界等 __webStudioEnvironment.pixelsSha256 与该数据集 manifest 全等、data-studio-light 同步后,抓取视口画面并存为 studio-<name>.png;
    3. 计算数据集自身的平均线性亮度(直接解析 WBENV1 二进制)与画布中心区渲染亮度(Rec.709 加权)。
  • 结果:1 passed (56.1s)
    • 8 个世界的渲染帧两两不同:最弱一对是 city/forest,中心区变化率仍为 0.2553(阈值 0.05);
    • 数据集平均亮度与渲染亮度的 Spearman 秩相关 0.976(阈值 0.6)——画面亮度确实由所选数据集驱动,而不是固定的 studio 灯;
    • 配对 sanity:night 数据集亮度 0.1156 < studio 0.5476,渲染亮度 137.97 < 150.75,方向一致;
    • 证据:tests/golden/WEB-ENVIRONMENT-STUDIO-WORLDS-20261122/studio-<name>.png(8 张,供目视对照)+ studio-worlds-lighting.json(每世界数据集亮度、渲染亮度、像素哈希、两两差异矩阵)。
  • 目视对照说明:8 张截图覆盖全部世界(含 7 个非默认);night 明显更暗、city/interior/sunrise/sunset 的反射亮斑方向与色温各异,与桌面 studiolights/world 各 EXR 内容一致。
  • 未验证 / 剩余缺口:
    • 与桌面渲染的同机逐像素渲染对照(当前是以数据集像素身份 + 秩相关 + 截图目视构成的证据链);
    • World 强度/旋转与 studio 世界的组合行为未在本用例覆盖(旋转见 WEB-ENVIRONMENT-CAMERA-VIEW-20261122)。
  • 验收:NOT_CLAIMED。
  • 下一动作:如需继续,做桌面渲染同机对照或扩展世界强度组合。