Skip to content

Is it unwise to add plugs to nodes like StandardOptions? #4186

Answered by johnhaddon
ericmehl asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure I'd go so far as to say it was unwise - as you've found, it does work. But it definitely does go against the grain. Gaffer is intended to be renderer agnostic, and to be able to generate scenes that can target multiple renderers at once. While it's possible to put all the settings for all the supported renderers on one node, that would lead to a lot of clutter, and a lot of irrelevant settings for users of a particular renderer. So instead we've opted for clarity, separating things into StandardOptions that everything should support, and then ArnoldOptions and DelightOptions etc to add renderer specific settings.

When you consider only one renderer at a time, it's true that t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ericmehl
Comment options

ericmehl Mar 31, 2021
Collaborator Author

Answer selected by ericmehl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants