nuke healing brush code example

Example: nuke healing brush

set cut_paste_input [stack 0]
version 8.0 v6
push 0
push $cut_paste_input
Group {
 inputs 2
 name Healing_Brush
 tile_color 0x212121ff
 gl_color 0xfefefeff
 note_font_color 0x1f00ffff
 selected true
 xpos 15680
 ypos -1260
 addUserKnob {20 User}
 addUserKnob {41 defocus l smoothing T Defocus3.defocus}
 addUserKnob {41 laplaciansize l detail T Laplacian3.size}
 addUserKnob {41 operation t "overlay or hard-light usually work best" T Merge29.operation}
 addUserKnob {26 ""}
 addUserKnob {41 whitepoint l "grain ctrl 1" T Grade12.whitepoint}
 addUserKnob {41 multiply l "grain ctrl 2" T Grade12.multiply}
}
 Input {
  inputs 0
  name Mask
  xpos 200
  ypos -280
  number 1
 }
 Input {
  inputs 0
  name Image
  xpos 341
  ypos -620
 }
 Dot {
  name Dot38
  xpos 375
  ypos -526
 }
set N9b5ba20 [stack 0]
 Dot {
  name Dot1
  xpos 495
  ypos -526
 }
set N9b5fce0 [stack 0]
 Laplacian {
  channels rgb
  size 2.4
  name Laplacian3
  xpos 581
  ypos -530
 }
 Grade {
  whitepoint 1.28
  multiply 1.12
  add 0.5
  gamma 0.998
  name Grade12
  xpos 581
  ypos -310
 }
set N9b6fbc0 [stack 0]
push $N9b5fce0
 Defocus {
  defocus 9
  name Defocus3
  xpos 461
  ypos -482
 }
 Merge2 {
  inputs 2
  operation hard-light
  name Merge29
  xpos 461
  ypos -310
 }
 Dot {
  name Dot39
  xpos 495
  ypos -276
 }
push $N9b5ba20
 Keymix {
  inputs 3
  name Keymix1
  xpos 341
  ypos -286
 }
 Output {
  name Output1
  xpos 341
  ypos -210
 }
push $N9b6fbc0
push $N9b6fbc0
 Viewer {
  inputs 2
  input_number 1
  freezeGuiWhenPlayBack true
  viewerProcess rec709
  input_process false
  name Viewer1
  selected true
  xpos 581
  ypos -603
 }
end_group

Tags:

Misc Example