49 lines
2.5 KiB
Markdown
49 lines
2.5 KiB
Markdown
# M11-02 Status
|
|
|
|
status: done
|
|
task: Supported Camera, Light and World fields through Main, history, persistence and viewport mapping
|
|
updated: 2026-08-16 America/New_York
|
|
|
|
## Scope
|
|
|
|
The bounded `setCameraProperties`, `setLightProperties` and `setWorldProperties`
|
|
commands now have one task-level acceptance path through Blender Main, monotonically
|
|
revisioned undo/redo, in-memory `.blend` save, a fresh Worker reopen and the shared
|
|
main-thread/Offscreen PBR mapping functions.
|
|
|
|
The golden covers Camera lens, both sensor dimensions and fit modes, shift, clip,
|
|
ortho scale and DOF fields; Light color, energy/exposure, temperature, shadow, spot
|
|
and area fields; and World color/exposure/Mist fields. Viewport assertions cover both
|
|
horizontal and vertical sensor fit, clip and film offset, temperature-adjusted linear
|
|
RGB, intensity, shadow, spot angle/blend, area dimensions and World background color.
|
|
Fields kept PARTIAL or BLOCKED by M11-01 remain outside visual parity claims.
|
|
|
|
## Evidence
|
|
|
|
- `WEB_TEST_PORT=5545 npm --prefix web run test:lighting-field-roundtrip`: native
|
|
Main roundtrip passed and Chromium 1/1 passed.
|
|
- Camera, Light and World edits each advanced revision; task-level Chromium coverage
|
|
undid and redid every domain, saved, opened the bytes in a fresh Worker and compared
|
|
the reopened values with float32-aware `1e-5` tolerance.
|
|
- The native rejection path kept an invalid `near >= far` edit out of Main. Existing
|
|
white-balance integrity protection remained blocked after Blender serialization
|
|
rather than publishing invalid Scene color-management values.
|
|
- `npm --prefix web test`: 156/156 passed. Typecheck, lint, production build
|
|
(74 modules) and `git diff --check` passed.
|
|
|
|
## Implementation Hashes
|
|
|
|
- Golden: `ac6d84c0099b12cf6c96df2dbbb4281e3308c36f0bda49c92d7548e58ccc286e`
|
|
- Chromium spec: `9f75c7b88c70ab42c6c418b0056dcffcab3b8851003258891902db9615fcfe67`
|
|
- Native roundtrip checker: `023e3e43bc37fb38c3063d33c20e59043308013874fce20bc3a49d508b850e6c`
|
|
- Web command protocol: `48f2290ead27aeda1f17b279f01ae278776b50b4cb4de065d94b0e1d44717dbb`
|
|
- Blender Main writer: `510b4017c540fc4d1ac135c1ce7251cc5d7143f31d8604e1d545de36716da9a2`
|
|
- Shared PBR adapter: `78352e46c62d0c8d9bf25408ea1d725a843a42068ea3eb304bb3d78f8d612e0b`
|
|
- Package: `8074d80265a1378fb3f284206c343ff1e388a5ea43e57946a1d4092076d72ea8`
|
|
|
|
## Rollback
|
|
|
|
Remove the M11-02 golden/spec/package command and this status file, restore M11 to
|
|
1/14, and keep the underlying N-019 bounded writers and viewport mappings at their
|
|
previous independently tested status.
|