syoyo / tinyusdz

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

[rendermesh-refactor commit d3ac233] model(s) crash on load #147

Closed tellypresence closed 2 months ago

tellypresence commented 2 months ago

On rendermesh-refactor commit d3ac233

Download Pixar UsdSkel Examples and attempt to load model HumanFemale/assets/HumanFemale.full_payload.usd

Unfortunately no useful debug information, logs look fairly normal right up until crash

src/tydra/attribute-eval.cc:ToTerminalAttributeValue:45 Attribute value = "st"
src/tydra/render-data.cc:ConvertUVTexture:4339 inputs:varname = st
src/tydra/render-data.cc:ConvertUVTexture:4408 Converted UVTexture.
src/tydra/render-data.cc:ConvertPreviewSurfaceShaderParam:4462 TexId /HumanFemale_Group/HumanFemale/Looks/HumanFemaleMat/HumanFemaleSurf.diffuseColor = 2
src/tydra/render-data.cc:ConvertMaterial:4665 Converted Material: </HumanFemale_Group/HumanFemale/Looks/HumanFemaleMat>
src/tydra/render-data.cc:MeshVisitor:4774 Add material: 0 /HumanFemale_Group/HumanFemale/Looks/HumanFemaleMat ( HumanFemaleMat ) 
src/tydra/render-data.cc:ConvertMesh:2850 uv primvar  with default_texcoords_primvar_name found.
src/tydra/render-data.cc:ToVertexAttribute:1280 is_array true
src/tydra/render-data.cc:ToVertexAttribute:1300 flattened primvar type: color3f[], underlying type float3
src/tydra/render-data.cc:ArrayValueToVertexAttribute:1204 value.type = color3f[]
src/tydra/render-data.cc:ArrayValueToVertexAttribute:1205 UnderlyingTy = float3[]
src/tydra/render-data.cc:ConvertMesh:3068 Add texcoord attr `st` to slot Id 0
src/tydra/render-data.cc:ConvertMesh:3140 Body_sbdv : is_single_indexable = 0
src/tydra/render-data.cc:ConvertMesh:3180 Triangulate mesh
syoyo commented 2 months ago

You should describe the procedure to reproduce the issue

tellypresence commented 2 months ago

申し訳ございません Steps to reproduce: