feat(web): studio worlds, camera-view/offscreen environment parity, material and undo coverage
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

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:
mes123456
2026-11-23 09:27:47 +08:00
parent f96654b158
commit 63db6caf1f
325 changed files with 20004 additions and 762 deletions

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "city",
"source": "blender-5.2.0/release/datafiles/studiolights/world/city.exr",
"sourceSha256": "9e42abcd2fa3231e5c2485ca6dd64800534d157b7194ab7fe9cc3bf5a56d0256",
"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": "46291847907072c90cb150fd12a6e0d057679aa23567c4ca3071cf1caa23be7a",
"samples": [
[
0,
0,
1.313477,
1.413086,
1.681641
],
[
256,
64,
1.099609,
1.192383,
1.447266
],
[
512,
256,
0.090576,
0.1026,
0.113586
],
[
1023,
511,
0.740723,
0.609863,
0.244629
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "courtyard",
"source": "blender-5.2.0/release/datafiles/studiolights/world/courtyard.exr",
"sourceSha256": "6690b47725965531559380121e6878373eb599655e35fefd109a4bd0911366f3",
"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": "86ab3cb33c0c6e0e5bf7d47e86319828b3aea5802ccaf6ad60b4cfa217a2ef4b",
"samples": [
[
0,
0,
0.02301,
0.013107,
0.007713
],
[
256,
64,
0.029846,
0.016327,
0.007702
],
[
512,
256,
0.086304,
0.056458,
0.042999
],
[
1023,
511,
0.059753,
0.039001,
0.028168
]
]
}

Binary file not shown.

View 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
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "interior",
"source": "blender-5.2.0/release/datafiles/studiolights/world/interior.exr",
"sourceSha256": "e945ff5c1ddd7a3aaf05e9fb5c3bc9cb93c5518414febd44ed2c394e013f0cbd",
"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": "6324c0b2d39b442b1f88a6aa18582f3df866415a0582005ea4c82d2c8799d4da",
"samples": [
[
0,
0,
0.454346,
0.371094,
0.317139
],
[
256,
64,
0.433105,
0.337402,
0.281006
],
[
512,
256,
0.135498,
0.097229,
0.062195
],
[
1023,
511,
0.245239,
0.161499,
0.077515
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "night",
"source": "blender-5.2.0/release/datafiles/studiolights/world/night.exr",
"sourceSha256": "17480af5547465d160f7307c92585cf30820ca563f87f066395decbad8ac32a4",
"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": "dc706402c408a000ec9e4cde14a518bc96003dfb95fd582b6e76b2d4a4e15365",
"samples": [
[
0,
0,
0.054779,
0.05423,
0.064575
],
[
256,
64,
0.06604,
0.067139,
0.069763
],
[
512,
256,
0.007553,
0.00284,
0.005325
],
[
1023,
511,
0.010002,
0.007038,
0.005711
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "studio",
"source": "blender-5.2.0/release/datafiles/studiolights/world/studio.exr",
"sourceSha256": "c36c7fd390b2cdf8693360cf3662cb1d710c95fa799d9f822f42997167839b56",
"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": "d5d9fdc187d11e36e21b8d22fae4cf069623a063a9604873b1183ff47897ac23",
"samples": [
[
0,
0,
0.002182,
0.002695,
0.003286
],
[
256,
64,
0.001108,
0.001356,
0.001731
],
[
512,
256,
0.022156,
0.0271,
0.018173
],
[
1023,
511,
0.199341,
0.245728,
0.255859
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "sunrise",
"source": "blender-5.2.0/release/datafiles/studiolights/world/sunrise.exr",
"sourceSha256": "6a1180126e4db7d01f134c5430ea43c1b263ab1a12faf58a444d9ce9c03f3a84",
"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": "979082f067e69227f06bc7d56a0ba76ff1ea4c33553b42c64355bbd9749ac75a",
"samples": [
[
0,
0,
0.062805,
0.120605,
0.243164
],
[
256,
64,
0.05249,
0.113464,
0.253174
],
[
512,
256,
0.142212,
0.10968,
0.063477
],
[
1023,
511,
0.072693,
0.072266,
0.001703
]
]
}

Binary file not shown.

View File

@@ -0,0 +1,41 @@
{
"name": "sunset",
"source": "blender-5.2.0/release/datafiles/studiolights/world/sunset.exr",
"sourceSha256": "3bcafdda4f2d7b9759cc1d73004d34d721a274c29b1a0947be88a602dbac426b",
"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": "e5d301467491b5a347b6adf16311ebebff341766a503084d4769298911ef1eef",
"samples": [
[
0,
0,
0.234863,
0.395752,
0.737305
],
[
256,
64,
0.213623,
0.389404,
0.772461
],
[
512,
256,
1.362305,
0.964844,
0.804199
],
[
1023,
511,
0.060455,
0.060791,
0.066284
]
]
}