You can make it a little more lively like this:

set cut_paste_input [stack 0]
version 6.3 v8
push $cut_paste_input
Group {
 name GradientMap
 selected true
 xpos 419
 ypos -163
 addUserKnob {20 User}
 addUserKnob {7 hueRange R 0 5}
 hueRange 0.5
 addUserKnob {7 rotateHue R -180 180}
 addUserKnob {41 color l value T Constant1.color}
}
 Constant {
  inputs 0
  color 1
  name Constant1
  xpos 240
  ypos 322
 }
 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 372
  ypos 263
 }
 ShuffleCopy {
  inputs 2
  blue blue
  name ShuffleCopy1
  label "\[value in] | \[value out]"
  xpos 372
  ypos 341
 }
 Ramp {
  output {rgba.red -rgba.green -rgba.blue}
  replace true
  p0 {100 0}
  p1 {100 1556}
  name Ramp1
  xpos 372
  ypos 375
 }
 Grade {
  channels {rgba.red -rgba.green -rgba.blue}
  white {{parent.hueRange}}
  add {{parent.rotateHue/360}}
  black_clamp false
  name Grade1
  xpos 372
  ypos 409
 }
 Colorspace {
  colorspace_in HSV
  name Colorspace3
  xpos 371
  ypos 465
 }
 Output {
  name Output1
  xpos 371
  ypos 561
 }
end_group



Ron Ganbar
email: ron...@gmail.com
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/



On 9 August 2012 19:47, Howard Jones <mrhowardjo...@yahoo.com> wrote:

> 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 <jackyoungbl...@mac.com>
>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Cc:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *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 <ron...@gmail.com> 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: ron...@gmail.com
> 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 <loudn...@gmail.com> 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
> > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to