PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
5.45k stars 1.13k forks source link

Issue with texture binding after sequence of operations with asset #3057

Open tadeas-hejnic opened 3 weeks ago

tadeas-hejnic commented 3 weeks ago

Description of Issue

Issue with texture binding, found it by python code but you can get the same result also in usdview.

Testing with UsdSkelExample HumanFemale.walk.usd. Screenshots describes the issue.

usdview warning: Warning: in _PopulateVertexPrimvars at line 1411 of /OpenUSD/pxr/imaging/hdSt/mesh.cpp -- Invalid Hydra prim '/HumanFemale_Group/HumanFemale/Geom/Body/Body_sbdv': Vertex primvar displayColor has only 32888 elements, while its topology expects at least 32890 elements. Skipping primvar update.

Steps to Reproduce

By python code:

  1. Define prim
  2. Add reference to HumanFemale.walk.usd
  3. Apply material binding
  4. Unbind material

After brute-forcing in usdview I got the same result:

  1. Select _HumanFemaleGroup
  2. Set geometricLOD variant to low
  3. Set geometricLOD variant back to full

System Information (OS, Hardware)

Ubuntu 23.10

Package Versions

24.05

usdview_issue

jesschimein commented 3 weeks ago

Filed as internal issue #USD-9592