Nuke Generation of Reflection in Water

From RMIT Visual Effects
Jump to: navigation, search

Using the Nuke Generation of Water script as a starting point, a simple reflection is added.

Nuke generation of a reflection in water.

Press 'Expand' and select and copy everything below this line, then paste into the Nuke node graph.

set cut_paste_input [stack 0]
version 9.0 v7
BackdropNode {
 inputs 0
 name "SKY CREATION"
 tile_color 0x87854701
 gl_color 0x87854701
 label "SKY CREATION"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos -5032
 ypos -1784
 bdwidth 284
 bdheight 245
}
BackdropNode {
 inputs 0
 name "SKY CREATION1"
 tile_color 0x87854701
 gl_color 0x87854701
 label "OBJECT CREATION"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos -5306
 ypos -1407
 bdwidth 494
 bdheight 182
}
BackdropNode {
 inputs 0
 name "SKY CREATION2"
 tile_color 0x87854701
 gl_color 0x87854701
 label "OBJECT REFELCTION CREATION"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos -5304
 ypos -1135
 bdwidth 506
 bdheight 294
}
BackdropNode {
 inputs 0
 name "WATER FROM NOISE"
 tile_color 0x87854701
 gl_color 0x87854701
 label "WATER FROM NOISE"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos -5439
 ypos -1853
 bdwidth 313
 bdheight 295
}
StickyNote {
 inputs 0
 name StickyNote4
 label "A few shapes have been used to create a crude cylinder.
\nIt starts with a gradient (rectangle) and some light is added with a Multiply."
 selected true
 xpos -5292
 ypos -1441
}
StickyNote {
 inputs 0
 name StickyNote5
 label "The Transform moves the object into place.
\nThe ShuffleCopy moves the water pattern into the Movement channel of the object reflection.
\nThe IDistort 'wobbles' the reflection according to the values in its movement channel.
\nA slight blur has also been added. "
 selected true
 xpos -5301
 ypos -1194
}
StickyNote {
 inputs 0
 name StickyNote2
 label " \n      Animated!    \n   "
 note_font "Verdana Bold Bold Bold Bold Bold Bold Bold Bold"
 note_font_size 20
 selected true
 xpos -5202
 ypos -2145
}
StickyNote {
 inputs 0
 name StickyNote3
 label " Here a noise has been animated on its depth plane. 
\n A CornerPin has been used to give the impression of depth.
\n ColorCorrect, Add and Multiply have all be used to change the color of the noise. "
 selected true
 xpos -5457
 ypos -1907
}
StickyNote {
 inputs 0
 name StickyNote6
 label " A simple sky, created from a Rectangle which has been filled with a blue / orange ramp.\n"
 selected true
 xpos -5090
 ypos -1828
}
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat1
 selected true
 xpos -5293
 ypos -1822
}
Noise {
 output rgb
 size {350 50}
 zoffset {{curve i x1 0 l x100 1.645496845}}
 translate {{curve x1 0 l x100 40.46976471} 16}
 center {1024 778}
 name Noise1
 selected true
 xpos -5293
 ypos -1798
}
CornerPin2D {
 to1 {-1100 -50}
 to2 {3350 -55}
 to3 {2040 850}
 to4 {-70 850}
 invert false
 from1 {0 0}
 from2 {2048 0}
 from3 {2048 1556}
 from4 {0 1556}
 name CornerPin2D1
 selected true
 xpos -5293
 ypos -1774
}
Crop {
 box {0 0 1920 1080}
 name Crop3
 selected true
 xpos -5293
 ypos -1750
}
set N8b68c0a0 [stack 0]
Dot {
 name Dot3
 selected true
 xpos -5464
 ypos -1747
}
Dot {
 name Dot4
 selected true
 xpos -5464
 ypos -988
}
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat5
 selected true
 xpos -5270
 ypos -1343
}
Rectangle {
 area {481 230 643 1294}
 softness 80
 name Rectangle4
 selected true
 xpos -5270
 ypos -1319
}
Rectangle {
 area {794.5 230 877.5 1294}
 softness 80
 name Rectangle3
 selected true
 xpos -5270
 ypos -1295
}
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat6
 selected true
 xpos -5137
 ypos -1343
}
Rectangle {
 area {512 389 900 1167}
 ramp linear
 color {0.6 0.6 0.6 1}
 color_panelDropped true
 p1 {890 666}
 color0 {0.12 0.12 0.12 1}
 color0_panelDropped true
 p0 {672 668}
 name Rectangle2
 selected true
 xpos -5137
 ypos -1319
}
Multiply {
 inputs 1+1
 channels rgb
 value 1.68
 name Multiply2
 selected true
 xpos -5137
 ypos -1295
}
set N8b6da830 [stack 0]
Transform {
 translate {2 -818}
 scale {1 -1}
 center {694 804}
 name Transform2
 selected true
 xpos -5137
 ypos -1067
}
ShuffleCopy {
 inputs 2
 alpha alpha2
 black red
 white green
 red2 blue
 green2 alpha
 out2 motion
 name ShuffleCopy1
 selected true
 xpos -5137
 ypos -991
}
IDistort {
 channels rgba
 uv motion
 uv_scale 66
 name IDistort1
 selected true
 xpos -5137
 ypos -930
}
Blur {
 size 5.4
 name Blur1
 selected true
 xpos -5137
 ypos -906
}
push $N8b6da830
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat4
 selected true
 xpos -5408
 ypos -1644
}
Ramp {
 p0 {50 680}
 p1 {50 810}
 name Ramp2
 selected true
 xpos -5408
 ypos -1625
}
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat3
 selected true
 xpos -5411
 ypos -1696
}
Ramp {
 p0 {92 12}
 p1 {126 774}
 name Ramp1
 selected true
 xpos -5411
 ypos -1672
}
push $N8b68c0a0
ColorCorrect {
 shadows.gain {0.076711 0.801491 1 1}
 shadows.gain_panelDropped true
 midtones.gain {0.430576 0.790399 0.729025 1}
 midtones.gain_panelDropped true
 highlights.gain {0.864964 0.888591 0.206911 1}
 highlights.gain_panelDropped true
 lookup {shadow {curve 1 s0 x0.355263114 0 s0}
   midtone {1-shadow-highlight}
   highlight {}}
 name ColorCorrect1
 selected true
 xpos -5293
 ypos -1696
}
Add {
 inputs 1+1
 channels rgb
 value 0.11
 name Add1
 selected true
 xpos -5293
 ypos -1672
}
Multiply {
 inputs 1+1
 channels rgb
 value {0.42187 0.454207 0.5 0.5}
 value_panelDropped true
 name Multiply1
 selected true
 xpos -5293
 ypos -1625
}
Premult {
 name Premult1
 selected true
 xpos -5293
 ypos -1601
}
push $cut_paste_input
Reformat {
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat2
 selected true
 xpos -4935
 ypos -1664
}
Rectangle {
 area {-114.5 651 2024.5 1429}
 ramp linear
 color {0.425053 0.807566 1 1}
 color_panelDropped true
 p1 {85 1575}
 color0 {0.685805 0.621707 0.462658 0}
 color0_panelDropped true
 p0 {95 805}
 name Rectangle1
 selected true
 xpos -4935
 ypos -1636
}
Merge2 {
 inputs 2
 name Merge2
 selected true
 xpos -4935
 ypos -1601
}
Merge2 {
 inputs 2
 name Merge3
 selected true
 xpos -4935
 ypos -1295
}
Merge2 {
 inputs 2
 bbox B
 mix 0.375
 name Merge4
 selected true
 xpos -4935
 ypos -902
}
set Nb7826d70 [stack 0]
Write {
 name Write1
 selected true
 xpos -4935
 ypos -821
}
push $Nb7826d70
Viewer {
 frame 5
 frame_range 1-30
 name Viewer1
 selected true
 xpos -4935
 ypos -727
}