Questions tagged [usdz]

Universal Scene Description (USD) is a standard to promote interop and exchange of 3D scene descriptions between artists, developers and film studios. USDZ is a WYSIWYG editor developed by Apple and Pixar.

USDZ was introduced by Apple in WWDC 2018 as a WYSIWYG editor developed with Pixar, that allows developers to bring objects from Photoshop and Dimension into an AR environment.

Its features according to Pixar includes:

  • Robust schemas for interchange of geometry, shading, and skeletal deformation
  • High performance data retrieval and rendering, including powerful instancing features
  • The ability to package user-selectable content variations, natively
  • A sound architecture that is flexible enough to adapt to future needs
149 questions
4
votes
0 answers

How to convert shape key animations from .glb to .usdz using the python usdz command line tools

I create models in blender and export them as .gltf files. I am experimenting with converting these models to .usdz files using the apple python command tools as discussed in this video. These conversions work well if the keyframed animation is made…
Nick
  • 914
  • 1
  • 10
  • 30
3
votes
1 answer

Python for USD – Map a texture on a cube so every face have the same image

I have a simple mesh cube, and I want the same image to be applied on each face of the cube : Here is what I have so far (front face is ok but not the others) # create mesh with texture coordinates stage.DefinePrim('/' + assetName + '/Geom',…
glemoulant
  • 517
  • 7
  • 18
3
votes
1 answer

Get Reference Image name when tapping ModelEntity

I made the following code to create a Plane with VideoMaterial whenever a Reference Image is detected. It's working great, but I need to get the Name of the corresponding Reference Image when I tap on Plane ModelEntity that's playing a video and I…
user1207524
  • 251
  • 2
  • 12
  • 27
3
votes
1 answer

RealityKit – Get a model entity from USDZ file

I haave a file (exists in main bundle with target membership checked) named matrix.usdz and need to load it with do { let path = Bundle.main.path(forResource: "Matrix", ofType: "usdz")! let url = URL(fileURLWithPath: path) …
3
votes
1 answer

Converting USD model into GLTF file format

I've been looking for a way to convert .usdc / .usda / .usdz files into .gltf using a command line, Python, node, whatever... Been looking at every solutions so far, could find some .gltf to .usd converter but no .usd to .gltf. Is anyone aware of…
Samsy
  • 365
  • 1
  • 2
  • 12
3
votes
1 answer

Conversion of .dae to .glb / .gltf

I am having success converting .usdz models to .dae using Xcode. However I eventually want the file formats to end up as .glb / .gltf. I'm using blender to encode .dae into .glb, also a tool made by Khronos group here.…
3
votes
1 answer

How to load a usdz model and textures from a remote server using ARKit?

How to load a usdz model and textures from a remote server using ARKit? As in the example below: let myURL = NSURL(string: "https://mywebsite.com/vase.scn") guard let scene = try? SCNScene(url: myURL! as URL, options: nil) else { return } let…
3
votes
1 answer

RealityKit – Asynchronous model loading doesn't work

This code works: let entity = try! Entity.load(named: "toy_robot_vintage") anchorEntity.addChild(entity) But this doesn't: _ = Entity.loadAsync(named: "toy_robot_vintage") .sink(receiveCompletion: { loadCompletion in print("This…
Isaak
  • 1,107
  • 2
  • 11
  • 29
3
votes
1 answer

RealityKit – Proper Hit-Testing in ARView

I have a code like this one: @objc func handleTap(_ sender: UITapGestureRecognizer) { let tapLocation = sender.location(in: arView) let hitResult0 = scnView?.hitTest(tapLocation) if let hitResult = arView?.entity(at:…
Sam
  • 145
  • 5
3
votes
2 answers

.usdz model has no texture when loaded into scene

I'm loading a .usdz model (downloaded from Apple) into my ARSCNSceneView which works. But unfortunately the model is always rendered without any texture and appears black. // Get the url to the .usdz file guard let usdzURL =…
Pikebu
  • 101
  • 2
  • 6
3
votes
1 answer

usdzConvert command not found error - WWDC 19

I'm trying to use command line to convert my .obj object to .usdz and enrich it with diffuse color as it mentioned in WWDC 19 Working with USD. but I get command not found: usdzconvert. That's the code usdzconvert myObject.obj -diffuseColor…
Mina
  • 2,167
  • 2
  • 25
  • 32
3
votes
1 answer

ARKit: Place USDZ model to plane by add anchor but it always above my head

I am newbie in ARKit and do small project add object to plane. I am follow step in Apple demo project: Handling 3D Interaction and UI Controls in Augmented Reality. If I load scn model (or dae, obj) and place in plane use add anchor it work…
Quyet Nguyen
  • 118
  • 8
3
votes
1 answer

Object appearing transparent after converting to USDZ

I've created two cubes as a single object in Blender and applied two different image textures for each cube and exported them as .OBJ file. I've converted .OBJ to .USDZ file using XCODE and uploaded the .png image texture file as material for my…
3
votes
1 answer

USDZ File Not Loading on iPhone 7

Our USDZ file won't load on iPhone 7 with iOS 12. It works fine on my iPhone X and iPad Pro, both running iOS 12 Beta. We've tried creating this using the terminal commands and get the following warning although we don't believe this is the…
Allen Wixted
  • 179
  • 2
  • 12
3
votes
0 answers

USDZ File Black on Older Devices and Normal Map artefacts

I'm stuck creating USDZ files. I've issues with older devices, basically anything older than the iPhone X, displaying items with artefacts resulting from normal maps and other issues whereby the item appears entirely black. iPhone X and iPad on ios…
Allen Wixted
  • 179
  • 2
  • 12
1
2
3
9 10