Say there is layerA, which is a specular pass or any other type of color
pass, which I want to add (or any other operation) to 10 or more diffuse
passes, for example. I think there is no way to do this currently in Nuke
with a single node, but I wanted to check if anyone has a trick to do it.
A merge with 'also Merge' set to 'all' does not work, as it only adds up any
corresponding layer passes. You could of course lay down multiple merge
nodes for every single diffuse layer, but if the number of diffuse passes
later changes, you need to modify your 'template' for this to work. An merge
expression node is also an option, but again, you need to 'hard-wire' the
number and names of layers.

A good usage example is the following. Say you wanted to divide all diffuse
color channels by the color, to extract the diffuse component. I you could
do it in a single node that just divides all the layers  available in the
stream by a single layer (the color), your template could stay the same,
regardless if the number or naming of the diffuse layers changes.

Regardless if there is or not a good solution for this, I think that nuke
could really benefit from having project wide 'layer sets'. Say you had a
diffuse set, which encompassed all of the diffuse layers. You could then
operate on the whole set on a single node, instead of having to replicate a
lot of nodes to achieve the same thing. I have a feature request for this,
but thought I'd make more noise about it...
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to