# SceneView 4.1.x

[All versions](../changelog.md) · [Full release notes on GitHub](https://github.com/sceneview/sceneview/blob/main/CHANGELOG.md)

Highlights of each release. The full notes on GitHub list every change and pull request.

## v4.1.2 — Demo app recovery: Filament.filamat mismatch fixed + AR tab no longer crashes + Samples tab redesign (2026-05-13)

### Fixed

- Recompiled the two newer `opaque_unlit_colored.filamat` + `transparent_unlit_colored.filamat` with `matc 1.70.2` from the upstream `v1.70.2` release tarball so they match the runtime.
- Verified on a Pixel_7a `-gpu host` emulator: 25 / 25 non-AR demos now pass (was 14 / 25 in the v4.1.0 audit).

### Fixed

- New launcher screen gates the live `ARSceneView` behind an explicit "Start AR Camera" CTA, with an `ArCoreApk.checkAvailability` status pill and a 2×3 grid of the six headline AR demos visible immediately.
- `runCatching` around `checkAvailability` so it can't silently die on OEMs without Play Services.
- Top-right exit button on the live AR view detaches every anchor and flips back to the launcher — no more no-affordance dead end.
- `sessionStarted` is now `rememberSaveable` so process death doesn't dump users back to the launcher needlessly.

### Changed

- Dark-mode accent palette (`CD` → `#B39DDB`, etc.) keeps the tinted icon tiles legible on M3 dark `surfaceContainer` instead of burning at >9:1 contrast.
- `LargeTopAppBar` scroll behaviour wraps `rememberTopAppBarState` so the collapse offset survives recomposition + rotation.
- Grid item keys namespaced `"demo-${id}"` to guard against id collisions.

### Changed

- Dropped the dev-flavored "Set SKETCHFAB_API_KEY (env or local.properties)" placeholder that leaked to end-user Play Store builds when the API key was missing.
- `SampleCard` rebuilt with the same accent-tinted icon-tile layout as the Samples grid so both tabs feel like one product.
- `FeedSection` self-hides when its Sketchfab feed is empty and not loading — no more three "Nothing here yet." headers stacked under each other in the offline path.
- Dropped the red "Couldn't reach Sketchfab" banner.

### Other

- Local Sketchfab API key support in `local.properties` for developer builds (CI is unchanged; release builds still source the key from the GitHub Secret).

## v4.1.1 — Filament 1.71.0 /.filamat ABI realignment hotfix (2026-05-12)

### Fixed

- v4.0.8, v4.0.9, and v4.1.0 all shipped this broken pair, but only v4.1.0 was caught (Lighting / Geometry / Animation / MovableLight / MultiModel were all new or refactored demos in the v4.1.0 sprint, exposing the regression).

### Tested

- ✅ Lighting (was CRASH) — directional light + helmet renders correctly.
- ✅ Geometry (was CRASH) — primitives render with PBR material.
- ✅ Animation (was CRASH) — soldier walks in cinematic studio HDR with shadows.
- ✅ MovableLight (was CRASH) — F40 model with marker sphere + intensity slider.
- ✅ MultiModel (was CRASH) — 4-model tabletop tableau with studio HDR.
- ✅ ModelViewer (was alive) — helmet still renders.

## v4.1.0 — iOS V1 honest + Android rendering uplift + Sketchfab streaming + Claude Code plugin marketplace (2026-05-11)

### ⚠️ BREAKING

- Main directional light intensity. : `100_000` → `10_000` lux (×10 drop).
- Shadows. : now on by default (`setShadowingEnabled(true)`).
- Fill light. : new `fillLightNode: LightNode?` param on `SceneView`, defaulted to `rememberFillLightNode(engine)`.
- SSAO + bloom + Filmic tone mapper. : now on by default on `View`.

### Fixed

- ModelViewerDemo. : helmet was pinned to the lower half of the viewport with a big empty band at the top. `rememberHeroOrbitCameraManipulator(yHeight = 0.2f → 0f)`.
- CameraControlsDemo. : helmet rendered at ~10% of the viewport at the default home camera distance. `homePosition = Position(0, 0, 4) → (0, 0, 1.5)`.
- PhysicsDemo. : first frame showed a single ball on an empty floor — the demo's hook ("colourful rain on the floor") was invisible until the user pressed Drop.
- ARStreetscapeDemo. : the permission gate showed only a "Denied" error message with no escape — Back was the only way out.
- DynamicSkyDemo. : rendered as "fully black at noon" because `DynamicSkyNode` positions a directional sun but doesn't paint a sky dome, and the default neutral IBL had no skybox.

### Added

- MovableLightDemo.
- OrbitalARDemo. — solar-system-style AR scene: eight distinct bundled models orbit around the user at radius 1.5 m, each with its own orbital speed (0.05 → 0.30 rad/s, 21 s to 125 s for a full lap) and a slow local spin.

### Added

- Wow-factor hero state on the Sketchfab download screen.

### Fixed

- First-paint black screen.

### Added

- rememberFillLightNode(engine). ([`ad81c52a`](https://github.com/sceneview/sceneview/commit/ad81c52a)) — composable factory for a secondary "fill" directional light, mirroring iOS RealityKit's default two-light setup.

### Added

- Security note. — V1 scaffold bakes the key into the APK / IPA at build time.

### Changed

- Filmic tone mapper kept. ([`7858051f`](https://github.com/sceneview/sceneview/commit/7858051f)) — ACES was tested and produces a "cool Hollywood" grade that shifts PBR hero shots away from ground truth.

### Changed

- CameraNode.depthOfField(focusDistance:aperture:).
- CameraNode.exposure(_:). ([`141eda05`](https://github.com/sceneview/sceneview/commit/141eda05)) — same treatment.

### Added

- DemoStatus enum. + `ComingSoonScreen` ([`567d6476`](https://github.com/sceneview/sceneview/commit/567d6476)) — Android has 37 sample demos, iOS has 16.
- 21 placeholder items added.

### Added

- Marketplace clone ~256 KB. (vs 1.4 GB if it had lived in the SDK monorepo — split-to-dedicated-repo decision after a multi-agent review flagged the monorepo clone as a ship-blocker).
- Plugin manifest references its npm-published MCP via npx.
