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'm trying to write a USD Hydra delegate for Mitsuba. In order to do so I need to be able to change the scene structure, e.g. to assign a new BSDF to a Shape. This doesn't appear to be possible with the current API - one can change the value of many parameters using the TraversalCallback API but not assign new Objects.
Would it be possible to modify Mitsuba to do this? Or is the current architecture fundamentally antithetical to changing the structure of the scene graph after the scene is first created?
The text was updated successfully, but these errors were encountered:
Thinking about it some more, it occurs to me that a possible solution might be to create and hold ref's to all the objects individually, then construct the scene graph fresh each time the topology changes. I'll give that a go.
I'm trying to write a USD Hydra delegate for Mitsuba. In order to do so I need to be able to change the scene structure, e.g. to assign a new BSDF to a Shape. This doesn't appear to be possible with the current API - one can change the value of many parameters using the TraversalCallback API but not assign new Objects.
Would it be possible to modify Mitsuba to do this? Or is the current architecture fundamentally antithetical to changing the structure of the scene graph after the scene is first created?
The text was updated successfully, but these errors were encountered: