Display usdz as 2D Image in window view with visionOS

I have some usdz files saved and I would like to make thumbnails for them in 2D of course. I was checking Creating Quick Look Thumbnails to Preview Files in Your App but it says Augmented reality objects using the USDZ file format (iOS and iPadOS only) I would like to have the same functionality in my visionOS app. How can I do that?

I thought about using some api to convert 3d asset into 2d asset, but it would be better If I could do that inside the Swift environment.

Basically I wanna do Image(uiImage: "my_usdz_file")

Have you looked at Model3D? You can use Model3D to embed a 3D model from a USD file or Reality file in your SwiftUI app.

Let me know if that helps!

Michael

Display usdz as 2D Image in window view with visionOS
 
 
Q