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