Notes on https://developer.apple.com/videos/play/wwdc2019/602/
USDZ is an archive consisting of scene files (usda, usdc, usd) and textures (png/jpg)
- usda: human readable file (A)
- usdc: binary computer file (C)
- usd: both?
usdzconvert filename.gltf (.fbx) usdzconvert -h for all command line options usdzconvert filename.obj -diffuseColor d.png -normal n.png -metallic m.png -roughness r.png
plaintext rep of model
usdtree - high level tree of model
usdchecker filename.usdz --arkit - checks asset
- metadata
- primitives
- call access hierarchy
- point3f[] points, int[] faceVertexCounts, int[] faceVertexIndices, normal3f[] normals
- per face attribute interpolation: uniform
- UV float2[] primvars:st indexed mesh attributes
- UV faceVarying: per-face per-vertex attributes
- subdivisionScheme = "none" to render as polygon and not subdiv surface
- Metallic-roughness
- Specular-roughness
- UsdPreviewSurface - Main Node
- UsdUVTexture - texture sampler
- UsdPrimvarReader - mesh attribute reader
- UsdTransform2D - UV transform