ws-3d2/usda: model/usda - USD ASCII read / write (+ USDZ read), checked against OpenUSD (pxr), assimp's USD models and Blender exports
Reads stage metadata, xform op stacks (every rotate order, orient, transform, pivots / !invert!, resetXformStack), time samples -> TRS animation, Mesh (all primvar interpolations + indices, GeomSubsets, holes, leftHanded), UsdPreviewSurface / UsdUVTexture / UsdTransform2d materials with inherited bindings, cameras, UsdLux lights, selected variants. USDC returns UNSUPPORTED. Writes Xform / Mesh / GeomSubset / Material / Camera / lights. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
75c677074a
commit
fb7f6359cd
10 files changed
+4539
No files matched your search
@@ -254,6 +254,18 @@ local list: { Entry } = {
|
||||
return require("@formats/model/stl")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "usda",
|
||||
category = "model",
|
||||
path = "model/usda",
|
||||
extensions = { "usda", "usd", "usdz" },
|
||||
mime = { "model/vnd.usda", "model/vnd.usdz+zip" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "containers/Zip" },
|
||||
caps = { decode = true, encode = true, materials = true, animation = true, cameras = true, lights = true, polygons = true, vertexColors = true, usdz = "read", usdc = false },
|
||||
load = function()
|
||||
return require("@formats/model/usda")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "vox",
|
||||
category = "model",
|
||||
|
||||
Reference in new issue
Block a user