Parse test failures in usd-wg/assets
syoyo opened this issue · 4 comments
syoyo commented
Branch: dev
Procedure:
$ cd <tinyusdz>/build
$ python ../tests/parse_usd/runner.py </path/to/usd-wg/assets>
# (run `test_tinyusdz` command for each USD files in the specified folder)
Failure cases
/home/syoyo/work/usd/assets/full_assets/Teapot/Teapot_Materials.usd Failed
/home/syoyo/work/usd/assets/test_assets/TextureTransformTest/TextureTransformTest.usd Failed
/home/syoyo/work/usd/assets/test_assets/AlphaBlendModeTest/AlphaBlendModeTest.usd Failed
/home/syoyo/work/usd/assets/full_assets/StandardShaderBall/layers/environment.usda Failed
/home/syoyo/work/usd/assets/full_assets/StandardShaderBall/layers/shaderball.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/normals_types/normalsTypes.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/points_types/pointsTypes.usda Failed
/home/syoyo/work/usd/assets/test_assets/RelationshipEncapsulationTests/InternalReferenceTest.usda Failed
/home/syoyo/work/usd/assets/full_assets/ElephantWithMonochord/SoC-ElephantWithMonochord.usdc Failed
/home/syoyo/work/usd/assets/full_assets/UsdCookie/UsdCookie.usdz Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usdz Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usdz Failed
syoyo commented
Reason of failures
Checked = fixed
- Nested variantSet
Teapot/Teapot_Materials.usd
#94 - ReconstructMaterialBindingProperties():2168 PURPOSE must not have nested namespaces for 'mateirial:binding'
StandardShaderBall/layers/environment.usda
- Comment in Stage meta
McUsd/McUsd_10cm.usda
#138 - type mismatch: Parsing attribute
normals
failed. Error: Property type mismatch. normals expects typenormal3f[]
but defined as typepoint3f[]
normals_types/normalsTypes.usda
- Expected failure?
- Value block + metadata
RelationshipEncapsulationTests/InternalReferenceTest.usda
#137 - type mismatch: 0 Parsing attribute
inputs:st
failed. Error: Internal error. Invalid attribute value? get_value failed. inElephantWithMonochord/SoC-ElephantWithMonochord.usdc
fixed via 8a5491d - LoadUSDZFromMemory():545 Asset no[1] Image width too large
UsdCookie/UsdCookie.usdz
- Expected behavior? Texture width is 8192, and USDZ's limit is apparently set to 2048. https://forums.developer.apple.com/forums/thread/693867
- doubleSided attribute in Mesh is not qualified with
uniform
.bool doubleSided = 1
inMcUsd/McUsd_10cm.usda
McUsd/McUsd_10cm.usdz
syoyo commented
After fixing some issues in TinyUSDZ parser, now failure cases are reduced to
/home/syoyo/work/usd/assets/full_assets/Teapot/Teapot_Materials.usd Failed
/home/syoyo/work/usd/assets/full_assets/StandardShaderBall/layers/shaderball.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/normals_types/normalsTypes.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/points_types/pointsTypes.usda Failed
/home/syoyo/work/usd/assets/test_assets/RelationshipEncapsulationTests/InternalReferenceTest.usda Failed
/home/syoyo/work/usd/assets/full_assets/ElephantWithMonochord/SoC-ElephantWithMonochord.usdc Failed
/home/syoyo/work/usd/assets/full_assets/UsdCookie/UsdCookie.usdz Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usdz Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usdz Failed
syoyo commented
Failure cases with dev
branch
/home/syoyo/work/usd/assets/full_assets/Teapot/Teapot_Materials.usd Failed
/home/syoyo/work/usd/assets/test_assets/TextureTransformTest/TextureTransformTest.usd Failed
/home/syoyo/work/usd/assets/full_assets/StandardShaderBall/layers/shaderball.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/normals_types/normalsTypes.usda Failed
/home/syoyo/work/usd/assets/test_assets/schemaTests/usdGeom/meshes/points_types/pointsTypes.usda Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd.usdz Failed
/home/syoyo/work/usd/assets/full_assets/McUsd/McUsd_10cm.usdz Failed
- test_assets/TextureTransformTest/TextureTransformTest.usd usd-wg/assets#87
full_assets/Teapot/geo/FancyTeapot.usd Triangulation failed: Degenerated polygon found.fixed via b41e1dd- Reason of issues for other scenes are discussed in #135 (comment)
hybridherbst commented
Good test list and documentation!
cc @beersandrew, you might be interested in this as well