Would this work? or too simple?

 
Howard


set cut_paste_input [stack 0]
version 6.3 v8
ColorWheel {
 inputs 0
 gamma 0.45
 name ColorWheel1
 selected true
 xpos -6225
 ypos 10704
}
Ramp {
 output depth
 p0 {562 48}
 p1 {946 540}
 name Ramp6
 selected true
 xpos -6225
 ypos 10800
}
Colorspace {
 colorspace_out HSV
 name Colorspace1
 selected true
 xpos -6225
 ypos 10890
}
Expression {
 expr0 r*z
 name Expression1
 selected true
 xpos -6225
 ypos 10965
}
Colorspace {
 colorspace_in HSV
 name Colorspace2
 selected true
 xpos -6225
 ypos 11053
}





>________________________________
> From: Lewis Saunders <[email protected]>
>To: [email protected] 
>Sent: Friday, 26 October 2012, 11:58
>Subject: [Nuke-users] Re: change knob value based on channel value
> 
>Ryan O'Phelan wrote:
>> I'm looking for a way to drive a hue rotation (as an example) with, say a
>> depth map. The larger the value, the more the hue rotation.
>
>You could do this with an expression node sampling the control image
>but I reckon there are easier ways.  For transforms you can use
>that ITransform gizmo and for most colour corrections you can use
>mixes in the appropriate colour space. For anything else it's possible
>to use lots of ZSlice nodes to do arbitrary operations based on a
>control image... but I've been there and it mostly results in
>headaches, 100Mb scripts and huge caffeine consumption :-/
>
>Hue shifting you can kinda do with HSVTool but the method below is
>smoother when it wraps around the end of the rainbow.
>
>-- 
>Lewis Saunders
>deeply misses for loops in shake macros
>London
>
>
>
>
>Radial {
>area {512 389 1914 1464}
>name Radial1
>xpos -40
>ypos -13
>}
>CheckerBoard2 {
>inputs 0
>color0 {0.7 0 0 1}
>color1 {0 0.7 0 1}
>color2 {0 0 0.7 1}
>centerlinewidth 20
>name CheckerBoard1
>xpos -200
>ypos -144
>}
>Colorspace {
>colorspace_out HSV
>name Colorspace1
>xpos -200
>ypos -13
>}
>Merge2 {
>inputs 2
>operation plus
>Achannels {rgba.red -rgba.green -rgba.blue -rgba.alpha}
>Bchannels {rgba.red -rgba.green -rgba.blue -rgba.alpha}
>output {rgba.red -rgba.green -rgba.blue -rgba.alpha}
>mix 0.362
>name Plus
>xpos -200
>ypos 23
>}
>Colorspace {
>colorspace_in HSV
>name Colorspace2
>xpos -200
>ypos 59
>}
>_______________________________________________
>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