Files
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

88 lines
3.2 KiB
Plaintext

<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor><author>WebBlender fixtures</author></contributor>
<created>2026-11-21T00:00:00Z</created>
<modified>2026-11-21T00:00:00Z</modified>
<unit meter="1" name="meter"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_geometries>
<geometry id="Left" name="Left">
<mesh>
<source id="Left-positions">
<float_array id="Left-positions-array" count="9">-1 0 0 0 0 0 0 1 0</float_array>
<technique_common>
<accessor source="#Left-positions-array" count="3" stride="3">
<param name="X" type="float"/><param name="Y" type="float"/><param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="Left-vertices">
<input semantic="POSITION" source="#Left-positions"/>
</vertices>
<triangles count="1">
<input semantic="VERTEX" source="#Left-vertices" offset="0"/>
<p>0 1 2</p>
</triangles>
</mesh>
</geometry>
<geometry id="Right" name="Right">
<mesh>
<source id="Right-positions">
<float_array id="Right-positions-array" count="9">0 0 0 1 0 0 0 1 0</float_array>
<technique_common>
<accessor source="#Right-positions-array" count="3" stride="3">
<param name="X" type="float"/><param name="Y" type="float"/><param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="Right-vertices">
<input semantic="POSITION" source="#Right-positions"/>
</vertices>
<triangles count="1">
<input semantic="VERTEX" source="#Right-vertices" offset="0"/>
<p>0 1 2</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_effects>
<effect id="FxRed">
<profile_COMMON>
<technique sid="common">
<lambert><diffuse><color>1 0 0 1</color></diffuse></lambert>
</technique>
</profile_COMMON>
</effect>
<effect id="FxGreen">
<profile_COMMON>
<technique sid="common">
<lambert><diffuse><color>0 1 0 1</color></diffuse></lambert>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_materials>
<material id="Red" name="Red">
<instance_effect url="#FxRed"/>
</material>
<material id="Green" name="Green">
<instance_effect url="#FxGreen"/>
</material>
</library_materials>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene">
<node id="Root" name="Root">
<instance_geometry url="#Left"><bind_material><technique_common>
<instance_material symbol="MatRed" target="#Red"/>
</technique_common></bind_material></instance_geometry>
<instance_geometry url="#Right"><bind_material><technique_common>
<instance_material symbol="MatGreen" target="#Green"/>
</technique_common></bind_material></instance_geometry>
</node>
</visual_scene>
</library_visual_scenes>
<scene><instance_visual_scene url="#Scene"/></scene>
</COLLADA>