Open syoyo opened 1 year ago
Example syntax(?) of materialx
#usda 1.0
def "bora"
(
# Seems we need to specify </MaterialX> prim path
references = @usd_preview_surface_default.mtlx@</MaterialX>
) {
}
$ usdcat --flatten materialx-001.usda
#usda 1.0
(
doc = """Generated from Composed Stage of root layer /mnt/data/work/tinyusdz/tests/usda/materialx-001.usda
"""
)
def "bora"
{
def "Materials"
{
def Material "USD_Default"
{
}
}
}
references
to load .mtlx</MaterialX>
prim path(otherwise flatten fails)https://materialx.org/assets/MaterialX.v1.38.Supplement.pdf
pivot
)
Working branch:
mtlx
https://github.com/syoyo/tinyusdz/tree/mtlxMaterialX spec: https://materialx.org/assets/MaterialX.v1.38.Spec.pdf (version: 1.38)
Adding TinyUSDZ to load USD model in ASF MaterialXViewer https://github.com/lighttransport/materialx (We can use this as a reference and for verification)
[ ] UsdMtlx Prim
[ ] Visualization & rendering validation
Shading model support
[ ] UsdPreviewSurface
[ ] Autodesk Standard Surface
[ ] OpenPBR https://academysoftwarefoundation.github.io/OpenPBR/ https://github.com/syoyo/tinyusdz/issues/172
TODO
Don't support
Dataset for USD + MaterialX