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
Changing the primvar from mydiffusecolor to myothercolor results in the /MySphere turning black in the usdview viewport. Inspecting the hydra scene browser suggests that the material has updated correctly, but that /MySphere has pruned myothercolor presumably because it was unused when the scene was initialized.
Steps to Reproduce
Open up the layer in usdview.
Select /MyMaterial/PrimvarColor.inputs:varname
In the python interpreter, call usdviewApi.property.Set("myothercolor")
The sphere is now black, as if the primvar was missing, instead of the expected blue.
System Information (OS, Hardware)
Linux
Package Versions
Python 3.10
Build Flags
--usdview --no-tests
The text was updated successfully, but these errors were encountered:
I wanted to revisit this bug in the context of Hydra2 as we had similar issues with our realtime rendering engine.
Are there thoughts/plans on making the DependencySceneIndex part of hdsi rather than hdSt? We've got a copy-paste version of it in our codebase (though we may start diverging from the original code for our specific needs).
Also, more recently it seems dac626e removed this primvar dependency from the DependencySceneIndex, citing it's already being introduced by the MaterialPrimvarTransferSceneIndex. We don't have need of the primvar transfer, but we do have need of dependencies being introduced, which furthers the above comment that we'll probably need to take a Houdini-specific DependencySceneIndex in our own direction.
Description of Issue
Consider the following scene containing a
Sphere
with two primvars and aMaterial
driving color via primvar.Changing the primvar from
mydiffusecolor
tomyothercolor
results in the/MySphere
turning black in theusdview
viewport. Inspecting the hydra scene browser suggests that the material has updated correctly, but that/MySphere
has prunedmyothercolor
presumably because it was unused when the scene was initialized.Steps to Reproduce
usdview
./MyMaterial/PrimvarColor.inputs:varname
usdviewApi.property.Set("myothercolor")
System Information (OS, Hardware)
Linux
Package Versions
Python 3.10
Build Flags
--usdview --no-tests
The text was updated successfully, but these errors were encountered: