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>
This commit is contained in:
41
web/app/public/lights/forest.json
Normal file
41
web/app/public/lights/forest.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "forest",
|
||||
"source": "blender-5.2.0/release/datafiles/studiolights/world/forest.exr",
|
||||
"sourceSha256": "bdf2298244affa0f85509380fd130ac6d4dfaa3c856df065998f7f4c1a93dc0d",
|
||||
"width": 1024,
|
||||
"height": 512,
|
||||
"format": "rgb-float32",
|
||||
"generator": "tools/web/import-studiolight-world.py",
|
||||
"decode": "oiiotool <source> --ch R,G,B -d float --compression none -o world.tiff",
|
||||
"pixelsSha256": "d38926cdc1c9c6b1c08d1737cb2795dfbfb32a23b7888d9da5e4c5956dfc730d",
|
||||
"samples": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1.90918,
|
||||
2.251953,
|
||||
3.273438
|
||||
],
|
||||
[
|
||||
256,
|
||||
64,
|
||||
0.31543,
|
||||
0.405029,
|
||||
0.697754
|
||||
],
|
||||
[
|
||||
512,
|
||||
256,
|
||||
0.0289,
|
||||
0.027664,
|
||||
0.009254
|
||||
],
|
||||
[
|
||||
1023,
|
||||
511,
|
||||
0.103699,
|
||||
0.060211,
|
||||
0.0336
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user