nuke随笔
本文最后更新于 2025-08-28,文章内容可能已经过时。
Nuke随笔
节点
PostageStamp 链接某个节点
CameraTracker nuke相机反求
ScanlineRender 将相机背景以及其他物体一起观看
Card 将素材放入三维空间,可绑定在跟踪点上
Chromatik 色散节点(插件)
Reformat 重置分辨率,默认重置为项目设置的分辨率
Keyer 根据颜色自动计算Alpha
Clamp 将颜色Alpha重置到0-1的区间,realglow节点会根据Alpha来计算亮度,重置Alpha可以防止部分区域过曝
Roto 画蒙版
表达式
随机抖动
(random(seed,frame*frequency)*amplitude)+valueOffsetseed 表示种子,只要改变该值动画曲线将会在相同频率下不同 (random(2,frame*1)*1)+0 :
快捷键
批量替换路径更换的素材
按s调出nuke项目面版,点击Script Directory,自动识别当前路径
全选节点按Crel+Shift+/,上面填需要替换的路径下面填相对路径,如nuke源文件和render文件夹在同一层级下则替换成一个".",替换其他路径则直接替换路径
插件
有代码块的可以直接点击代码块右上角复制,然后去nuke里粘贴
RealGlow
set cut_paste_input [stack 0]
version 12.2 v3
push $cut_paste_input
Group {
name realGlow2
tile_color 0xffff00ff
selected true
xpos 8325
ypos -7045
addUserKnob {20 realGlow}
addUserKnob {41 output T Plus.output}
addUserKnob {41 tint T Multiply_tint.value}
addUserKnob {7 brightness R 0 5}
brightness 1.32
addUserKnob {7 falloff R 1 5}
falloff 1
addUserKnob {7 saturation}
saturation 1
addUserKnob {6 effect_only l "effect only" +STARTLINE}
addUserKnob {26 ""}
addUserKnob {7 size R 0 100}
size 19.5
addUserKnob {41 mix T Plus.mix}
addUserKnob {6 mask +STARTLINE}
}
Input {
inputs 0
name Inputmask
xpos -231
ypos 629
number 1
}
set Nfb088400 [stack 0]
Input {
inputs 0
name Inputimage
xpos -542
ypos 482
}
Dot {
name Dot127
xpos -508
ypos 571
}
set Nfb3e3800 [stack 0]
Shuffle {
in {{{parent.Plus.output}}}
name Shuffle1
label "\[value in]"
xpos -441
ypos 562
}
set Nfb3e3400 [stack 0]
Multiply {
channels rgb
value 0.2
name Multiply_tint
xpos -348
ypos 568
}
Saturation {
saturation {{parent.saturation}}
name Saturation3
xpos -348
ypos 592
}
Merge2 {
inputs 2
operation mask
name Merge1
xpos -348
ypos 629
disable {{1-parent.mask}}
}
Dot {
name Dot128
xpos -314
ypos 667
}
set Nfb3e2400 [stack 0]
Dot {
name Dot140
xpos -223
ypos 667
}
set Nfb3e2000 [stack 0]
Dot {
name Dot141
xpos -130
ypos 667
}
set Nfb3e1c00 [stack 0]
Dot {
name Dot142
xpos -34
ypos 667
}
set Nfb3e1800 [stack 0]
Dot {
name Dot143
xpos 57
ypos 667
}
set Nfb3e1400 [stack 0]
Dot {
name Dot144
xpos 146
ypos 667
}
set Nfb3e1000 [stack 0]
Dot {
name Dot145
xpos 238
ypos 667
}
set Nfb3e0c00 [stack 0]
Dot {
name Dot146
xpos 329
ypos 667
}
Blur {
channels rgba
size {{parent.size*128}}
name Blur8
label "\[value size]"
xpos 295
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,7))}}
name Multiply82
label "\[value value]"
xpos 295
ypos 721
}
Dot {
name Dot218
xpos 329
ypos 925
}
push $Nfb3e0c00
Blur {
channels rgba
size {{parent.size*64}}
name Blur7
label "\[value size]"
xpos 204
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,6))}}
name Multiply78
label "\[value value]"
xpos 204
ypos 721
}
Dot {
name Dot204
xpos 238
ypos 901
}
push $Nfb3e1000
Blur {
channels rgba
size {{parent.size*32}}
name Blur6
label "\[value size]"
xpos 112
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,5))}}
name Multiply77
label "\[value value]"
xpos 112
ypos 721
}
Dot {
name Dot189
xpos 146
ypos 877
}
push $Nfb3e1400
Blur {
channels rgba
size {{parent.size*16}}
name Blur5
label "\[value size]"
xpos 23
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,4))}}
name Multiply76
label "\[value value]"
xpos 23
ypos 721
}
Dot {
name Dot176
xpos 57
ypos 853
}
push $Nfb3e1800
Blur {
channels rgba
size {{parent.size*8}}
name Blur4
label "\[value size]"
xpos -68
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,3))}}
name Multiply2
label "\[value value]"
xpos -68
ypos 721
}
Dot {
name Dot160
xpos -34
ypos 829
}
push $Nfb3e1c00
Blur {
channels rgba
size {{parent.size*4}}
name Blur3
label "\[value size]"
xpos -164
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/(pow(parent.falloff,2))}}
name Multiply74
label "\[value value]"
xpos -164
ypos 721
}
Dot {
name Dot151
xpos -130
ypos 805
}
push $Nfb3e2000
Blur {
channels rgba
size {{parent.size*2}}
name Blur2
label "\[value size]"
xpos -257
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness/parent.falloff}}
name Multiply1
label "\[value value]"
xpos -257
ypos 721
}
Dot {
name Dot150
xpos -223
ypos 781
}
push $Nfb3e2400
Blur {
channels rgba
size {{parent.size}}
name Blur1
label "\[value size]"
xpos -348
ypos 685
}
Multiply {
channels rgba
value {{parent.brightness}}
name Multiply73
label "\[value value]"
xpos -348
ypos 721
}
Merge2 {
inputs 2
operation plus
name Plus21
xpos -348
ypos 778
}
Merge2 {
inputs 2
operation plus
name Plus23
xpos -348
ypos 802
}
Merge2 {
inputs 2
operation plus
name Plus24
xpos -348
ypos 826
}
Merge2 {
inputs 2
operation plus
name Plus25
xpos -348
ypos 850
}
Merge2 {
inputs 2
operation plus
name Plus26
xpos -348
ypos 874
}
Merge2 {
inputs 2
operation plus
name Plus32
xpos -348
ypos 898
}
Merge2 {
inputs 2
operation plus
name Plus33
xpos -348
ypos 922
}
push $Nfb3e3400
Multiply {
channels rgba
value {{1-parent.effect_only}}
name Multiply3
xpos -441
ypos 683
}
push $Nfb3e3800
ShuffleCopy {
inputs 2
in2 none
red red
green green
blue blue
out {{{parent.Plus.output}}}
name ShuffleCopy1
xpos -542
ypos 683
}
Merge2 {
inputs 2
operation plus
Bchannels {{{parent.Plus.output}}}
output rgb
name Plus
xpos -542
ypos 922
}
set Nfb2c3800 [stack 0]
Output {
name Output
xpos -542
ypos 1043
}
push $Nfb088400
push $Nfb2c3800
Viewer {
inputs 2
fps 30
input_number 1
input_process false
name Viewer1
xpos -542
ypos 1119
}
end_group角标
set cut_paste_input [stack 0]
version 12.2 v3
push $cut_paste_input
Group {
name message1
selected true
xpos -144
ypos 793
}
Reformat {
inputs 0
format "1920 1080 0 0 1920 1080 1 HD_1080"
resize none
filter impulse
black_outside true
name Reformat64
xpos -1569
ypos 580
}
AddTimeCode {
startcode 00:00:00:00
metafps false
frame 0
useFrame true
name AddTimeCode
xpos -1569
ypos 645
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message "\[clock format \[clock seconds] -format %d/%m/%Y]"
old_message {{49 51 47 48 49 47 50 48 50 53}
}
old_expression_markers {{0 9}
}
box {59.5 28 246 61}
transforms {{0 2}
}
cursor_position 47
global_font_scale 0.33
scale {1 1}
cursor_initialised true
autofit_bbox false
initial_cursor_position {{59.5 61}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 960 540 0 0 1 1 0 0 0 0}
}
name Text_date1
xpos -1569
ypos 686
cached true
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message "FrameRange: \[value root.first_frame] - \[value root.last_frame]"
old_message {{70 114 97 109 101 82 97 110 103 101 58 32 49 48 49 32 45 32 49 54 52}
}
old_expression_markers {{12 14 18 20}
}
box {857.5 24 1156.5 58}
transforms {{0 2}
}
global_font_scale 0.33
scale {1 1}
cursor_initialised true
initial_cursor_position {{857.5 58}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 960 540 0 0 1 1 0 0 0 0}
}
name Text_timecode1
xpos -1569
ypos 729
cached true
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message "Frame: \[frame]\n\[value root.format.r]*\[value root.format.t]"
old_message {{70 114 97 109 101 58 32 49 48 49 10 49 57 50 48 42 49 48 56 48}
}
old_expression_markers {{7 9 11 14 16 19}
}
box {1732.5 -5 1895.5 62}
transforms {{0 2}
}
cursor_position 37
global_font_scale 0.33
scale {1 1}
cursor_initialised true
initial_cursor_position {{1732.5 62}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 960 540 0 0 1 1 0 0 0 0}
}
name Text_frame1
xpos -1569
ypos 787
cached true
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message " \[lindex \[split \[lindex \[split \[value root.name] /] end] .] 0].\[lindex \[split \[lindex \[split \[value root.name] /] end] .] 1] "
old_message {{32 72 70 76 89 50 95 72 70 49 52 95 83 67 49 53 95 48 50 50 95 118 48 51 46 110 107 32 32 32 32}
}
old_expression_markers {{1 23 25 26}
}
box {50.5 1005 185.5 1039}
transforms {{0 2}
}
cursor_position 130
global_font_scale 0.33
scale {1 1}
cursor_initialised true
initial_cursor_position {{50.5 1039}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 960 540 0 0 1 1 0 0 0 0}
}
name Text_shotname1
xpos -1569
ypos 829
cached true
addUserKnob {20 User}
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message "FPS: \[value root.fps]"
old_message {{70 80 83 58 32 50 53}
}
old_expression_markers {{5 6}
}
box {1757 1014.9875 1927 1049.0125}
transforms {{0 2}
}
cursor_position 21
global_font_scale 0.33
scale {1 1}
cursor_initialised true
autofit_bbox false
initial_cursor_position {{1796 1059}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 960 540 0 0 1 1 0 0 0 0}
}
name Text_fps1
xpos -1569
ypos 881
cached true
}
set N8d297800 [stack 0]
Reformat {
resize distort
name Reformat1
xpos -1569
ypos 938
}
Input {
inputs 0
name Input
xpos -1250
ypos 494
}
Merge2 {
inputs 2
name Merge1
xpos -1250
ypos 938
}
Output {
name Output
xpos -1250
ypos 1075
}
push $N8d297800
Viewer {
frame_range 100-100
fps 33
name Viewer1
xpos -1399
ypos 1075
}
end_group色散
#! /Applications/Nuke5.1v5/Nuke5.1v5.app/Contents/MacOS/Nuke5.1v5 -nx
version 5.1500
Gizmo {
note_font "Verdana Bold"
note_font_size 13
note_font_color 0x7f1f00ff
addUserKnob {20 aKKROMATISM l aKROMATISM}
addUserKnob {41 multiplier l AberrationMultiplier T Dot1.multiplier}
addUserKnob {41 mixRay T moxDot.mixRay}
addUserKnob {41 which T Switch1.which}
addUserKnob {26 ""}
addUserKnob {26 "" l _ T "st.Rub's Akromatism\[6.1.2009]"}
addUserKnob {26 ""}
addUserKnob {20 about}
addUserKnob {26 "" l _ T "If you need any updates, or suggestions, just contact\n\ndonald@donaldstrubler.com"}
}
Keymix {
inputs 0
invertMask true
mix 0
name Keymix1
xpos -160
ypos 109
}
Input {
inputs 0
name Input1
xpos -133
ypos -363
}
Dot {
name Dot2
xpos -99
ypos -292
}
set N19953c10 [stack 0]
GodRays {
channels {-rgba.red rgba.green -rgba.blue}
scale {{parent.GodRays8.scale}}
center {{parent.GodRays5.center.x} {parent.GodRays5.center.y}}
name GodRays6
xpos -15
ypos -189
}
GodRays {
channels {rgba.red -rgba.green -rgba.blue}
scale {{parent.GodRays5.scale}}
center {{parent.GodRays6.center.x} {parent.GodRays6.center.y}}
name GodRays7
xpos -15
ypos -141
addUserKnob {20 User}
addUserKnob {4 sasdasd M {Read1 ""}}
}
push $N19953c10
GodRays {
channels {-rgba.red -rgba.green rgba.blue}
scale {{(Dot1.multiplier)+1 i}}
center {{(format.width)/2 i} {(format.height)/2 i}}
name GodRays8
xpos -117
ypos -187
}
GodRays {
channels {-rgba.red rgba.green -rgba.blue}
scale {{parent.GodRays2.scale i}}
center {{parent.GodRays8.center.x i} {parent.GodRays8.center.y i}}
name GodRays5
xpos -117
ypos -140
addUserKnob {20 User}
addUserKnob {4 sasdasd M {Read1 ""}}
}
push $N19953c10
GodRays {
channels {-rgba.red -rgba.green rgba.blue}
scale {{(Dot1.multiplier)+1 i}}
center {{(format.width)/2 i} {(format.height)/2 i}}
name GodRays1
xpos -229
ypos -178
}
GodRays {
channels {rgba.red -rgba.green -rgba.blue}
scale {{((Dot1.multiplier)*(-1))+1 i}}
center {{parent.GodRays1.center.x i} {parent.GodRays1.center.y i}}
name GodRays2
xpos -229
ypos -139
addUserKnob {20 User}
addUserKnob {4 sasdasd M {Read1 ""}}
}
Switch {
inputs 3
which 2
name Switch1
xpos -104
ypos -70
addUserKnob {20 User}
addUserKnob {41 which_1 l which T Switch1.which}
}
GodRays {
scale {{((moxDot.mixRay)*.05)+1}}
center {{width/2} {height/2}}
name GodRays3
xpos -104
ypos -24
addUserKnob {20 User}
addUserKnob {7 mult}
mult 1
}
Blur {
size 0.6
name Blur1
xpos -63
ypos 66
}
Output {
name Output1
xpos -104
ypos 229
}
Dot {
inputs 0
name Dot1
xpos -297
ypos -172
addUserKnob {20 User}
addUserKnob {7 multiplier R -0.1 0.1}
multiplier -0.036
}
Radial {
inputs 0
cliptype none
area {0 0 {format.width i} {format.height i}}
softness 0.18
name Radial1
xpos 152
ypos -270
hide_input true
}
Blur {
size 300
quality 30
name Blur3
xpos 152
ypos -223
}
Grade {
blackpoint 0.015
whitepoint 0.4
name Grade1
xpos 152
ypos -166
}
Dot {
inputs 0
name moxDot
xpos 259
ypos 11
addUserKnob {20 User}
addUserKnob {7 mixRay}
mixRay 0.065
}
Viewer {
inputs 0
name Viewer1
xpos 32
ypos 229
}
end_group扭曲
set cut_paste_input [stack 0]
version 10.5 v2
push 0
push $cut_paste_input
mmDisplace {
inputs 2
name mmDisplace1
label displacement
selected true
xpos 1338
ypos 2741
uv_scale 2
}
插件集
nuke蓝宝石插件
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 蜗牛菌
评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果

