Nuke Generation of Rainbows

From RMIT Visual Effects
Jump to: navigation, search

Two ways to make a rainbow. One of them involves the ColorSpace node.

Nuke generation of rainbows.

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 "CIRCLE MAKE"
 tile_color 0x87854701
 gl_color 0x87854701
 label "CIRCLE MAKE"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos 400
 ypos -707
 bdwidth 302
 bdheight 238
}
BackdropNode {
 inputs 0
 name "COLOR SPACE MEATHOD"
 tile_color 0x87854701
 gl_color 0x87854701
 label "COLOR SPACE MEATHOD"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos -378
 ypos -555
 bdwidth 200
 bdheight 328
}
BackdropNode {
 inputs 0
 name "SHIFT CIRCLES"
 tile_color 0x87854701
 gl_color 0x87854701
 label "SHIFT CIRCLES"
 note_font "Arial Black"
 note_font_size 20
 selected true
 xpos 406
 ypos -420
 bdwidth 308
 bdheight 297
}
StickyNote {
 inputs 0
 name StickyNote2
 label "These nodes make a circle"
 selected true
 xpos 654
 ypos -551
}
StickyNote {
 inputs 0
 name StickyNote3
 label "These nodes shirk and expand the circle, \nplacing it into the R, G and B channels. "
 selected true
 xpos 647
 ypos -290
}
push $cut_paste_input
Reformat {
 type "to box"
 box_width 400
 box_height 400
 box_fixed true
 name Reformat_Rainbow
 selected true
 xpos 481
 ypos -627
}
set N170a8160 [stack 0]
clone node189f73db0|Radial|85733 Radial {
 area {24 24 370 370}
 softness 0
 name Radial_Rainbow
 selected true
 xpos 420
 ypos -562
}
set C89f73db0 [stack 0]
push $N170a8160
clone $C89f73db0 {
 xpos 522
 ypos -575
 selected true
}
Transform {
 scale 0.86
 center {200 200}
 name Transform1_Rainbow
 selected true
 xpos 522
 ypos -551
}
Merge2 {
 inputs 2
 operation difference
 name Merge1_Rainbow
 selected true
 xpos 483
 ypos -507
}
Dot {
 name Dot1
 selected true
 xpos 517
 ypos -383
}
set N74ceea80 [stack 0]
Transform {
 scale 0.94
 center {200 200}
 name Transform2_Rainbow
 selected true
 xpos 429
 ypos -317
}
push $N74ceea80
ShuffleCopy {
 inputs 2
 green green
 name ShuffleCopy1_Rainbow
 selected true
 xpos 483
 ypos -267
}
set N176b1290 [stack 0]
Transform {
 scale 0.88
 center {200 200}
 name Transform3_Rainbow
 selected true
 xpos 426
 ypos -225
}
push $N176b1290
ShuffleCopy {
 inputs 2
 blue blue
 name ShuffleCopy2_Rainbow
 selected true
 xpos 483
 ypos -181
}
Blur {
 size 15.5
 name Blur1_Rainbow
 selected true
 xpos 483
 ypos -115
}
Write {
 name Write2
 selected true
 xpos 483
 ypos -56
}
StickyNote {
 inputs 0
 name StickyNote1
 label "This method uses a ColorSpace conversion node. \nAny black and white image fed into the top will be \nconverted into a multicolor image. "
 note_font_size 30
 selected true
 xpos -475
 ypos -890
}
StickyNote {
 inputs 0
 name StickyNote4
 label "This method resizes a circle and places it \ninto the R, G and B channel. "
 note_font_size 30
 selected true
 xpos 279
 ypos -873
}
Reformat {
 inputs 0
 format "1920 1080 0 0 1920 1080 1 HD_1080"
 name Reformat1
 selected true
 xpos -358
 ypos -635
}
Ramp {
 p0 {0 100}
 p1 {1920 100}
 type plinear
 name Ramp1
 note_font "Verdana Bold Bold"
 selected true
 xpos -358
 ypos -591
}
Colorspace {
 colorspace_out HSV
 name Colorspace1
 label "\n\nConvert RGB to HSV"
 note_font "Verdana Bold Bold"
 selected true
 xpos -358
 ypos -475
}
Shuffle {
 red blue
 green white
 blue white
 name Shuffle_HueSatuartion
 label "\n\nThis shuffle: \n- Takes the ramp into the Hue value (to create hue ramp)\n- Sets the saturation to a constant (1)\n- Sets the brilliance also to a constant (1)"
 note_font "Verdana Bold Bold"
 selected true
 xpos -358
 ypos -398
}
Colorspace {
 colorspace_in HSV
 name Colorspace2
 label "\nConverts the HSV to RGB"
 note_font "Verdana Bold Bold"
 selected true
 xpos -358
 ypos -283
}
Write {
 name Write1
 selected true
 xpos -358
 ypos -148
}