2014年2月20日 星期四
2014年2月11日 星期二
2014年2月10日 星期一
switch nuke channel by expression node
set cut_paste_input [stack 0]
version 7.0 v10
ColorWheel {
inputs 0
gamma 0.45
name ColorWheel2
selected true
xpos -68
ypos -329
}
CheckerBoard2 {
inputs 0
name CheckerBoard3
selected true
xpos -191
ypos -331
}
add_layer {JimmyChannel JimmyChannel.red JimmyChannel.green JimmyChannel.blue JimmyChannel.alpha}
ShuffleCopy {
inputs 2
alpha alpha2
black red
white green
red2 blue
green2 alpha
out2 JimmyChannel
name ShuffleCopy4
label "模擬同一串流裡面有一組channel叫\nJimmyChannel"
note_font_size 20
selected true
xpos -139
ypos -217
}
Expression {
channel0 {forward.u -forward.v -backward.u -backward.v}
expr0 JimmyChannel.red
channel1 {-forward.u forward.v -backward.u -backward.v}
expr1 JimmyChannel.green
channel2 {-forward.u -forward.v backward.u -backward.v}
expr2 JimmyChannel.blue
channel3 {-forward.u -forward.v -backward.u backward.v}
expr3 JimmyChannel.alpha
name Expression9
label "將JimmyChannel切換到motion channel"
note_font_size 20
selected true
xpos -139
ypos -94
}
useful info about nuke expression node : http://www.nukepedia.com/written-tutorials/expressions-101
and thanks seadog's help!
2014年2月8日 星期六
nb_MariTools 1.0 from Nicholas Breslow
nb_MariTools 1.0 from Nicholas Breslow on Vimeo.
https://vimeo.com/86082496
http://nbreslow.com/nbmaritools
shuffle-out-all-channels Script
http://www.muttsy.net/blog/2011/10/20/shuffle-out-all-channels/
nodes = nuke.selectedNodes() for node in nodes: if node.Class() == 'Read': channels = node.channels() layers = list( set([channel.split('.')[0] for channel in channels]) ) layers.sort() if 'rgba' in layers: layers.remove('rgba') for layer in layers: shuffleNode = nuke.nodes.Shuffle(label=layer,inputs=[node]) shuffleNode['in'].setValue( layer ) shuffleNode['postage_stamp'].setValue(True) else: pass
訂閱:
文章 (Atom)