No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

blackpromist.gizmo 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. #! /Volumes/ol03/dive_rsrc/bin/Nuke/Mac/Nuke6.3v8/Nuke6.3v8.app/Contents/MacOS/Nuke6.3v8 -nx
  2. version 6.3 v8
  3. Gizmo {
  4. help "Emulates the Black Pro Mist (BPM) filter effect"
  5. tile_color 0xd68953ff
  6. gl_color 0xdd7e39ff
  7. note_font Verdana
  8. mapsize {0.15 0.15}
  9. addUserKnob {20 Controls}
  10. addUserKnob {7 diffusionamount l "Diffusion Amount" t "Size of the diffusion"}
  11. diffusionamount 0.5
  12. addUserKnob {7 diffusionlevel l "Diffusion Level" t "Opacity of the diffusion"}
  13. diffusionlevel 0.305
  14. addUserKnob {7 diffusionsoftness l "Diffusion Softness" t "Falloff of the diffusion" R 0 2}
  15. diffusionsoftness 1
  16. addUserKnob {7 highlightselection l "Highlight Selection" t "Selects the highlights that receive the diffusion" R 0 2}
  17. highlightselection 1
  18. addUserKnob {6 viewhighlight l "View Highlight Selection" t "View the highlights selected by Highlight Selection. Red is selected, blue is untouched." +STARTLINE}
  19. addUserKnob {6 affectalpha l "Affect Alpha" t "Whether the diffusion will affect the alpha or not" +STARTLINE}
  20. affectalpha true
  21. }
  22. Roto {
  23. inputs 0
  24. curves {AnimTree: "" {
  25. Version: 1.2
  26. Flag: 0
  27. RootNode: 1
  28. Node: {
  29. NodeName: "Root" {
  30. Flag: 512
  31. NodeType: 1
  32. Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1024 S 0 540
  33. NumOfAttributes: 11
  34. "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0
  35. }
  36. NumOfChildren: 1
  37. Node: {
  38. NodeName: "Bezier1" {
  39. Flag: 576
  40. NodeType: 3
  41. CurveGroup: "" {
  42. Transform: 0 0 S 1 830683 0 S 1 830683 0 S 1 830683 0 S 1 830683 1 S 1 830683 1 S 1 830683 0 S 1 830683 1039.74 S 1 830683 587.85
  43. Flag: 0
  44. NumOfCubicCurves: 2
  45. CubicCurve: "" {
  46. Type: 0 Flag: 8192 Dim: 2
  47. NumOfPoints: 48
  48. 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 1019.2 S 1 830683 553.4 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.19995 S 1 830683 -0.799988 0 0 S 1 830683 1009.6 S 1 830683 560.8 0 0 S 1 830683 -2.19995 S 1 830683 0.799988 0 0 S 1 830683 -2.20001 S 1 830683 -8.79999 0 0 S 1 830683 995.8 S 1 830683 580.4 0 0 S 1 830683 2.20001 S 1 830683 8.79999 0 0 S 1 830683 -0.399963 S 1 830683 -5.39996 0 0 S 1 830683 1004.2 S 1 830683 600.4 0 0 S 1 830683 0.399963 S 1 830683 5.39996 0 0 S 1 830683 -2.59998 S 1 830683 -7.20001 0 0 S 1 830683 1005.4 S 1 830683 620.8 0 0 S 1 830683 2.59998 S 1 830683 7.20001 0 0 S 1 830683 -4.59998 S 1 830683 0 0 0 S 1 830683 1024.6 S 1 830683 637.6 0 0 S 1 830683 4.59998 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 -0.399963 0 0 S 1 830683 1038 S 1 830683 634.2 0 0 S 1 830683 4 S 1 830683 0.399963 0 0 S 1 830683 -2.59998 S 1 830683 -1.19995 0 0 S 1 830683 1050.4 S 1 830683 645.4 0 0 S 1 830683 2.59998 S 1 830683 1.19995 0 0 S 1 830683 -0.400024 S 1 830683 2.80005 0 0 S 1 830683 1064.6 S 1 830683 630.4 0 0 S 1 830683 0.400024 S 1 830683 -2.80005 0 0 S 1 830683 -1.59998 S 1 830683 3 0 0 S 1 830683 1074.6 S 1 830683 619.2 0 0 S 1 830683 1.59998 S 1 830683 -3 0 0 S 1 830683 3.59998 S 1 830683 10 0 0 S 1 830683 1087 S 1 830683 590 0 0 S 1 830683 -3.59998 S 1 830683 -10 0 0 S 1 830683 -0.599976 S 1 830683 5 0 0 S 1 830683 1077.4 S 1 830683 564.6 0 0 S 1 830683 0.599976 S 1 830683 -5 0 0 S 1 830683 10 S 1 830683 -2.40002 0 0 S 1 830683 1069.6 S 1 830683 543 0 0 S 1 830683 -10 S 1 830683 2.40002 0 0 S 1 830683 4 S 1 830683 0 0 0 S 1 830683 1052 S 1 830683 550.8 0 0 S 1 830683 -4 S 1 830683 0 0 0 S 1 830683 3.80005 S 1 830683 3.79999 0 0 S 1 830683 1040.4 S 1 830683 538.8 0 0 S 1 830683 -3.80005 S 1 830683 -3.79999 0 0 S 1 830683 3 S 1 830683 -5.40002 0 0 S 1 830683 1023 S 1 830683 535.8 0 0 S 1 830683 -3 S 1 830683 5.40002 0
  49. }
  50. CubicCurve: "" {
  51. Type: 0 Flag: 8192 Dim: 2
  52. NumOfPoints: 48
  53. 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.19995 S 1 830683 -0.799988 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -2.19995 S 1 830683 0.799988 0 0 S 1 830683 -2.20001 S 1 830683 -8.79999 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.20001 S 1 830683 8.79999 0 0 S 1 830683 -0.399963 S 1 830683 -5.39996 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.399963 S 1 830683 5.39996 0 0 S 1 830683 -2.59998 S 1 830683 -7.20001 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.59998 S 1 830683 7.20001 0 0 S 1 830683 -4.59998 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 4.59998 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 -0.399963 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 4 S 1 830683 0.399963 0 0 S 1 830683 -2.59998 S 1 830683 -1.19995 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.59998 S 1 830683 1.19995 0 0 S 1 830683 -0.400024 S 1 830683 2.80005 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.400024 S 1 830683 -2.80005 0 0 S 1 830683 -1.59998 S 1 830683 3 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 1.59998 S 1 830683 -3 0 0 S 1 830683 3.59998 S 1 830683 10 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3.59998 S 1 830683 -10 0 0 S 1 830683 -0.599976 S 1 830683 5 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.599976 S 1 830683 -5 0 0 S 1 830683 10 S 1 830683 -2.40002 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -10 S 1 830683 2.40002 0 0 S 1 830683 4 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 0 0 0 S 1 830683 3.80005 S 1 830683 3.79999 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3.80005 S 1 830683 -3.79999 0 0 S 1 830683 3 S 1 830683 -5.40002 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3 S 1 830683 5.40002 0
  54. }
  55. NumOfAttributes: 44
  56. "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 540 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 1 "view1" S 0 1 "ltn" S 0 830683 "ltm" S 0 830683 "ltt" S 0 0 "tt" S 0 4 "pt" S 0 0
  57. }
  58. }
  59. NumOfChildren: 0
  60. }
  61. }
  62. }
  63. }
  64. toolbox {selectAll {
  65. { selectAll ssx 1 ssy 1 sf 1 }
  66. { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  67. { createBSpline ssx 1 ssy 1 sf 1 sb 1 }
  68. { createEllipse ssx 1 ssy 1 sf 1 sb 1 }
  69. { createRectangle ssx 1 ssy 1 sf 1 sb 1 }
  70. { brush ssx 1 ssy 1 sf 1 sb 1 }
  71. { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 }
  72. { clone src 1 ssx 1 ssy 1 sf 1 sb 1 }
  73. { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 }
  74. { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 }
  75. { burn src 1 ssx 1 ssy 1 sf 1 sb 1 }
  76. { blur src 1 ssx 1 ssy 1 sf 1 sb 1 }
  77. { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 }
  78. { smear src 1 ssx 1 ssy 1 sf 1 sb 1 }
  79. } }
  80. toolbar_brush_hardness 0.200000003
  81. toolbar_lifetime_type all
  82. toolbar_source_transform_scale {1 1}
  83. toolbar_source_transform_center {320 240}
  84. colorOverlay 0
  85. lifetime_type "all frames"
  86. lifetime_start 830683
  87. lifetime_end 830683
  88. motionblur_shutter_offset_type centred
  89. source_black_outside true
  90. createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
  91. name Roto1
  92. xpos 416
  93. ypos 37
  94. }
  95. Crop {
  96. box {992.5999756 530.2000122 1092.599976 648.2000122}
  97. name Crop1
  98. xpos 416
  99. ypos 61
  100. }
  101. set N42ae8db0 [stack 0]
  102. Viewer {
  103. viewerProcess None
  104. input_process false
  105. name Viewer1
  106. xpos 29
  107. ypos 153
  108. }
  109. Input {
  110. inputs 0
  111. name source
  112. xpos 453
  113. ypos -79
  114. }
  115. set N25a8c9c0 [stack 0]
  116. Dot {
  117. name Dot2
  118. xpos 602
  119. ypos -76
  120. }
  121. Dot {
  122. name Dot3
  123. xpos 602
  124. ypos 254
  125. }
  126. Constant {
  127. inputs 0
  128. color {1 0 0 1}
  129. name Constant1
  130. xpos 177
  131. ypos -151
  132. }
  133. push $N25a8c9c0
  134. Keyer {
  135. operation "luminance key"
  136. range {{.44*(parent.highlightselection) i} {.5*(parent.highlightselection) i} 1 1}
  137. name Keyer1
  138. xpos 287
  139. ypos -84
  140. }
  141. set N25a95b40 [stack 0]
  142. Merge2 {
  143. inputs 2
  144. operation in
  145. name In1
  146. xpos 177
  147. ypos -79
  148. }
  149. Constant {
  150. inputs 0
  151. color {0 0 1 1}
  152. name Constant2
  153. xpos 29
  154. ypos -155
  155. }
  156. push $N25a95b40
  157. Invert {
  158. name Invert1
  159. xpos 178
  160. ypos -58
  161. }
  162. Merge2 {
  163. inputs 2
  164. operation in
  165. name In2
  166. xpos 29
  167. ypos -53
  168. }
  169. Merge2 {
  170. inputs 2
  171. name Merge1
  172. xpos 29
  173. ypos 4
  174. }
  175. push $N42ae8db0
  176. Transform {
  177. scale {{.1*(parent.diffusionamount*2) i}}
  178. center {1041 596}
  179. name Transform1
  180. xpos 416
  181. ypos 87
  182. }
  183. Blur {
  184. size {{parent.diffusionsoftness*50 i}}
  185. name Blur1
  186. xpos 416
  187. ypos 111
  188. }
  189. push $N25a8c9c0
  190. Dot {
  191. name Dot1
  192. xpos 420
  193. ypos -10
  194. }
  195. push $N25a95b40
  196. Merge2 {
  197. inputs 2
  198. operation in
  199. name In
  200. xpos 287
  201. ypos -13
  202. }
  203. Convolve {
  204. inputs 2
  205. name Convolve1
  206. xpos 287
  207. ypos 111
  208. disable {{parent.viewhighlight i}}
  209. }
  210. push $N25a8c9c0
  211. Merge2 {
  212. inputs 2
  213. operation plus
  214. mix {{.1*(parent.diffusionlevel*2) i}}
  215. name Scrn
  216. xpos 177
  217. ypos 116
  218. disable {{parent.viewhighlight i}}
  219. }
  220. Merge2 {
  221. inputs 2
  222. name Merge2
  223. xpos 177
  224. ypos 171
  225. disable {{parent.viewhighlight>0?0:1 i}}
  226. }
  227. Copy {
  228. inputs 2
  229. from0 rgba.alpha
  230. to0 rgba.alpha
  231. name Copy1
  232. selected true
  233. xpos 177
  234. ypos 246
  235. disable {{parent.affectalpha i}}
  236. }
  237. Output {
  238. name Output1
  239. xpos 177
  240. ypos 304
  241. }
  242. end_group