-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
[NODES] Channel Separation Options #1366
Comments
Comment by sobotka It would only apply to the selected data. A blur with an Nodes by nature should be "dumb" and not interpret or shim in any operation that isn't requested. So for example, with an associated alpha image, if a node routes an A checkbox table allows for discrete application of the node, in a relatively sane manner. Only want the blur applied to blue, green, and alpha? No problem. In your example, I'd expect that if we dumped the image raw to the viewer, the result would be the totality of the buffer, Ultimately it is up to the nodes to determine what their default action is. That is, in your example, passing TL;DR Nodes should not delete tables without (perhaps?) a delete node. Otherwise it simply passes the table data along, nodes look for specific default labels, and crunch the numbers. Answer to your specific question: Depends on the node that is displaying the data. |
Sure I get that, so what happens in a scenario like this: Say we're adding two textures together and the channels are selected like this:
How are these "added" like this? Obviously we could say add the two reds, keep the green from 2, and discard green 1 and the blues, but that's not the behavior of the second blur image, not the first. |
Comment by sobotka My sensibility suggests that the values added are dictated by the check, as in the table parameter. Consider two tables:
The selection would be the union of parameters:
And the operation would consider all values of that parameter, and apply. In the case where only one buffer has a parameter, consider Blur with Thoughts? |
Comment by sobotka Thinking about it more, I think your approach is more useful, to permit channels to cross talk. |
I'm not really proposing or advocating for any approach, this is just the puzzle I ran into while trying to figure out how to actually implement this. To be honest, I like Blur Example #1 where you could simply select channels to operate on and the rest would pass through, but it becomes complicated whenever more than one input texture is involved (As in the "add" example, what does it mean for two blue channels to get passed through? How does one green channel get added to nothing and the other green channel passes through?) I feel like the dilemma is kind of like this:
Perhaps both options need to be available to the user. |
Comment by sobotka I believe what might be able to work is:
The input then is applied to output. If the goal were to add the The others pass through. I’m guessing that an Seems like a relatively powerful matrix. Nodes that do typical things, could perhaps have a set default series of enumerated matrix elements already predefined, subject to addition or removal as required. The first example with the image:
Done! This matrix approach also strikes me as powerful because it would allow a node to perform any and all of its operations to specific channels, and encode them as such. Perhaps it’s three columns. Input on left, operation next, and output table encoding on right? |
I think so? Being able to append channels for repeats is useful here too, such as adding another B and using it to drive some other value or append it down the chain? Perhaps removing them on the node results in removal, while leaving them results in pass through? |
Riffed a bit more on your mock. Let's see where this goes...
Outstanding question is whether the processing table in the matrix is required. Perhaps each processing tab gets the metadata from the incoming records that allows the audience to select with fine granularity all of the incoming processing to drive to node processing? In theory the processing Parameters tabs can hook up the appropriate record. Perhaps only the output is required to order / rename the records? Open canvas! |
I Would move these routing graphs to their own dedicated tab separate from all the other node parameters. Most of the time users will be operating a node's controls and should not need to switch around channels so these controls don't need to be visible at the same level as all the other main node controls. This separates the routing of data (which will be the same controls for all nodes presumably) from a node's operations (which will vary per-node). This means that when users expect to access these controls they will be in a predictable place — that separate tab. Simplifying to two is good, perhaps they should be labelled "input" and "operating" or something? All channels are being output through the node but only some are being operated upon, this also needs to be displayed to the user. Additionally when speaking to Troy he mentioned that this data could possibly be used to drive a node's actual parameters. If this is to be done I would advice that it be controlled separately from this matrix, have one UI element for controlling which channels will be operated upon, and a separate system for controlling the parameters by a certain component. |
The issue there is the processing is applied to the selected records in the second example.
Subject to discussion. It is useful to have the effected records spatially close to the affecting parameters. Much to ponder, but it feels like there is some decent clay here to sculpt from! |
This is why I initially proposed a separate system for routing data from outside of the node to its properties however looking at this again I think what you have is solid, there's no reason that data can't just connect to multiple places and this seems like it would work well for both routing what types of data the node operates on and routing incoming data to control a property value. The latter option could potentially be very powerful! I do still think this routing system should probably be its own tab within the node properties panel, just need a good properties selection system to add those properties to the outputs list? Would make a mockup before coming to any conclusions there though (and that I definitely don't have time to do ;P ). |
Issue by sobotka
Saturday May 09, 2020 at 22:42 GMT
Originally opened as sobotka#122
Summary
Nodes should permit selection of application.
For example, the math node should have some sort of UI selection available that permits the creator to choose which channels are applied to. Given that Olive uses a table to pass values and arrays down the chain, it is likely that this channel selection needs to be dynamic.
The text was updated successfully, but these errors were encountered: