You mean like below?
I've hardly ever used this - what's it used for?

 
Howard


set cut_paste_input [stack 0]
version 6.3 v8
push $cut_paste_input
Group {
 name GradientMap
 selected true
 xpos 1061
 ypos 87
 addUserKnob {20 User}
 addUserKnob {41 color l value T Constant1.color}
}
 Constant {
  inputs 0
  channels rgba
  color 0.5
  name Constant1
  xpos 238
  ypos 358
 }
 Input {
  inputs 0
  name Input1
  xpos 372
  ypos 166
 }
 Colorspace {
  colorspace_out HSV
  name Colorspace1
  xpos 372
  ypos 206
 }
 Shuffle {
  red blue
  green white
  name Shuffle1
  label "\[value in] > \[value out]\n\[value in2] > \[value out2]"
  xpos 379
  ypos 259
 }
 ShuffleCopy {
  inputs 2
  blue blue
  name ShuffleCopy1
  label "\[value in] | \[value out]"
  xpos 379
  ypos 369
 }
 Colorspace {
  colorspace_in HSV
  name Colorspace3
  selected true
  xpos 371
  ypos 465
 }
 Output {
  name Output1
  xpos 371
  ypos 561
 }
end_group




>________________________________
> From: Martin Constable <[email protected]>
>To: Nuke user discussion <[email protected]> 
>Cc: Nuke user discussion <[email protected]> 
>Sent: Sunday, 5 August 2012, 15:25
>Subject: Re: [Nuke-users] Re: Photoshop equivilents
> 
>
>Regarding a Nuke equivalent of a Gradient Map...
>
>
>This is not trivial. A gradient map takes the grey scale values of an image 
>and re-maps them to the color channel. This can be done in a simple way in the 
>following manner (from memory):
>
>
>1 colorspace convert to HSV
>
>
>2 using shuffle, replace the H channel with the L channel.
>
>
>3 using shuffle, replace the S channel with a white. 
>
>
>4 using shuffle, replace the L channel with a mid grey. 
>
>
>5 colorspace convert back to RGB. 
>
>
>This will do a straight lightness to full spectrum re-map. Arbitrary changes 
>can then be made using lookups on the lightness channel after. 
>
>
>This is clunky. Sure some code monkey can come up with something more elegant. 
>
>
>Martin
>
>
>
>On 5 Aug, 2012, at 10:05 PM, Ron Ganbar <[email protected]> wrote:
>
>
>Indeed. What Joe said is spot on.
>>If you use that "psd layers" button in the Read node you can see all the 
>>options there and learn from it.
>>
>>
>>
>>Ron Ganbar
>>email: [email protected]
>>tel: +44 (0)7968 007 309 [UK]
>>     +972 (0)54 255 9765 [Israel]
>>url: http://ronganbar.wordpress.com/
>>
>>
>>
>>On 5 August 2012 16:03, Joe Laude <[email protected]> wrote:
>>
>>There is a soft-light merge operation in the merge node, but what's probably 
>>throwing you off is that, when merging Photoshop layers in Nuke, you need to 
>>use the Video Colorspace checkbox next to the merge mode pulldown. Nuke's 
>>merge math uses linear color values, but Photoshop's uses sRGB. The Video 
>>Colorspace checkbox will change the incoming images to sRGB (or whatever your 
>>8-bit setting is in project settings), perform the merge operation and change 
>>the output back to linear for you. That'll match your results in Photoshop 
>>much better.
>>>
>>>Note that this is not just for soft-light. All merge operations will behave 
>>>differently in Nuke from what Photoshop does because of the different 
>>>colorspaces, so any operation, even just an over, will better match 
>>>Photoshop with Video Colorspace turned on.
>>>
>>>
>>>On Aug 3, 2012, at 2:31 AM, irwit wrote:
>>>
>>>> Thanks for the quick reply Ron.
>>>>
>>>> I cannot seem to find "Hue curves"?
>>>>
>>>> Soft light I'm guessing does not have an equivalent in the merge options 
>>>> then?
>>>>
>>>> Finally, a gradient adjustment layer remaps your pixel values based on the 
>>>> gradient, so a blue to yellow gradient would take your image and in the 
>>>> darks map blue and lights map yellow.
>>>>
>>>>
>>>> So in photoshop, I would take my image, apply a curve or something and set 
>>>> the blending mode of that curve to say "multiply". This would multiply the 
>>>> image on itself and apply the curve to the multiplier.
>>>>
>>>> In nuke i'm guessing the easiest way to do this is to split the channel 
>>>> with the grade and remerge it with itself?
>>>
>>>> _______________________________________________
>>>> Nuke-users mailing list
>>>> [email protected], http://forums.thefoundry.co.uk/
>>>> 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
>>>
>>
>_______________________________________________
>>Nuke-users mailing list
>>[email protected], http://forums.thefoundry.co.uk/
>>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
>
>
_______________________________________________
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