Wow,
thanks Chris for the empowering alternative method. With
some study of your script it may re-appy it to multiple points and
choice of grey scales.
New to node based workflows this is the 2nd script i've pasted into
projects, great system. Also learning basics of spline based, alpha
and gradient compositing in Nuke as opposed to Photoshop, After
Effects etc.
If you've a moment..
- how were feather points created on your Bezier?
- how to move\edit feather or control points separately?
Jeff
On 27-Oct-12, at 7:10 PM, chris wrote:
hi there,
not sure about other software, silhouette is said to have some of
the best roto tools, but i've never used it. might be worth a look.
you can easily make your tweaked custom falloff by using any color
correction tool after the roto. you can even get what you want by
using two different corrections and blending the two by a gradient,
but as said you'll have do deal with the transition (see example
below).
in the end you might be better off just doing two separate rotos and
combine them.
++ chris
ps: the hitchhikers guide reference was actually about bypasses ;)
http://hitchhikers.wikia.com/wiki/Bypass
set cut_paste_input [stack 0]
Constant {
inputs 0
channels rgb
name Constant1
selected true
xpos -198
ypos -297
}
Dot {
name Dot1
label " \[value input0.name]"
selected true
xpos -164
ypos -181
}
set N8100870 [stack 0]
Dot {
name Dot2
label " \[value input0.name]"
selected true
xpos -13
ypos -181
}
Ramp {
p0 {470 352}
p1 {1006 746}
name Ramp1
selected true
xpos -47
ypos 51
}
Gamma {
channels rgba
value 0.31
name Gamma2
selected true
xpos -47
ypos 75
}
push $N8100870
Bezier {
points {{
{468 352 0 -0.96 0 0 -295.7 -0.02}
{1398 212 0 0.91 0 0 -133.5 0.32}
{1008 748 436.4 3.18 466.3 0 -187.5 0.08}
}}
shape {{curve i L x1 0}}
center {960 540}
name Bezier1
label LINEAR
selected true
xpos -198
ypos -112
}
set N500a760 [stack 0]
ColorLookup {
lut {master {curve C 0 x0.1245302558 0.1036764979 x0.2439457029
0.3625000119 x0.5953026414 0.6887254715 x1 1}
red {}
green {}
blue {}
alpha {}}
name ColorLookup1
label FALLOFF2
selected true
xpos -141
ypos -41
}
push $N500a760
Gamma {
channels rgba
value 0.105
name Gamma1
label FALLOFF1
selected true
xpos -243
ypos -42
}
Dissolve {
inputs 2+1
which 0.5
name Dissolve1
label "\[value which]"
selected true
xpos -187
ypos 64
}
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python