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 — newarDepthOfField(view, camera, options)composable +ARDepthOfFieldOptions(focusDepth, blurStrength, enabled)data class wire Filament's native DoF post-pass to the same z-buffer thatARCameraStream's depth-occlusion material already writes (gl_FragDepthincamera_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 viaFrame.cameraImage: Image?— a 1-line wrapper aroundacquireCameraImagereturningnullonNotYetAvailableExceptionand documenting the caller-owneduse { }lifecycle.- Jetpack XR foundation — runtime availability check + integration design.
- arsceneview: new
SceneUnderstandingdata class +ARSceneView(sceneUnderstanding =...)parameter that groups four scattered AR rendering flags (occlusion,lighting,physics,planeVisualization) into one discoverable knob — mirrors RealityKit'sARView.environment.sceneUnderstanding.optionsfor cross-platform parity. arsceneview: rounded out the ARCore recording/playback surface.
Changed¶
- AR perf minor polish.
Fixed¶
build.gradle: document that thewebpack <5.107.0Yarn resolution pin (added in for:sceneview-web:jsBrowserProductionWebpack) also covers:sceneview-web:jsTestand:sceneview-web:jsBrowserDistribution.- arsceneview:
DepthMeshNode.computeAabbnow clamps every half-extent belowDEGENERATE_AABB_HALF_EXTENT_Mto the degenerate cube, not just the all-empty-positions case. ARDepthColliderDemo: collapsed the per-ballapply.onFramefan-out into a single Scene-levelonSessionUpdatedcallback —publishCollisionRegionnow runs ONCE per AR frame (was N times for N balls → ~300 transientFloatArray/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: TightenARDepthOfFieldKDoc with the upstream Filament verification (colorPassOutput.depthis the buffergl_FragDepthwrites 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 theclip.z = 0.9999fvertex hack, MSAA resolve filtering on the depth attachment, andcocParamscalibration 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 theARSessionFailureKDoc +llms.txtexamples to use a fully exhaustivewhen(all 25 subtypes +Other) and removed theelse -> showGenericRetryCtafallback 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-visualizationAR 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-cloudAR demo that visualizes ARCore'sConfig.DepthMode.RAW_DEPTH_ONLYoutput as a screen-space point cloud. arsceneview: surfaced ARCore v1.45+ Flash Mode as a newflashMode: Config.FlashModeparameter onARSceneView(defaultOFF).- 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 ofHitResultNodefor 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'sTrackingStateHelper.
Fixed¶
- arsceneview: per-frame
IndirectLightno longer leaks native memory across long AR sessions with intermittent light estimation. - arsceneview: clarify the depth
ByteBufferlifecycle invariant inARCameraStream— the buffer borrowed from ARCore's depthImageis 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:
DepthColliderclass-level KDoc example now passes the collider throughfloorProvider = colliderinstead of the non-existentdepthCollider = colliderparameter. - sceneview: deprecated mass-overload
PhysicsNode's@Deprecated(ReplaceWith(...))now preserves the newly-addedfloorProviderparameter. docs: fixed brokenTerrainAnchorNode.resolveandRooftopAnchorNode.resolveexamples inllms.txt— both usedearth = earth, but the real signature takessession: Session(the function readssession.earthinternally).- arsceneview, sceneview: kill per-frame allocation hot paths in the AR render loop.
- arsceneview: defensive
onDisposeordering onARScene's per-frameIndirectLightrebuild — clearscene.indirectLight = nullBEFOREengine.safeDestroyIndirectLight(...)so a lateonARFramequeued on the GL thread cannot dereference a freed native handle.
Docs¶
arsceneview: document ARCore 1.54's Geospatial Depth inllms.txtand onStreetscapeGeometryNode.- llms.txt:
DepthHitResultNodesection andFrame.hitTestDepth@returnKDoc clarification documenting the single-vs-list asymmetry vsFrame.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 aDepthHitResult(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.disposedetaches its DOM listeners, andSceneView.destroyreleases leakedLightManagercomponents. - PhysicsDemo: each falling body now gets its own
ModelInstancespawned from a sharedModel, 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.