syoyo / tinyusdz

Tiny, dependency-free USDZ/USDA/USDC library written in C++14
Other
453 stars 32 forks source link

Failure to load usd-wg model "DamagedHelmet.usdz" #133

Closed tellypresence closed 2 months ago

tellypresence commented 3 months ago

On branch rendermesh-refactor or dev

When attempting to load model DamagedHelmet.usdz, get error in src/tydra/scene-access.cc, line: 305

Visit function returned an error for Prim /DamagedHelmet/Geom/node_damagedHelmet__6514 (id 12)

Load aborts once this error occurs.

syoyo commented 2 months ago

At least parsing https://github.com/usd-wg/assets/blob/main/test_assets/USDZ/DamagedHelmet/DamagedHelmet.usdz is now possible with tydra_to_renderscene in recent dev and rendermesh branch

Material/Texture conversion in rendermesh-refactor branch is still TODO.

tellypresence commented 2 months ago

Thank you, confirm that on dev branch commit c7ef984 asset loads perfectly and geometry looks correct

usd-wg_damaged_helmet_tinyusdz_dev_branch_c7ef984
tellypresence commented 2 months ago

On rendermesh-refactor branch model looks OK