lighttransport/tinyusdz

Parse test failures in usd-wg/assets

syoyo opened this issue · 4 comments

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

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 type normal3f[] but defined as type point3f[] 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. in ElephantWithMonochord/SoC-ElephantWithMonochord.usdc fixed via 8a5491d
  • LoadUSDZFromMemory():545 Asset no[1] Image width too large UsdCookie/UsdCookie.usdz
  • doubleSided attribute in Mesh is not qualified with uniform. bool doubleSided = 1 in McUsd/McUsd_10cm.usda McUsd/McUsd_10cm.usdz

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

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)

Good test list and documentation!
cc @beersandrew, you might be interested in this as well