-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Houdini: Update node parameters when creator attributes change #417
Comments
Could you elaborate on which attributes currently 'change' from which updates should propagate? The additional context does provide some details but involves much more reading then needed to get a good context. Would be best for the Issue description itself explaining a bit on what types of attributes we want to propagate and to what types of "node parameters" we want it to propagate. |
Sure, I will update the issue description shortly as well as linking a draft PR. |
Also for context - we have something similar in our colorbleed code for maya renderlayers so that the active state is defined by the renderlayer's actual active state instead of just something on the instance node. |
It differs from product type to another. This was not an issue before this PR #328 Another Example is Bgeo. |
Want to add that as soon as we expose these attributes to the publisher UI that we should also read the current 'value' from those attributes. In the first screenshot you appear to have one publisher attribute that influences two houdini node parms. What if the user had changed only one of those two attributes on the node? What state should the publisher UI then show? Exposed attributes limit the potential customizability in the DCCAnother issue with having publisher UI control node parameters - which in a way is an issue you are already facing - is that you're limiting how the artist can customize the things in the DCCs itself. Purely as an example let's say we would do this for the start frame and end frame, and have those be taken from the ROPs frame range attributes. Now the publisher UI does not support expressions, like Another example would be that e.g. the choice between
If this is purely an issue with the collector, then I'm not sure this is entirely correct. Technically the collectors could be aware of the toggle in the publisher UI and 'collect' the expected frames based on that, for the extractor to then run on that. There are cases where it's a valid requirement - but this made it sound like it isn't one of them because it sounded like you are just using that checkbox on the node to tweak the behavior of the collector. If so, why not tweak the collector behavior based on the toggle in the publisher UI instead? |
I started to realize that this issue is a matter of user experience. which leads to BigRoy's comment above: |
Just my opinions. Maybe the long-term solution is the universal node would help on this case. We can implement the node which decides which families/product type to use for publishing by looking at the extension name (and raise error if it is unknown extension). If it is an image format for example, we can allow users to choose which families to use (render and review), whether they want to use opengl or renderers if they choose review family. |
re-created on |
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
AYON publisher tool allows users to set some settings before publishing.
Most of the times in Houdini, these settings are associated with actual parameters on the Houdini nodes.
and once these settings are updated the parameters of the associated Houdini nodes should be updated too.
Because I couldn't find an easy way to achieve that functionality, I had to go against pyblish concepts to align the houdini nodes with the publisher settings.
ayon-core/server_addon/houdini/client/ayon_houdini/plugins/publish/extract_render.py
Lines 25 to 43 in 6df1a97
So. It'd be nice if Houdini nodes and publisher attributes are in sync.
How would you imagine the implementation of the feature?
Currently, I have no simple suggestions.
There was an experimental PR #418 but it increased the complexity of the plugin.
Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
This issue showed up in this comment #328 (comment)
and it blocked #328 PR.
[cuID:AY-5020]
The text was updated successfully, but these errors were encountered: