Skip to content

SceneView 4.11.x

All versions · Full release notes on GitHub

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

v4.11.2 — 2026-05-21

Added

  • arsceneview: AR depth-of-field driven by ARCore environment depth — new arDepthOfField(view, camera, options) composable + ARDepthOfFieldOptions(focusDepth, blurStrength, enabled) data class wire Filament's native DoF post-pass to the same z-buffer that ARCameraStream's depth-occlusion material already writes (gl_FragDepth in camera_stream_depth.mat), so tapping a near object throws the far background out of focus and vice-versa — both the virtual scene and the camera background blur from the same focus point.
  • arsceneview: surfaced ARCore CPU camera image access via Frame.cameraImage: Image? — a 1-line wrapper around acquireCameraImage returning null on NotYetAvailableException and documenting the caller-owned use { } lifecycle.
  • Jetpack XR foundation — runtime availability check + integration design.
  • arsceneview: new SceneUnderstanding data class + ARSceneView(sceneUnderstanding =...) parameter that groups four scattered AR rendering flags (occlusion, lighting, physics, planeVisualization) into one discoverable knob — mirrors RealityKit's ARView.environment.sceneUnderstanding.options for cross-platform parity.
  • arsceneview: rounded out the ARCore recording/playback surface.

Changed

  • AR perf minor polish.

Fixed

  • build.gradle: document that the webpack <5.107.0 Yarn resolution pin (added in for :sceneview-web:jsBrowserProductionWebpack) also covers :sceneview-web:jsTest and :sceneview-web:jsBrowserDistribution.
  • arsceneview: DepthMeshNode.computeAabb now clamps every half-extent below DEGENERATE_AABB_HALF_EXTENT_M to the degenerate cube, not just the all-empty-positions case.
  • ARDepthColliderDemo: collapsed the per-ball apply.onFrame fan-out into a single Scene-level onSessionUpdated callback — publishCollisionRegion now runs ONCE per AR frame (was N times for N balls → ~300 transient FloatArray/sec at 5 balls × 60 fps).
  • docs, scripts: plug version-bump tooling holes for derived doc surfaces.
  • HitResultNode defaults to plane-only.
  • Strip lying "implemented" badges from the Flutter demo.
  • sceneview-web SCENEVIEW_VERSION constant lagged 2 releases (4.9.0 while shipping 4.11.1).

Docs

  • arsceneview: Tighten ARDepthOfField KDoc with the upstream Filament verification (colorPassOutput.depth is the buffer gl_FragDepth writes to, so DoF post-pass + camera-stream depth occlusion compose without surprises) and surface three device-QA caveats that need eyeballing on real hardware: reverse-Z + early-Z culling around the clip.z = 0.9999f vertex hack, MSAA resolve filtering on the depth attachment, and cocParams calibration against the AR camera node's projection.
  • README.md, llms.txt, and the docs landing page now explicitly position SceneView as the Compose-native successor to Google's archived Sceneform — ARCore for perception, Filament for rendering, Jetpack Compose for the API — so developers and AI assistants searching for a Sceneform replacement find SceneView.
  • arsceneview: rewrote the ARSessionFailure KDoc + llms.txt examples to use a fully exhaustive when (all 25 subtypes + Other) and removed the else -> showGenericRetryCta fallback that silently defeated the sealed-class compile-time-safety contract introduced by.

v4.11.1 — 2026-05-20

Added

  • Android demo: added an ar-depth-visualization AR demo that renders the ARCore environment depth image as a false-color overlay (warm = near, cool = far), with a slider that blends the live camera feed (0) and the colorized depth map (1).
  • Android demo: added an ar-raw-depth-point-cloud AR demo that visualizes ARCore's Config.DepthMode.RAW_DEPTH_ONLY output as a screen-space point cloud.
  • arsceneview: surfaced ARCore v1.45+ Flash Mode as a new flashMode: Config.FlashMode parameter on ARSceneView (default OFF).
  • DepthMeshNode — reify ARCore environment depth as a renderable Filament mesh.
  • Async Future cancellation across CloudAnchor / Terrain / Rooftop.
  • ARCore extension one-liners.
  • arsceneview: new ARSceneScope.DepthHitResultNode(xPx, yPx, content) composable — Compose-idiomatic mirror of HitResultNode for placement against the ARCore depth image.

Changed

  • AR demos now surface ARCore tracking-failure reasons via a single trackingFailureMessage(reason) helper ported from arcore-android-sdk's TrackingStateHelper.

Fixed

  • arsceneview: per-frame IndirectLight no longer leaks native memory across long AR sessions with intermittent light estimation.
  • arsceneview: clarify the depth ByteBuffer lifecycle invariant in ARCameraStream — the buffer borrowed from ARCore's depth Image is now documented as intentionally NOT cloned, with the upload-completed callback as the load-bearing synchronisation point that closes the ARCore image exactly once.
  • Cache the identity tangent buffer on AugmentedFaceNode.
  • arsceneview: closed a use-after-free window in DepthMeshNode.rebuildBuffersIfNeeded.
  • arsceneview: DepthCollider class-level KDoc example now passes the collider through floorProvider = collider instead of the non-existent depthCollider = collider parameter.
  • sceneview: deprecated mass-overload PhysicsNode's @Deprecated(ReplaceWith(...)) now preserves the newly-added floorProvider parameter.
  • docs: fixed broken TerrainAnchorNode.resolve and RooftopAnchorNode.resolve examples in llms.txt — both used earth = earth, but the real signature takes session: Session (the function reads session.earth internally).
  • arsceneview, sceneview: kill per-frame allocation hot paths in the AR render loop.
  • arsceneview: defensive onDispose ordering on ARScene's per-frame IndirectLight rebuild — clear scene.indirectLight = null BEFORE engine.safeDestroyIndirectLight(...) so a late onARFrame queued on the GL thread cannot dereference a freed native handle.

Docs

  • arsceneview: document ARCore 1.54's Geospatial Depth in llms.txt and on StreetscapeGeometryNode.
  • llms.txt: DepthHitResultNode section and Frame.hitTestDepth @return KDoc clarification documenting the single-vs-list asymmetry vs Frame.hitTest (depth at one pixel is unique).

v4.11.0 — 2026-05-20

Added

  • Frame.hitTestDepth(xPx, yPx) raycasts the ARCore depth image and returns a DepthHitResult (world position, camera-facing surface normal, distance) — placement onto any real-world surface, not just detected planes, inspired by arcore-depth-lab's "Oriented Reticle".
  • New cinematic turntable camera: applyCinematicOrbit(cameraNode, timeSeconds) drives a slow, eased "hero shot" orbit around the content — long lens, gentle downward tilt and a soft vertical bob.
  • Remote files loaded over http(s) — glTF/GLB models, KTX environments, textures — are now cached on disk by the new FileCache.

Fixed

  • Samples cleanup: dropped the stale "Coming in v1.1" version label from the iOS demo's coming-soon placeholders (now a plain "Coming soon" badge), and documented that AR demos intentionally skip the 3D first-frame loading scrim.
  • Device QA runs no longer show cancelled when only the advisory android/ar emulator leg is flaky.
  • Web: glTF animations now play instead of freezing at t=0, OrbitCameraController.dispose detaches its DOM listeners, and SceneView.destroy releases leaked LightManager components.
  • PhysicsDemo: each falling body now gets its own ModelInstance spawned from a shared Model, so every streamed crash-test mesh renders instead of only one.
  • VideoDemo no longer auto-plays the video if the user tapped Pause before the player became ready — the prepared callback now honours the user's desired playback state.
  • Play Store deploy now self-heals a corrupt release AAB.

Tests

  • Android demo: wired the 12 live-only AR demos to honour DemoSettings.arPendingPlaybackFile.