Codelabs¶
Step-by-step guides for building 3D and AR apps with SceneView and Jetpack Compose.
Getting started¶
-
3D with Compose
Build your first 3D scene with a rotating glTF model, HDR lighting, and orbit camera gestures.
~25 minutes · Beginner
-
AR with Compose
Place 3D objects in the real world using ARCore plane detection and anchor tracking.
~20 minutes · Beginner
-
3D with SwiftUI
Build a 3D model viewer on iOS/macOS using SceneViewSwift, RealityKit, and orbit camera.
~15 minutes · Beginner
-
AR with SwiftUI
Detect planes with ARKit and tap to place 3D objects in the real world on iOS.
~15 minutes · Beginner
Advanced guides¶
-
Physics simulation
Bouncing spheres with gravity, floor collisions, and configurable restitution.
~15 minutes · Intermediate
-
Dynamic sky & fog
Time-of-day sun cycle with atmospheric fog for moody outdoor scenes.
~15 minutes · Intermediate
-
Reflection probes
Zone-based IBL overrides for realistic metallic and glossy materials.
~15 minutes · Intermediate
-
Lines, paths & text
3D line drawings, polylines, and camera-facing text labels for annotation.
~15 minutes · Intermediate