I believe you could use something like this:
Group {
name dNormalizer
tile_color 0x7aa9ffff
selected true
addUserKnob {20 dnormalizer l dNormalizer}
addUserKnob {26 tx l "" +STARTLINE T "Nothing to see here"}
}
Input {
inputs 0
name Input
xpos -450
ypos -312
}
Dot {
name Dot2
xpos -416
ypos -244
}
set N23ae8440 [stack 0]
Dot {
name Dot1
xpos -292
ypos -244
}
set N23aeb250 [stack 0]
Dilate {
size {{input.format.w i}}
name Dilate1
label Max
xpos -379
ypos -166
}
NoOp {
name Max
xpos -379
ypos -120
addUserKnob {20 User}
addUserKnob {18 max l Max:}
max {{"\[sample this.input r 0 0]" i} {"\[sample this.input g 0 0]" i}
{"\[sample this.input b 0 0]" i}}
}
push $N23aeb250
Dilate {
size {{input.format.w*-1 i}}
name Dilate2
label Min
xpos -262
ypos -165
}
NoOp {
name Min
xpos -262
ypos -119
addUserKnob {20 User}
addUserKnob {18 min l Min:}
min {{"\[sample this.input r 0 0]" i} {"\[sample this.input g 0 0]" i}
{"\[sample this.input b 0 0]" i}}
}
push $N23ae8440
Grade {
blackpoint {{Min.min i}}
whitepoint {{Max.max i}}
white_clamp true
name Grade1
xpos -450
ypos -13
}
Output {
name Output1
xpos -450
ypos 92
}
end_group
Wouldn't it work?
cheers,
diogo
On Sat, Oct 13, 2012 at 2:47 AM, Frank Rueter <[email protected]> wrote:
> Same. It would indeed be very helpful. Has somebody sent in a request yet?
>
>
>
> On 13/10/12 6:54 AM, Holger Hummel|Celluloid VFX wrote:
>
>> yes, you can.
>> BUT:
>> - it needs manual work: you need to know/find the min/max values. they
>> change from pass to pass, actually in most cases from frame to frame.
>> - it's quicker when you can just click on button to toggle this. also
>> because it does not conflict with some other VIWER_INPUT that might be
>> active.
>>
>> so +1 from me making this a feature request
>>
>> - Holger
>>
>>
>> jbidwell wrote:
>>
>>> You can make a grade and group it, then name it "VIEWER_INPUT". The
>>> viewer will use that grade in the viewer whenever the IP button is active.
>>>
>>> - JB
>>> ------------------------------**------------------------------**
>>> ------------
>>>
>>> ______________________________**_________________
>>> Nuke-users mailing list
>>> [email protected].**co.uk<[email protected]>,
>>> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>>> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
>>>
>>
>>
> ______________________________**_________________
> Nuke-users mailing list
> [email protected].**co.uk<[email protected]>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users