Posted By

wesheo on 01/05/13


Tagged

nuke vignette


Versions (?)

Vignette Tool for Nuke


 / Published in: TCL
 

URL: http://wesheo.wordpress.com/vignette-tool-for-nuke/

My vignette toolset for Nuke. How to use this tool is explained in the url above.

  1. Group {
  2. inputs 2
  3. name Vignette
  4. tile_color 0x443925ff
  5. selected true
  6. xpos -213
  7. ypos -62
  8. addUserKnob {20 User l "Wes Vignette"}
  9. addUserKnob {4 imageFormat l Orientation t "Pick an orientation to set the initial size correctly." M {Landscape Portrait "" "" "" ""}}
  10. addUserKnob {6 preview l Preview t "Test vignette on a white background." -STARTLINE}
  11. addUserKnob {41 disable_1 l Disable -STARTLINE T Grade2.disable}
  12. addUserKnob {26 ""}
  13. addUserKnob {7 size l Size R 0.5 1.5}
  14. size 1
  15. addUserKnob {7 squash l Squash t "Real vignetting is circular. Use this to cheat for effect." R 0.3 1}
  16. squash 1
  17. addUserKnob {16 softness l Softness}
  18. softness 0.5
  19. addUserKnob {7 falloff l Falloff R 0.1 1.9}
  20. falloff 1
  21. addUserKnob {41 white l Tint T Grade2.white}
  22. addUserKnob {7 lightness l Lightness}
  23. lightness 0.1
  24. addUserKnob {41 mix l Mix T Grade2.mix}
  25. addUserKnob {26 ""}
  26. addUserKnob {26 mask l Mask T "defines an are not affected by vignette"}
  27. addUserKnob {7 blurSize l "Mask Blur" R 0 300}
  28. blurSize 100
  29. addUserKnob {41 mix_1 l Amount T ChannelMerge1.mix}
  30. addUserKnob {41 disable_2 l "Disable Mask" -STARTLINE T ChannelMerge1.disable}
  31. }
  32. BackdropNode {
  33. inputs 0
  34. name BackdropNode2
  35. tile_color 0x7171c600
  36. label Portrait
  37. note_font_size 20
  38. xpos -64
  39. ypos -409
  40. bdwidth 155
  41. bdheight 158
  42. }
  43. BackdropNode {
  44. inputs 0
  45. name BackdropNode1
  46. tile_color 0x7171c600
  47. label Landscape
  48. note_font_size 20
  49. xpos -244
  50. ypos -409
  51. bdwidth 155
  52. bdheight 158
  53. }
  54. BackdropNode {
  55. inputs 0
  56. name BackdropNode3
  57. tile_color 0x7171c600
  58. label Preview
  59. note_font_size 20
  60. xpos -325
  61. ypos -186
  62. bdwidth 153
  63. bdheight 238
  64. }
  65. StickyNote {
  66. inputs 0
  67. name StickyNote2
  68. label "Size of the outline"
  69. xpos -29
  70. ypos -142
  71. }
  72. StickyNote {
  73. inputs 0
  74. name StickyNote4
  75. label "Tint and Lightness"
  76. xpos 209
  77. ypos -1
  78. }
  79. StickyNote {
  80. inputs 0
  81. name StickyNote3
  82. label "Controls the Falloff"
  83. xpos -31
  84. ypos -101
  85. }
  86. StickyNote {
  87. inputs 0
  88. name StickyNote1
  89. label "The scale of this transform node\nwill be regarded as 1"
  90. xpos -31
  91. ypos -194
  92. }
  93. Input {
  94. inputs 0
  95. name mask
  96. xpos 253
  97. ypos -463
  98. number 1
  99. }
  100. Blur {
  101. channels alpha
  102. size {{parent.blurSize i}}
  103. name Blur1
  104. xpos 253
  105. ypos -396
  106. }
  107. Dot {
  108. name Dot4
  109. xpos 287
  110. ypos -47
  111. }
  112. Radial {
  113. inputs 0
  114. cliptype none
  115. area {{(root.format.w-root.format.h)/2 i} {root.format.y i} {root.format.w-area.x i} {root.format.h i}}
  116. softness {{parent.softness i}}
  117. name Radial2
  118. xpos -26
  119. ypos -327
  120. }
  121. Transform {
  122. scale {{parent.squash i} {1 i}}
  123. center {{root.format.w/2 i} {root.format.h/2 i}}
  124. name SquashP
  125. xpos -26
  126. ypos -292
  127. }
  128. Dot {
  129. name Dot2
  130. xpos 8
  131. ypos -228
  132. }
  133. Radial {
  134. inputs 0
  135. cliptype none
  136. area {{root.format.x i} {(root.format.h-root.format.w)/2 i} {root.format.w i} {root.format.h-area.y i}}
  137. softness {{parent.softness i}}
  138. name Radial1
  139. xpos -204
  140. ypos -325
  141. }
  142. Transform {
  143. scale {{1 i} {parent.squash i}}
  144. center {{root.format.w/2 i} {root.format.h/2 i}}
  145. name SquashL
  146. xpos -204
  147. ypos -290
  148. }
  149. Dot {
  150. name Dot1
  151. xpos -170
  152. ypos -228
  153. }
  154. Switch {
  155. inputs 2
  156. which {{parent.imageFormat i}}
  157. name Switch2
  158. xpos -117
  159. ypos -231
  160. }
  161. Transform {
  162. scale 1.2
  163. center {{root.format.w/2 i} {root.format.h/2 i}}
  164. name Transform2
  165. xpos -117
  166. ypos -193
  167. }
  168. Transform {
  169. scale {{parent.size i}}
  170. center {{root.format.w/2 i} {root.format.h/2 i}}
  171. name Transform1
  172. xpos -117
  173. ypos -141
  174. }
  175. Grade {
  176. channels alpha
  177. gamma {{parent.falloff i}}
  178. name Grade1
  179. xpos -117
  180. ypos -105
  181. }
  182. ChannelMerge {
  183. inputs 2
  184. name ChannelMerge1
  185. selected true
  186. xpos -117
  187. ypos -62
  188. }
  189. Invert {
  190. channels alpha
  191. name Invert1
  192. xpos -117
  193. ypos -5
  194. }
  195. set N18ca1720 [stack 0]
  196. Constant {
  197. inputs 0
  198. channels rgb
  199. color 1
  200. name Constant1
  201. xpos -290
  202. ypos -144
  203. }
  204. Grade {
  205. inputs 1+1
  206. multiply {{parent.lightness i}}
  207. name Grade2
  208. xpos -290
  209. ypos 1
  210. }
  211. set C18ca1d80 [stack 0]
  212. Dot {
  213. name Dot3
  214. xpos -256
  215. ypos 67
  216. }
  217. push $N18ca1720
  218. Input {
  219. inputs 0
  220. name Input1
  221. xpos 124
  222. ypos -463
  223. }
  224. clone $C18ca1d80 {
  225. inputs 1+1
  226. xpos 124
  227. ypos 1
  228. selected false
  229. }
  230. Switch {
  231. inputs 2
  232. which {{parent.preview i}}
  233. name Switch1
  234. xpos 124
  235. ypos 64
  236. }
  237. Output {
  238. name Output1
  239. xpos 124
  240. ypos 122
  241. }
  242. Viewer {
  243. input_process false
  244. name Viewer1
  245. xpos -205
  246. ypos 183
  247. }
  248. end_group

Report this snippet  

You need to login to post a comment.