PixarAnimationStudios / OpenUSD

Universal Scene Description

Home Page:http://www.openusd.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with texture binding after sequence of operations with asset

tadeas-hejnic opened this issue · comments

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 HumanFemale_Group
  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

Filed as internal issue #USD-9592