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.