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>
2.5 KiB
2.5 KiB
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):- 逐一选择 8 个 studio 世界(city/courtyard/forest/interior/night/studio/sunrise/sunset);
- 每个世界等
__webStudioEnvironment.pixelsSha256与该数据集 manifest 全等、data-studio-light同步后,抓取视口画面并存为studio-<name>.png; - 计算数据集自身的平均线性亮度(直接解析
WBENV1二进制)与画布中心区渲染亮度(Rec.709 加权)。
- 结果:
1 passed (56.1s)- 8 个世界的渲染帧两两不同:最弱一对是
city/forest,中心区变化率仍为 0.2553(阈值 0.05); - 数据集平均亮度与渲染亮度的 Spearman 秩相关 0.976(阈值 0.6)——画面亮度确实由所选数据集驱动,而不是固定的 studio 灯;
- 配对 sanity:
night数据集亮度 0.1156 <studio0.5476,渲染亮度 137.97 < 150.75,方向一致; - 证据:
tests/golden/WEB-ENVIRONMENT-STUDIO-WORLDS-20261122/studio-<name>.png(8 张,供目视对照)+studio-worlds-lighting.json(每世界数据集亮度、渲染亮度、像素哈希、两两差异矩阵)。
- 8 个世界的渲染帧两两不同:最弱一对是
- 目视对照说明:8 张截图覆盖全部世界(含 7 个非默认);
night明显更暗、city/interior/sunrise/sunset的反射亮斑方向与色温各异,与桌面studiolights/world各 EXR 内容一致。 - 未验证 / 剩余缺口:
- 与桌面渲染的同机逐像素渲染对照(当前是以数据集像素身份 + 秩相关 + 截图目视构成的证据链);
- World 强度/旋转与 studio 世界的组合行为未在本用例覆盖(旋转见
WEB-ENVIRONMENT-CAMERA-VIEW-20261122)。
- 验收:
NOT_CLAIMED。 - 下一动作:如需继续,做桌面渲染同机对照或扩展世界强度组合。