Last active
September 13, 2017 14:43
-
-
Save kpprt/989339b51ff6b92322758cfd76422ed8 to your computer and use it in GitHub Desktop.
Create a fast distortion that is based on a noise in Nuke. Simulate heat, water or make shapes wobble.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_NoiseDistort1 | |
tile_color 0xa57aaaff | |
selected true | |
xpos 9530 | |
ypos 6206 | |
addUserKnob {20 CS_NoiseDistort} | |
addUserKnob {41 channels T IDistort1.channels} | |
addUserKnob {41 uv_scale l "UV scale" T IDistort1.uv_scale} | |
addUserKnob {41 filter T IDistort1.filter} | |
addUserKnob {26 noise} | |
addUserKnob {14 size R 0 100} | |
size 50 | |
addUserKnob {8 frequency R 0 5} | |
frequency 0.25 | |
addUserKnob {7 detail R 0.1 1} | |
detail 0.5 | |
addUserKnob {3 seedU} | |
seedU 123 | |
addUserKnob {3 seedV -STARTLINE} | |
seedV 456 | |
addUserKnob {41 disable_noise_preview l "disable noise preview" T Copy2.disable} | |
} | |
Input { | |
inputs 0 | |
name Inputmask | |
xpos 620 | |
ypos 254 | |
number 1 | |
} | |
Dot { | |
name Dot1 | |
xpos 654 | |
ypos 426 | |
} | |
set N2ff9dc00 [stack 0] | |
Dot { | |
name Dot2 | |
xpos 654 | |
ypos 618 | |
} | |
Input { | |
inputs 0 | |
name Input | |
xpos 510 | |
ypos 254 | |
} | |
Dot { | |
name Dot5 | |
xpos 544 | |
ypos 306 | |
} | |
set Nc8a8f800 [stack 0] | |
Remove { | |
name Remove1 | |
xpos 290 | |
ypos 296 | |
} | |
Noise { | |
output {rgba.red -rgba.green -rgba.blue -rgba.alpha} | |
size {{parent.size} {parent.size}} | |
zoffset {{"frame * parent.frequency + parent.seedU"}} | |
gain {{parent.detail}} | |
gamma 1 | |
center {960 540} | |
name Noise1 | |
xpos 290 | |
ypos 350 | |
} | |
Noise { | |
output {-rgba.red rgba.green -rgba.blue -rgba.alpha} | |
size {{parent.size} {parent.size}} | |
zoffset {{"frame * parent.frequency + parent.seedV"}} | |
gain {{parent.detail}} | |
gamma 1 | |
center {960 540} | |
name Noise2 | |
xpos 290 | |
ypos 374 | |
} | |
Clamp { | |
channels {rgba.red rgba.green -rgba.blue -rgba.alpha} | |
name Clamp1 | |
xpos 290 | |
ypos 398 | |
} | |
set N915b0000 [stack 0] | |
AddChannels { | |
channels {-rgba.red -rgba.green rgba.blue none} | |
name AddChannels1 | |
xpos 290 | |
ypos 614 | |
} | |
push $N2ff9dc00 | |
push $N915b0000 | |
Add { | |
channels {rgba.red rgba.green -rgba.blue -rgba.alpha} | |
value -0.5 | |
name Add1 | |
xpos 400 | |
ypos 398 | |
} | |
Multiply { | |
channels {rgba.red rgba.green -rgba.blue -rgba.alpha} | |
value 2 | |
name Multiply1 | |
xpos 400 | |
ypos 422 | |
} | |
push $Nc8a8f800 | |
add_layer {distort distort.u distort.v} | |
Copy { | |
inputs 2+1 | |
from0 rgba.red | |
to0 distort.u | |
from1 rgba.green | |
to1 distort.v | |
name Copy1 | |
xpos 510 | |
ypos 409 | |
} | |
IDistort { | |
channels rgba | |
uv distort | |
uv_scale 10 | |
name IDistort1 | |
xpos 510 | |
ypos 494 | |
} | |
Remove { | |
channels distort | |
name Remove2 | |
xpos 510 | |
ypos 536 | |
} | |
Copy { | |
inputs 2+1 | |
channels rgb | |
name Copy2 | |
selected true | |
xpos 510 | |
ypos 601 | |
disable true | |
} | |
Output { | |
name Output | |
xpos 510 | |
ypos 686 | |
} | |
end_group |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment