Brak opisu
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.

WipeIt.gizmo 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. # Breakdown dTools
  2. #! C:/Program Files/Nuke6.0v1b6/Nuke6.0.exe -nx
  3. version 6.0 v1b6
  4. Gizmo {
  5. inputs 2
  6. tile_color 0x7f7f7fff
  7. label "\[knob this.start] - \[expression \[knob this.start]+\[knob this.duration]-1]"
  8. addUserKnob {20 wipeit l "Wipe It v1"}
  9. addUserKnob {3 duration l Duration}
  10. duration 24
  11. addUserKnob {3 start l Start -STARTLINE}
  12. start 1
  13. addUserKnob {32 setFrame l "Set Frame" -STARTLINE T "knob this.start \[value frame]"}
  14. addUserKnob {6 soften l Soften +STARTLINE}
  15. soften true
  16. addUserKnob {6 invert l Invert -STARTLINE}
  17. addUserKnob {6 flip l Flip -STARTLINE}
  18. addUserKnob {6 flop l Flop -STARTLINE}
  19. addUserKnob {7 angle l Angle R -180 180}
  20. angle 14
  21. addUserKnob {7 line l Line R 1 10}
  22. line 1
  23. addUserKnob {7 feather l INVISIBLE}
  24. addUserKnob {7 falloff l INVISIBLE R 0 2}
  25. falloff 1
  26. addUserKnob {18 color l Color}
  27. color 0.1
  28. }
  29. Input {
  30. inputs 0
  31. name A
  32. xpos -581
  33. ypos -305
  34. number 1
  35. }
  36. set N1cc0e788 [stack 0]
  37. Rectangle {
  38. area {0 0 {input.width i} {input.height i}}
  39. color {{parent.color.main i} {parent.color.main i} {parent.color.main i} 1}
  40. p1 {100 {input.height i}}
  41. color0 0.048
  42. p0 {100 0}
  43. name Rectangle6
  44. xpos -345
  45. ypos 403
  46. hide_input true
  47. }
  48. Expression {
  49. channel0 none
  50. channel1 none
  51. channel2 none
  52. channel3 alpha
  53. expr3 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle))) / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
  54. name Linear1
  55. xpos -345
  56. ypos 432
  57. }
  58. set N12905a80 [stack 0]
  59. Grade {
  60. channels alpha
  61. blackpoint {{(Math.wipe-(parent.line/2000))-.5 i}}
  62. whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
  63. gamma {{parent.falloff i}}
  64. white_clamp true
  65. name Grade11
  66. xpos -398
  67. ypos 508
  68. }
  69. EdgeBlur {
  70. name EdgeBlur2
  71. xpos -398
  72. ypos 553
  73. }
  74. push $N12905a80
  75. Grade {
  76. channels alpha
  77. blackpoint {{(Math.wipe+(parent.line/2000))-.5 i}}
  78. whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
  79. gamma {{parent.falloff i}}
  80. white_clamp true
  81. name Grade12
  82. xpos -291
  83. ypos 505
  84. }
  85. EdgeBlur {
  86. name EdgeBlur3
  87. xpos -291
  88. ypos 550
  89. }
  90. ChannelMerge {
  91. inputs 2
  92. operation stencil
  93. name ChannelMerge2
  94. xpos -344
  95. ypos 635
  96. }
  97. Grade {
  98. channels alpha
  99. whitepoint 0.5
  100. black_clamp false
  101. name Grade13
  102. xpos -344
  103. ypos 696
  104. }
  105. Mirror {
  106. Horizontal {{parent.flip i}}
  107. Vertical {{parent.flop i}}
  108. name Mirror2
  109. xpos -344
  110. ypos 741
  111. }
  112. Premult {
  113. name Premult1
  114. xpos -344
  115. ypos 829
  116. }
  117. push $N1cc0e788
  118. Dot {
  119. name Dot6
  120. xpos -316
  121. ypos -300
  122. }
  123. NoOp {
  124. name Math
  125. tile_color 0xff00bfff
  126. xpos -350
  127. ypos -244
  128. addUserKnob {20 User}
  129. addUserKnob {7 wipe R 0 2}
  130. wipe {{(clamp(frame,parent.start,(parent.start+parent.duration-1))-parent.start)/(parent.duration-1) i}}
  131. }
  132. Expression {
  133. channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
  134. expr0 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle))) / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
  135. expr1 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle))) / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
  136. expr2 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle))) / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
  137. expr3 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle))) / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
  138. name Linear
  139. xpos -350
  140. ypos -178
  141. }
  142. Grade {
  143. channels rgba
  144. blackpoint {{Math.wipe-.5 i}}
  145. whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
  146. gamma {{parent.falloff i}}
  147. white_clamp true
  148. name Grade1
  149. xpos -350
  150. ypos -149
  151. }
  152. Invert {
  153. name Invert1
  154. xpos -350
  155. ypos -120
  156. disable {{parent.invert i}}
  157. }
  158. Mirror {
  159. Horizontal {{parent.flip i}}
  160. Vertical {{parent.flop i}}
  161. name Mirror1
  162. xpos -350
  163. ypos -75
  164. }
  165. EdgeBlur {
  166. name EdgeBlur1
  167. xpos -350
  168. ypos -46
  169. disable {{!parent.soften i x13 0}}
  170. }
  171. Dot {
  172. name Dot7
  173. xpos -316
  174. ypos 41
  175. }
  176. set N1c6a1458 [stack 0]
  177. Dot {
  178. name Dot5
  179. xpos -426
  180. ypos 41
  181. }
  182. set N1c6b3728 [stack 0]
  183. Dot {
  184. name Dot8
  185. xpos -426
  186. ypos 299
  187. }
  188. push $N1c6a1458
  189. push $N1c6a1458
  190. Blur {
  191. size 100
  192. name Blur1
  193. xpos -279
  194. ypos 103
  195. }
  196. ChannelMerge {
  197. inputs 2
  198. operation stencil
  199. name ChannelMerge1
  200. xpos -350
  201. ypos 194
  202. }
  203. push $N1c6b3728
  204. Input {
  205. inputs 0
  206. name B
  207. xpos -831
  208. ypos -303
  209. }
  210. Shuffle {
  211. alpha white
  212. name Shuffle4
  213. xpos -831
  214. ypos -154
  215. }
  216. set N1c6ca0a8 [stack 0]
  217. push $N1cc0e788
  218. Shuffle {
  219. alpha white
  220. name Shuffle1
  221. xpos -581
  222. ypos -151
  223. }
  224. set N1c6b0868 [stack 0]
  225. Merge2 {
  226. inputs 2+1
  227. metainput A
  228. name Merge2
  229. xpos -581
  230. ypos 36
  231. }
  232. push $N1c6b3728
  233. push $N1c6b0868
  234. push $N1c6ca0a8
  235. Merge2 {
  236. inputs 2+1
  237. name Merge1
  238. xpos -831
  239. ypos 36
  240. }
  241. Switch {
  242. inputs 2
  243. which {{!parent.invert i}}
  244. name Switch1
  245. xpos -697
  246. ypos 126
  247. }
  248. ShuffleCopy {
  249. inputs 2
  250. name ShuffleCopy1
  251. xpos -697
  252. ypos 210
  253. }
  254. ZBlur {
  255. inputs 1+1
  256. channels rgb
  257. Zchan rgba.alpha
  258. math linear
  259. size 10
  260. invert_mask true
  261. name ZBlur1
  262. xpos -697
  263. ypos 294
  264. }
  265. Saturation {
  266. saturation 0.5
  267. maskChannelInput rgba.alpha
  268. name Saturation1
  269. xpos -697
  270. ypos 323
  271. }
  272. Multiply {
  273. channels rgb
  274. value 0
  275. maskChannelInput rgba.alpha
  276. name Multiply1
  277. xpos -697
  278. ypos 368
  279. }
  280. Merge2 {
  281. inputs 2
  282. name Merge3
  283. xpos -697
  284. ypos 829
  285. }
  286. Output {
  287. name Output1
  288. xpos -697
  289. ypos 1002
  290. }
  291. end_group