PixarAnimationStudios / OpenUSD

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

Hydra: Material graph changes invalidate bound GPrims #3410

Open dgovil opened 2 weeks ago

dgovil commented 2 weeks ago

Description of Issue

We are seeing that when a material has its graph topology changed, it causes Hydra to invalidate the material AND all gprims that have the material bound to it. This calls into the render delegates Create and Destroy method for each of the prims.

This feels somewhat costly for persisting the scene graph itself as artists iterate on shader looked.

System Information (OS, Hardware)

Package Versions

jesschimein commented 2 weeks ago

Filed as internal issue #USD-10414