|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 3.2.0 — New node types: Physics, Sky, Fog, Reflections, Lines, Labels |
| 4 | + |
| 5 | +### New SDK nodes |
| 6 | +- **`PhysicsNode`** — rigid body simulation; gravity, floor collision, sleep detection; physics-demo sample (tap-to-throw) |
| 7 | +- **`DynamicSkyNode`** — time-of-day sun light (direction, colour, intensity) driven by `timeOfDay: Float`; turbidity controls sunrise/sunset warmth |
| 8 | +- **`FogNode`** — reactive `View.fogOptions` wrapper (density, height falloff, colour); zero-cost when disabled |
| 9 | +- **`ReflectionProbeNode`** — overrides scene IBL with a baked cubemap; global or local zone mode (activates within `radius` metres) |
| 10 | +- **`LineNode`** / **`PathNode`** — Filament `LINES` primitive; live GPU buffer updates via `updateGeometry()` |
| 11 | +- **`BillboardNode`** — camera-facing quad via `onFrame` + `lookAt` |
| 12 | +- **`TextNode`** — extends `BillboardNode`; Canvas-rendered text bitmap; reactive `text`, `fontSize`, `textColor`, `backgroundColor` |
| 13 | + |
| 14 | +### New SceneScope DSL composables |
| 15 | +`PhysicsNode {}`, `DynamicSkyNode {}`, `FogNode {}`, `ReflectionProbeNode {}`, `LineNode {}`, `PathNode {}`, `BillboardNode {}`, `TextNode {}` |
| 16 | + |
| 17 | +### New samples |
| 18 | +| Sample | Demonstrates | |
| 19 | +|---|---| |
| 20 | +| `samples/physics-demo` | Tap-to-throw balls, floor collision, sleep | |
| 21 | +| `samples/post-processing` | Bloom, DoF, SSAO, Fog toggles | |
| 22 | +| `samples/dynamic-sky` | Time-of-day + turbidity + fog controls | |
| 23 | +| `samples/line-path` | 3-axis gizmo, spiral, animated sine-wave PathNode | |
| 24 | +| `samples/text-labels` | Camera-facing labels on 3D spheres; tap to cycle | |
| 25 | +| `samples/reflection-probe` | Metallic sphere with IBL override | |
| 26 | + |
| 27 | +### Sample improvements |
| 28 | +- `model-viewer`: animation playback controls (play/pause, next, name label) |
| 29 | +- `ar-model-viewer`: persistent plane mesh; gesture docs (`isEditable = true` handles pinch-scale + two-finger rotate) |
| 30 | + |
| 31 | +### Ecosystem |
| 32 | +- **MCP `get_node_reference` tool** — `@sceneview/mcp` server parses `llms.txt`; exposes `get_node_reference { nodeType }` and `list_node_types` for AI assistant integration |
| 33 | + |
| 34 | +### Dependencies |
| 35 | +- Filament 1.56.0 → **1.70.0** |
| 36 | +- Kotlin 2.1.21 → **2.3.20** |
| 37 | + |
| 38 | +--- |
| 39 | + |
3 | 40 | ## 3.1.2 — Sample polish, CI fixes, maintenance tooling |
4 | 41 |
|
5 | 42 | ### Fixes |
|
0 commit comments