USDZ https://developer.apple.com/forums/tags/usdz USDZ is a 3D file format that shows up as AR content on a website. USDZ with Blend Shapes Workflow Recommendations https://developer.apple.com/forums/thread/766484 Hi, since RealityKit 4 now supports Blend Shapes I was wondering if there are any workflow or tooling recommendations to bake/export them into a USDZ. Are Blender or Cinema4D capable to do that out of the box? Should we look into NVIDIA omniverse (https://docs.omniverse.nvidia.com/connect/latest/blender/manual.htm) So far this topic seems very sparsely documented and I would appreciate any hints. Thank you! Thu, 17 Oct 2024 15:24:52 GMT arthurfromberlin Quick Look viewer (3D/AR) breaking in-app https://developer.apple.com/forums/thread/766228 We have a native iOS app that supports the upload and display of USDZ files. It has been working great since beta (late 2022) and live launch (late 2023) until now. But recently we had reports from some users on Max model phones (14 + 15 Pro Max) at least. When they launch tap and launch a 3D file the Quick Look player is triggered. So far so good. But for affected users the controls along the top of the player - X (close) AR | Object (toggle) and share button - are moving too high up the phone screen and getting stuck (untappable) behind the phone's top status bar (time, camera bug, connectio... Tue, 15 Oct 2024 02:39:14 GMT mexcell USDZ Models from RealityKitContentBundle loosing textures (show all black) https://developer.apple.com/forums/thread/764822 In my VisionPro app, I'm facing a problem with loading USDZ models from a RealityKitBundle package, created using Reality Composer Pro. It was working fine until I added more models to the package. As I added more models with large textures in the project, the app started to show them with texturing problems. So, when I load the models from the RealityView using Entity(named:in), the mesh loads correctly, but all black, with no textures, as below: However, when I load the same USDZ directly from the main bundle, using ModelEntity(named:in), it loads fine. I know that large textures can caus... Thu, 26 Sep 2024 21:12:14 GMT giovanniR2U Failed to find and load USDZ from RealityKitContentBundle https://developer.apple.com/forums/thread/764690 I'm developing a VisionOS app and I'm trying to load a ModelEntity from a USDZ file which is inside my custom RealityKit package called R2UVisionOficial. But it keeps giving me an resourceNotFound error. import RealityKit import R2UVisionOficial import ARKit /* more code */ do { let newEntity: Entity //... // Loads entity from USDZ inside package newEntity = try await ModelEntity(named: "Salas", in: r2UVisionOficialBundle) //... return newEntity } catch { print("wtManager >>> **** FAILED to load entity:", error.localizedDescription) throw error } I... Wed, 25 Sep 2024 22:02:08 GMT giovanniR2U USDZ in Keynote https://developer.apple.com/forums/thread/764497 Apple's own USDZ files from their website does not display properly both in OPReview and in Keynote when imported. It displays properly, however, in Reality Converter bit with this error: "Invalid USD shader node in USD file Shader nodes must have “id” as the implementationSource, with id values that begin with “Usd”. Also, shader inputs with connections must each have a single, valid connection source." I tried importing other models from external sources and they work without any issue at all. Is there any potential fix or workaround this? Thanks in advance. Tue, 24 Sep 2024 09:13:36 GMT uzuncakmak Roomplan USDZ File import to HTML5 https://developer.apple.com/forums/thread/764120 Hello everyone, is it possible to embed a USDZ file (Roomplan) in an HTML5 website and view it in 3D? Or do I need to convert the USDZ file into a GLTF file? Fri, 20 Sep 2024 12:02:46 GMT Halikarnassos Crash on load usdz in VisionPro simulate https://developer.apple.com/forums/thread/763578 When I load some usdz file , it crash 100%, Why ? It crash in simulate , but not crash in Vision Pro -[MTLDebugDevice newBufferWithBytes:length:options:]:723: failed assertion `Buffer Validation newBufferWith*:length 0x100fff80 must not exceed 256 MB. Thu, 12 Sep 2024 07:39:53 GMT xuhengfei Forward and reverse animations with RealityKit on Vision Pro https://developer.apple.com/forums/thread/763181 Hello! I'm trying to play an animation with a toggle button. When the button is toggled the animation either plays forward from the first frame (.speed = 1) OR plays backward from the last frame (.speed = -1), so if the button is toggled when the animation is only halfway through, it 'jumps' to the first or last frame. The animation is 120 frames, and I want the position in playback to be preserved when the button is toggled - so the animation reverses or continues forward from whatever frame the animation was currently on. Any tips on implementation? Thanks! import RealityKit import RealityKi... Tue, 03 Sep 2024 21:14:34 GMT KevinTho How to convert FBX to USDZ in-app https://developer.apple.com/forums/thread/762764 Hi everyone, I'm looking for a way to convert an FBX file to USDZ directly within my iOS app. I'm aware of Reality Converter and the Python USDZ converter tool, but I haven't been able to find any documentation on how to do this directly within the app (assuming the user can upload their own file). Any guidance on how to achieve this would be greatly appreciated. I've heard about Model I/O and SceneKit, but I haven't found much information on using them for this purpose either. Thanks! Sat, 24 Aug 2024 16:12:53 GMT emal6465 Different measure units https://developer.apple.com/forums/thread/762525 I am creating a 3D model from multiple images using the photogrammetry session. Now, when the session generates an OBJ file and I measure the distance between two points, the distance is displayed sporadically in different units. Sometimes it's meters, then centimeters, or another unit altogether. How can I tell the photogrammetry session to always create the model in millimeters? Wed, 21 Aug 2024 14:34:47 GMT RWarnecke Is there a way to make an .objcap file from a .USDZ file https://developer.apple.com/forums/thread/762015 I have design a 3D object and exported it as a USDZ. I also 3D printed said object. I want to use the object as a 3D trigger for an AR experience I am building. My question is: is there a process that would let me take the 3D .usdz file and convert it to a .arobject or a .objcap medium/low density point cloud to use as an AR trigger. Because I do have the 3D print of the object I did use the "scan" option when setting up my scene but the "resolution"/fidelity seems really low, and the results I get are just mediocre. I would love to take my 3D USDZ that I already have and use it to generate... Wed, 14 Aug 2024 18:10:36 GMT ahi12 Dynamic loading various USDZ files https://developer.apple.com/forums/thread/761808 I have various USDZ files in my visionOS app. Loading the USDZ files works quite well. I only have problems with the positioning of the 3D model. For example, I have a USDZ file that is displayed directly above me. I can't move the model or perform any other actions on it. If I sit on a chair or stand up again, the 3D model automatically moves with me. This is my source code for loading the USDZ files: struct ImmersiveView: View { @State var modelName: String @State private var loadedModel = Entity() var body: some View { RealityView { content in if let usd... Sun, 11 Aug 2024 17:27:56 GMT RWarnecke Having an alpha channel translucency on a plane with RCP https://developer.apple.com/forums/thread/761731 I have a plane with a texture that was made in Blender & then exported using the Reality Converter from a USDC to a USDZ. The translucency looks 100% translucent in RCP but it looks a bit like glass with some reflection in a Reality Kit scene in visionOS. Is there a material setting that I need to change? Fri, 09 Aug 2024 20:57:04 GMT Miro USD animation support in RealityKit vs. macOS Preview https://developer.apple.com/forums/thread/761021 This question is about USD animations playing correctly in macOS Preview but not with RealityKit on visionOS. I have a USD file created with 3D Studio Max that contains mesh-based smoke animation: https://drive.google.com/file/d/1L7Jophgvw0u0USSv-_0fPGuCuJtapmzo/view (5.6 MB) Apple's macOS 14.5 Preview app is able to play the animation correctly: However, when a visionOS app uses RealityKit to load that same USD file in visionOS 2.0 beta 4, built with 16.0 beta 3 (16A5202i), and Entity/playAnimation is called, the animation does not play as expected: This same app is able to successfully pla... Wed, 31 Jul 2024 23:35:26 GMT drewolbrich Tool terminated by signal 'Segmentation fault: 11' https://developer.apple.com/forums/thread/760614 When I run my visionOS App, RealityKitContent Report an error: Tool terminated by signal 'Segmentation fault: 11' And it points to a USDZ model I imported, but in the scene, my model can be displayed normally and there is no damage. Why does an error occur? How can I check and repair it? Fri, 26 Jul 2024 16:40:03 GMT lijiaxu USDZ models look broken on iOS 18 / visionOS 2 beta https://developer.apple.com/forums/thread/760422 I noticed that with the 4th betas of iOS 18 and visionOS 2, some USDZ models' texture mapping looks completely broken. The issue occurs only with a device, not with the Simulator. It's a regression, the models look fine with iOS 17.5.1 and visionOS 1.2. The issue occurs if I load a model as an Entity in a RealityView iOS or visionOS, or in a SwiftUI 3DModel view on visionOS. Has anyone seen this too? Is there a workaround? I filed a bug report with a minimal example project, it's FB14473756. Screenshot on Vision Pro device: Screenshot on Vision Pro Simulator: Wed, 24 Jul 2024 20:23:43 GMT Vielfalt USD to scenekit conversion removes normals https://developer.apple.com/forums/thread/760144 As the title suggests, clicking the "Export to SceneKit" button indeed converts a USD to .scn but removes the normals in the process if the mesh has blendshapes. When I export the same file without any blendshapes / morphtargets, the normals stay on as expected. If I try to create normals in the scenekit editor (adding them as a new geometry source) Xcode crashes (no matter if there are blendshapes or not) I've tried loading the resulting scene with [SCNSceneSource.LoadingOption.createNormalsIfAbsent : true] but this doesn't change anything either. I suppose this is a bug? My last resort is to... Mon, 22 Jul 2024 15:57:20 GMT sschoellhammer Failed loading .usda/.usdz from RealityKitContent package https://developer.apple.com/forums/thread/759338 I was trying to load an Entity by Entity(named: sceneName, in: realityKitContentBundle), which works for many of my .usda file. But this time I got an error: Error loading asset from scene PinballTable.usda: failed to load '7058602595919186152 Scene (RealityFileAsset)Bundle/RealityKitContent-RealityKitContent-resources/RealityKitContent.reality/Scene_14.compiledscene' (Asset provider load failed: type 'RealityFileAsset' -- Failed to load compiled data for asset path 'Scene_14.compiledscene', due to error: Failed to deserialize asset data.) Any ideas on why this won't work? I have checked the... Thu, 11 Jul 2024 13:42:29 GMT milanowth Reality Composer Pro - Audio not working for .USDZ https://developer.apple.com/forums/thread/759284 Based on info online I'm under the impression we can add spatial audio to USDZ files using Reality Composer Pro, however I've been unable to hear this audio outside of the preview audio in the scene inspector. Attached is a screenshot with how I've laid out the scene. I see the 3D object fine on mobile and Vision Pro, but can't get audio to loop. I have ensured the audio file is in the scene linked as the resource for the spatial audio node. Am I off on setting this up, it's broken or this simply isn't a feature to save back to USDZ? In the following link they note their USDZ could "play an au... Thu, 11 Jul 2024 02:02:20 GMT CaliDave Cloud Service for Apple Vision Pro App https://developer.apple.com/forums/thread/759278 For all the AVP devs out there, what cloud service are you using to load content in your app that has extremely low latency? I tried using CloudKit and it did not work well at all. Latency was super bad :/ Firebase looks like the most promising at this point?? Wish Apple would create an ultra low latency cloud service for streaming high quality content such as USDZ files and scenes made in Reality Composer Pro. Wed, 10 Jul 2024 23:56:06 GMT meta_merritt