Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. set cut_paste_input [stack 0]
  2. version 10.5 v7
  3. push $cut_paste_input
  4. Group {
  5. name VolumeRays4
  6. tile_color 0xc29b5300
  7. label "Mar 20 2005"
  8. selected true
  9. xpos 11806
  10. ypos 10722
  11. addUserKnob {20 "" l User}
  12. addUserKnob {4 style l "Volumetric Creation" t style M {"RGB Luminance" "Alpha Edges" "Alpha Solid" "Shadow Making"}}
  13. addUserKnob {26 "" l "RGB Options"}
  14. addUserKnob {7 luma_tol l "Luma Tolerance" t luma_tol}
  15. addUserKnob {26 "" l "Alpha Options"}
  16. addUserKnob {7 edge_size l "Edge Size" t "Erode Size" R -10 10}
  17. addUserKnob {14 blur_size l "Edge Blur" t "Blur Size" R 0 100}
  18. blur_size 3
  19. addUserKnob {26 "" l "Volume Options"}
  20. addUserKnob {12 vol_pos l "Volumetrics Center" t vol_pos}
  21. vol_pos {100 100}
  22. addUserKnob {14 raylength l "Ray Length" R 0 100}
  23. raylength 20
  24. addUserKnob {7 pre_blur l "Pre-Ray Blur" R 0 100}
  25. addUserKnob {4 quality l Quality t quality M {Low Medium High "Very High"}}
  26. quality Medium
  27. addUserKnob {6 comp_me l "Add on Top" t comp_me -STARTLINE}
  28. addUserKnob {26 "" l "Flicker Options"}
  29. addUserKnob {6 chk_flicker l "Use Flickering" t chk_flicker -STARTLINE}
  30. chk_flicker true
  31. addUserKnob {7 flicker_speed l "Flicker Speed" t flicker_speed R 0 10}
  32. flicker_speed 2
  33. addUserKnob {7 flicker_size l "Flicker Size" t flicker_size R 0 100}
  34. flicker_size 40
  35. addUserKnob {6 xform_flicker l "Transform noise with Volume Center" t "Use this if your flickering is too much due to the movement of the center of the volume.\nThe noise will move with the point and then the only cause for flickering is the speed of the flicker." -STARTLINE}
  36. addUserKnob {26 "" l "Color Options"}
  37. addUserKnob {6 chk_desat l "Desaturate before Coloring" t chk_desat -STARTLINE}
  38. addUserKnob {18 CCorrect1_gamma l "Volume Gamma" t CCorrect1_gamma R 0.2 5}
  39. CCorrect1_gamma 1
  40. addUserKnob {6 CCorrect1_gamma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  41. addUserKnob {18 CCorrect1_gain l "Volume Gain" t CCorrect1_gain R 0 4}
  42. CCorrect1_gain 1
  43. addUserKnob {6 CCorrect1_gain_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  44. addUserKnob {19 initcolor l "Initial Volume Color" t initcolor R 0 5}
  45. initcolor 1
  46. addUserKnob {6 initcolor_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  47. addUserKnob {19 volume_end_color l "End Volume Color"}
  48. volume_end_color {0 0 0 0}
  49. addUserKnob {6 volume_end_color_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  50. addUserKnob {26 "" l "Radial Falloff"}
  51. addUserKnob {6 chk_radial l "Enable Radial Falloff" -STARTLINE}
  52. chk_radial true
  53. addUserKnob {7 radial_size l "Radial Size" R 100 1000}
  54. radial_size 500
  55. addUserKnob {7 rad_softness l "Radial Falloff"}
  56. rad_softness 1
  57. addUserKnob {26 "" l "Mask Options"}
  58. addUserKnob {6 chk_use_mask l "Enable Mask" -STARTLINE}
  59. addUserKnob {7 mask_blur l "Mask Blur" R 0 100}
  60. addUserKnob {6 chk_xform_mask l "Transform Mask with Volume Center" -STARTLINE}
  61. addUserKnob {26 "" l NOTE: T "The alpha channel is what you need for the mask"}
  62. }
  63. Input {
  64. inputs 0
  65. name img
  66. xpos -382
  67. ypos -462
  68. }
  69. set Nf33158e0 [stack 0]
  70. Dot {
  71. name Dot5
  72. tile_color 0x9597bf00
  73. xpos -486
  74. ypos -486
  75. }
  76. Blur {
  77. channels rgba
  78. size {{parent.raylength*1000 x1 48}}
  79. filter box
  80. quality 1
  81. name Blur3
  82. tile_color 0xcc804e00
  83. xpos -520
  84. ypos 411
  85. }
  86. push $Nf33158e0
  87. Dot {
  88. name Dot1
  89. xpos -348
  90. ypos -399
  91. }
  92. set N127f5e30 [stack 0]
  93. Dot {
  94. name Dot2
  95. xpos -348
  96. ypos -69
  97. }
  98. set N127166f0 [stack 0]
  99. Dot {
  100. name Dot3
  101. tile_color 0x9597bf00
  102. xpos -348
  103. ypos 351
  104. }
  105. Input {
  106. inputs 0
  107. name mask
  108. xpos 218
  109. ypos 53
  110. number 1
  111. }
  112. Shuffle {
  113. red alpha
  114. green alpha
  115. blue alpha
  116. name Shuffle3
  117. tile_color 0x9e3c6300
  118. xpos 218
  119. ypos 108
  120. }
  121. Blur {
  122. size {{mask_blur}}
  123. name Blur2
  124. tile_color 0xcc804e00
  125. label (all)
  126. xpos 218
  127. ypos 131
  128. disable {{!mask_blur}}
  129. }
  130. Transform {
  131. translate {{vol_pos.x} {vol_pos.y}}
  132. center {320 240}
  133. name Transform1
  134. xpos 218
  135. ypos 168
  136. disable {{!chk_xform_mask}}
  137. }
  138. push $N127166f0
  139. Shuffle {
  140. red black
  141. green black
  142. blue black
  143. alpha black
  144. name Shuffle2
  145. tile_color 0x9e3c6300
  146. xpos -202
  147. ypos -72
  148. }
  149. Radial {
  150. area {{vol_pos.x-radial_size} {vol_pos.y-radial_size} {vol_pos.x+radial_size} {vol_pos.y+radial_size}}
  151. softness {{rad_softness}}
  152. name Radial1
  153. tile_color 0xc0c0c000
  154. xpos -202
  155. ypos 48
  156. disable {{!chk_radial}}
  157. }
  158. push $N127f5e30
  159. Shuffle {
  160. red alpha
  161. green alpha
  162. blue alpha
  163. name Shuffle5
  164. tile_color 0x9e3c6300
  165. xpos -202
  166. ypos -222
  167. }
  168. Invert {
  169. channels rgb
  170. name Invert1
  171. tile_color 0x7aa9ff00
  172. xpos -202
  173. ypos -192
  174. }
  175. push $N127f5e30
  176. Shuffle {
  177. red alpha
  178. green alpha
  179. blue alpha
  180. name Shuffle4
  181. tile_color 0x9e3c6300
  182. xpos -202
  183. ypos -282
  184. }
  185. push $N127f5e30
  186. EdgeDetectWrapper {
  187. channels alpha
  188. erodesize {{parent.edge_size}}
  189. blursize {{parent.blur_size}}
  190. name EdgeDetectWrapper1
  191. tile_color 0xcc804e00
  192. label (alpha)
  193. xpos -202
  194. ypos -409
  195. }
  196. Shuffle {
  197. red alpha
  198. green alpha
  199. blue alpha
  200. name Shuffle1
  201. tile_color 0x9e3c6300
  202. xpos -202
  203. ypos -342
  204. }
  205. push $Nf33158e0
  206. Keyer {
  207. operation "luminance key"
  208. range {{luma_tol} 1 1 1}
  209. name Keyer1
  210. tile_color 0xff0000
  211. label (alpha)
  212. xpos -82
  213. ypos -469
  214. }
  215. Premult {
  216. name Premult1
  217. xpos -82
  218. ypos -416
  219. }
  220. Switch {
  221. inputs 4
  222. which {{style}}
  223. name Switch1
  224. xpos -82
  225. ypos -282
  226. }
  227. set Nf19b6420 [stack 0]
  228. Rectangle {
  229. area {0 0 {input.width} {input.height}}
  230. color 0
  231. name Rectangle1
  232. tile_color 0xc0c0c000
  233. xpos 98
  234. ypos -282
  235. }
  236. Noise {
  237. size {{flicker_size i}}
  238. zoffset {{frame/(100/flicker_speed) i}}
  239. gamma 1
  240. translate {{xform_flicker?vol_pos.x:0 i} {xform_flicker?vol_pos.y:0}}
  241. name Noise1
  242. xpos 98
  243. ypos -222
  244. }
  245. Clamp {
  246. name Clamp1
  247. tile_color 0x7aa9ff00
  248. label (all)
  249. xpos 98
  250. ypos -199
  251. }
  252. push $Nf19b6420
  253. Dot {
  254. name Dot4
  255. tile_color 0x9597bf00
  256. xpos -48
  257. ypos -9
  258. }
  259. Merge {
  260. inputs 2
  261. operation mult
  262. bbox B
  263. name Merge2
  264. tile_color 0x4b5ec600
  265. xpos 98
  266. ypos -12
  267. disable {{!chk_flicker}}
  268. }
  269. Saturation {
  270. saturation 0
  271. name Saturation1
  272. tile_color 0x7aa9ff00
  273. xpos 98
  274. ypos 18
  275. disable {{!chk_desat}}
  276. }
  277. Merge {
  278. inputs 2
  279. operation mult
  280. name Merge3
  281. tile_color 0x4b5ec600
  282. xpos 98
  283. ypos 48
  284. disable {{!chk_radial}}
  285. }
  286. Blur {
  287. size {{pre_blur}}
  288. name Blur1
  289. tile_color 0xcc804e00
  290. label (all)
  291. xpos 98
  292. ypos 101
  293. disable {{!pre_blur}}
  294. }
  295. Merge {
  296. inputs 2
  297. operation mult
  298. bbox B
  299. name Merge4
  300. tile_color 0x4b5ec600
  301. xpos 98
  302. ypos 168
  303. disable {{!chk_use_mask}}
  304. }
  305. GodRays {
  306. scale {{raylength.w i} {raylength.h i}}
  307. center {{vol_pos.x i} {vol_pos.y i}}
  308. from_color {{50*initcolor.r i} {50*initcolor.g i} {50*initcolor.b i} {50*initcolor.a i}}
  309. to_color {{volume_end_color.r i} {volume_end_color.g i} {volume_end_color.b i} {volume_end_color.a i}}
  310. steps {{(quality+1)*3+1 i}}
  311. name GodRays2
  312. label (all)
  313. xpos 98
  314. ypos 215
  315. }
  316. ColorCorrect {
  317. gamma {{parent.CCorrect1_gamma.r i} {parent.CCorrect1_gamma.g i} {parent.CCorrect1_gamma.b i} {curve i}}
  318. gain {{parent.CCorrect1_gain.r i} {parent.CCorrect1_gain.g i} {parent.CCorrect1_gain.b i} {curve i}}
  319. name ColorCorrect1
  320. xpos 98
  321. ypos 278
  322. }
  323. Merge {
  324. inputs 2
  325. operation plus
  326. bbox B
  327. name Merge1
  328. tile_color 0x4b5ec600
  329. xpos 98
  330. ypos 321
  331. disable {{!comp_me K x13 0}}
  332. }
  333. Crop {
  334. box {{curve i} {curve i} {img.width i} {img.height}}
  335. name Crop1
  336. xpos 80
  337. ypos 372
  338. }
  339. Output {
  340. name Output1
  341. selected true
  342. xpos 80
  343. ypos 421
  344. }
  345. CopyBBox {
  346. inputs 2
  347. name CopyBBox1
  348. xpos -173
  349. ypos 411
  350. }
  351. end_group
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement