You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think numInstanceLevels is initialized to 0.... so -1 and it being a size_t/unsigned...it starts looping at the max value... it would probably end eventually...but....going to be a while!
Steps to Reproduce
Using this USDA file with a simple point instancer with draw modes / cards :
p = usdviewApi.stage.GetPrimAtPath("/Comp/Instancer/Protos/Proto2")
m = UsdGeom.ModelAPI.Apply(p)
m.CreateModelCardTextureXPosAttr().Set("D:\\Models\\USD\\uvgrid.jpg")
m.CreateModelCardTextureYPosAttr().Set("D:\\Models\\USD\\uvgrid.jpg")
System Information (OS, Hardware)
Windows
Package Versions
0.24.05
The text was updated successfully, but these errors were encountered:
Description of Issue
Setting up Model Card textures on point instances can cause hdStorm / usdview to hang. See repro steps bellow.
Breaking while it hangs it is looping here : https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/pxr/imaging/hdSt/mesh.cpp#L366
I think
numInstanceLevels
is initialized to 0.... so -1 and it being a size_t/unsigned...it starts looping at the max value... it would probably end eventually...but....going to be a while!Steps to Reproduce
Using this USDA file with a simple point instancer with draw modes / cards :
From the interpreter in USDVIEW, run this :
p = usdviewApi.stage.GetPrimAtPath("/Comp/Instancer/Protos/Proto2")
m = UsdGeom.ModelAPI.Apply(p)
m.CreateModelCardTextureXPosAttr().Set("D:\\Models\\USD\\uvgrid.jpg")
m.CreateModelCardTextureYPosAttr().Set("D:\\Models\\USD\\uvgrid.jpg")
System Information (OS, Hardware)
Windows
Package Versions
0.24.05
The text was updated successfully, but these errors were encountered: