Generate Spatial Photos
Asked on 2025-09-09
1 search
To generate spatial photos, you can use the new features introduced in RealityKit. Specifically, you can create a spatial 3D image from a 2D image or photo and then generate a spatial scene using the Spatial 3D Images Generate method. This process allows you to present the image in various viewing modes, including Spatial 3D and Spatial 3D immersive modes. You don't need to generate the spatial scene in advance; it can be done when the user interacts with your app, similar to the Photos app on VisionOS.
For more detailed information on how to implement this, you can refer to the session What’s new in RealityKit at the chapter on immersive media.

What’s new in RealityKit
Unleash your creativity with new RealityKit features that can help you build rich 3D content for iOS, iPadOS, macOS, tvOS and visionOS. Learn how you can access ARKit data directly through RealityKit. Explore how you can interact with your 3D content more naturally using the object manipulation feature. Discover some new APIs for scene understanding, environment blending, instancing and much more, all using an interactive sample.

Build compelling spatial photo and video experiences
Learn how to adopt spatial photos and videos in your apps. Explore the different types of stereoscopic media and find out how to capture spatial videos in your iOS app on iPhone 15 Pro. Discover the various ways to detect and present spatial media, including the new QuickLook Preview Application API in visionOS. And take a deep dive into the metadata and stereo concepts that make a photo or video spatial.

Explore video experiences for visionOS
Learn about the different ways you can create and present immersive video experiences within your app. We’ll explore the diverse media types available in visionOS 26, including profiles for 180°, 360°, and wide FOV video; options for creating and playing Apple Immersive Video; and expanded capabilities for 2D, 3D, and spatial video. Discover which profiles are best for your app and its content.