Nessuna descrizione
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.

sb_lensReflections.gizmo 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. #! C:/Program Files/Nuke8.0v5/nuke-8.0.v5.dll -nx
  2. version 8.0 v5
  3. Gizmo {
  4. name sb_LensReflections
  5. inputs 3
  6. tile_color 0x9900ff
  7. addUserKnob {20 sb_lensReflection l "sb LensReflection"}
  8. addUserKnob {4 method M {"generated noise" "dirt plate" ""}}
  9. addUserKnob {26 ""}
  10. addUserKnob {26 noise_controls_text l "<b>noise controls</b>" T " "}
  11. addUserKnob {3 random_seed l "random seed"}
  12. random_seed 1
  13. addUserKnob {7 aspect_ratio l "aspect ratio" R 0 2}
  14. aspect_ratio 1
  15. addUserKnob {41 mix l "breakup noise" T breakup_noise.mix}
  16. addUserKnob {20 noise_controls l "individual noise controls" n 1}
  17. noise_controls 0
  18. addUserKnob {26 noise1_knobs l "noise 1"}
  19. addUserKnob {41 size l x/ysize T Noise1.size}
  20. addUserKnob {41 gain T Noise1.gain}
  21. addUserKnob {41 gamma T Noise1.gamma}
  22. addUserKnob {41 defocus T Defocus1.defocus}
  23. addUserKnob {41 size_1 l blur T Blur1.size}
  24. addUserKnob {41 value l intensity T Multiply1.value}
  25. addUserKnob {26 noise2_knobs l "noise 2"}
  26. addUserKnob {41 size_2 l x/ysize T Noise2.size}
  27. addUserKnob {41 gain_1 l gain T Noise2.gain}
  28. addUserKnob {41 gamma_1 l gamma T Noise2.gamma}
  29. addUserKnob {41 defocus_1 l defocus T Defocus2.defocus}
  30. addUserKnob {41 size_3 l blur T Blur2.size}
  31. addUserKnob {41 value_1 l intensity T Multiply2.value}
  32. addUserKnob {26 noise3_knoba l "noise 3"}
  33. addUserKnob {41 size_4 l x/ysize T Noise3.size}
  34. addUserKnob {41 gain_2 l gain T Noise3.gain}
  35. addUserKnob {41 gamma_2 l gamma T Noise3.gamma}
  36. addUserKnob {41 defocus_2 l defocus T Defocus3.defocus}
  37. addUserKnob {41 size_5 l blur T Blur3.size}
  38. addUserKnob {41 value_2 l intensity T Multiply3.value}
  39. addUserKnob {26 noise4_knobs l "noise 4"}
  40. addUserKnob {41 size_6 l x/ysize T Noise4.size}
  41. addUserKnob {41 gain_3 l gain T Noise4.gain}
  42. addUserKnob {41 gamma_3 l gamma T Noise4.gamma}
  43. addUserKnob {41 defocus_3 l defocus T Defocus4.defocus}
  44. addUserKnob {41 size_7 l blur T Blur4.size}
  45. addUserKnob {41 value_3 l intensity T Multiply4.value}
  46. addUserKnob {26 noise5_knobs l "noise 5"}
  47. addUserKnob {41 size_8 l x/ysize T Noise5.size}
  48. addUserKnob {41 gain_4 l gain T Noise5.gain}
  49. addUserKnob {41 gamma_4 l gamma T Noise5.gamma}
  50. addUserKnob {41 defocus_4 l defocus T Defocus5.defocus}
  51. addUserKnob {41 size_9 l blur T Blur5.size}
  52. addUserKnob {41 value_4 l intensity T Multiply5.value}
  53. addUserKnob {20 endGroup n -1}
  54. addUserKnob {26 dirtPlate_text l "<b>dirt plate controls</b>" +HIDDEN T " "}
  55. addUserKnob {41 blackpoint_1 l blackpoint +HIDDEN T Grade3.blackpoint}
  56. addUserKnob {41 whitepoint_1 l whitepoint +HIDDEN T Grade3.whitepoint}
  57. addUserKnob {41 gamma_5 l gamma +HIDDEN T Grade3.gamma}
  58. addUserKnob {41 saturation_1 l saturation +HIDDEN T Saturation2.saturation}
  59. addUserKnob {26 ""}
  60. addUserKnob {26 luma_controls l "<b>luma key controls</b>" T " "}
  61. addUserKnob {41 blackpoint T luma_grade.blackpoint}
  62. addUserKnob {41 whitepoint T luma_grade.whitepoint}
  63. addUserKnob {41 value_6 l multiply T Multiply6.value}
  64. addUserKnob {41 size_11 l blur T luma_blur.size}
  65. addUserKnob {26 ""}
  66. addUserKnob {26 overall_controls l "<b>overall controls</b>" T ""}
  67. addUserKnob {41 value_5 l "color (intensity)" T overall_col.value}
  68. addUserKnob {41 saturation T Saturation1.saturation}
  69. addUserKnob {41 size_10 l blur T overall_blur.size}
  70. addUserKnob {18 ca l "chromatic aberration"}
  71. ca {-0.003 0 0.003}
  72. addUserKnob {6 ca_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  73. addUserKnob {26 ""}
  74. addUserKnob {4 output_method l output M {result "dirt map" "luma matte" "noise 1" "noise 2" "noise 3" "noise 4" "noise 5" "" "" "" ""}}
  75. }
  76. BackdropNode {
  77. inputs 0
  78. name BackdropNode2
  79. tile_color 0x2b544cff
  80. label "generated noise map"
  81. note_font_size 92
  82. xpos -4918
  83. ypos -2375
  84. bdwidth 2203
  85. bdheight 1604
  86. }
  87. BackdropNode {
  88. inputs 0
  89. name BackdropNode3
  90. tile_color 0x3b4735ff
  91. label "noise map"
  92. note_font_size 92
  93. xpos -8012
  94. ypos -2110
  95. bdwidth 2160
  96. bdheight 3954
  97. }
  98. BackdropNode {
  99. inputs 0
  100. name BackdropNode4
  101. tile_color 0x414744ff
  102. label "overall controls"
  103. note_font_size 92
  104. xpos -3289
  105. ypos 2301
  106. bdwidth 921
  107. bdheight 1888
  108. }
  109. BackdropNode {
  110. inputs 0
  111. name BackdropNode1
  112. tile_color 0x274732ff
  113. label "luma key"
  114. note_font_size 92
  115. xpos -1471
  116. ypos 3962
  117. bdwidth 672
  118. bdheight 1306
  119. }
  120. Reformat {
  121. inputs 0
  122. type "to box"
  123. box_width {{"\[exists parent.input0] ? parent.input0.width : root.width"}}
  124. box_height {{"\[exists parent.input0] ? parent.input0.height : root.height"}}
  125. box_fixed true
  126. name Reformat1
  127. xpos -4718
  128. ypos -2124
  129. }
  130. Dot {
  131. name Dot8
  132. xpos -4684
  133. ypos -1659
  134. }
  135. set N72b9edf0 [stack 0]
  136. Dot {
  137. name Dot10
  138. xpos -4341
  139. ypos -1659
  140. }
  141. set N72b9f160 [stack 0]
  142. Dot {
  143. name Dot11
  144. xpos -4078
  145. ypos -1659
  146. }
  147. set N72b9f4d0 [stack 0]
  148. Dot {
  149. name Dot12
  150. xpos -3806
  151. ypos -1659
  152. }
  153. set N72b9f840 [stack 0]
  154. Dot {
  155. name Dot13
  156. xpos -3519
  157. ypos -1659
  158. }
  159. set N72b9fbb0 [stack 0]
  160. Noise {
  161. size 3.125
  162. zoffset {{parent.random_seed*1.87}}
  163. gain 0.7
  164. gamma 0.3
  165. center {1024 576}
  166. name Noise5
  167. xpos -3553
  168. ypos -1494
  169. }
  170. Defocus {
  171. channels rgba
  172. defocus 3.125
  173. ratio {{parent.aspect_ratio}}
  174. name Defocus5
  175. xpos -3553
  176. ypos -1397
  177. }
  178. Blur {
  179. channels rgba
  180. size 3
  181. name Blur5
  182. xpos -3553
  183. ypos -1303
  184. }
  185. Multiply {
  186. value 0.5
  187. name Multiply5
  188. xpos -3553
  189. ypos -1181
  190. }
  191. set N72ba0ce0 [stack 0]
  192. PostageStamp {
  193. name PostageStamp5
  194. xpos 424
  195. ypos 8422
  196. hide_input true
  197. postage_stamp true
  198. }
  199. push $N72b9f840
  200. Noise {
  201. size 6.25
  202. zoffset {{parent.random_seed*0.1}}
  203. gain 0.7
  204. gamma 0.03
  205. center {1024 576}
  206. name Noise4
  207. xpos -3840
  208. ypos -1496
  209. }
  210. Defocus {
  211. channels rgba
  212. defocus 6.25
  213. ratio {{parent.aspect_ratio}}
  214. name Defocus4
  215. xpos -3840
  216. ypos -1397
  217. }
  218. Blur {
  219. channels rgba
  220. size 3
  221. name Blur4
  222. xpos -3840
  223. ypos -1305
  224. }
  225. Multiply {
  226. name Multiply4
  227. xpos -3840
  228. ypos -1187
  229. }
  230. set N72ba2180 [stack 0]
  231. PostageStamp {
  232. name PostageStamp4
  233. xpos 279
  234. ypos 8422
  235. hide_input true
  236. postage_stamp true
  237. }
  238. push $N72b9f4d0
  239. Noise {
  240. size 12.5
  241. zoffset {{"parent.random_seed * 2.1"}}
  242. gain 0.7
  243. gamma 0.03
  244. center {1024 576}
  245. name Noise3
  246. xpos -4112
  247. ypos -1500
  248. }
  249. Defocus {
  250. channels rgba
  251. defocus 12.5
  252. ratio {{parent.aspect_ratio}}
  253. name Defocus3
  254. xpos -4112
  255. ypos -1390
  256. }
  257. Blur {
  258. channels rgba
  259. size 2
  260. name Blur3
  261. xpos -4112
  262. ypos -1310
  263. }
  264. Multiply {
  265. name Multiply3
  266. xpos -4112
  267. ypos -1195
  268. }
  269. set N72ba3620 [stack 0]
  270. PostageStamp {
  271. name PostageStamp3
  272. xpos 145
  273. ypos 8431
  274. hide_input true
  275. postage_stamp true
  276. }
  277. push $N72b9f160
  278. Noise {
  279. size 25
  280. zoffset {{parent.random_seed*0.4}}
  281. gain 0.7
  282. gamma 0.03
  283. center {1024 576}
  284. name Noise2
  285. xpos -4375
  286. ypos -1499
  287. }
  288. Defocus {
  289. channels rgba
  290. defocus 25
  291. ratio {{parent.aspect_ratio}}
  292. name Defocus2
  293. xpos -4375
  294. ypos -1392
  295. }
  296. Blur {
  297. channels rgba
  298. size 2
  299. name Blur2
  300. xpos -4375
  301. ypos -1308
  302. }
  303. Multiply {
  304. name Multiply2
  305. xpos -4375
  306. ypos -1189
  307. }
  308. set N72ba4ac0 [stack 0]
  309. PostageStamp {
  310. name PostageStamp2
  311. xpos 15
  312. ypos 8455
  313. hide_input true
  314. postage_stamp true
  315. }
  316. push $N72b9edf0
  317. Noise {
  318. size 50
  319. zoffset {{parent.random_seed*1.2}}
  320. gain 0.8
  321. gamma 0.06
  322. center {1024 576}
  323. name Noise1
  324. xpos -4718
  325. ypos -1491
  326. }
  327. Defocus {
  328. channels rgba
  329. defocus 50
  330. ratio {{parent.aspect_ratio}}
  331. name Defocus1
  332. xpos -4718
  333. ypos -1395
  334. }
  335. Blur {
  336. channels rgba
  337. size 2
  338. name Blur1
  339. xpos -4718
  340. ypos -1246
  341. }
  342. Multiply {
  343. value 0.9
  344. name Multiply1
  345. xpos -4718
  346. ypos -1160
  347. }
  348. set N72ba5f60 [stack 0]
  349. PostageStamp {
  350. name PostageStamp1
  351. xpos -131
  352. ypos 8482
  353. hide_input true
  354. postage_stamp true
  355. }
  356. Input {
  357. inputs 0
  358. name img
  359. label "\[value number]"
  360. xpos 1041
  361. ypos -3949
  362. }
  363. Dot {
  364. name Dot36
  365. xpos 1075
  366. ypos 1266
  367. }
  368. set N72ba69b0 [stack 0]
  369. Dot {
  370. name Dot22
  371. xpos -1213
  372. ypos 1266
  373. }
  374. Dot {
  375. name Dot20
  376. xpos -1213
  377. ypos 2160
  378. }
  379. set N72ba7090 [stack 0]
  380. Colorspace {
  381. colorspace_out HSL
  382. name Colorspace1
  383. xpos -1271
  384. ypos 4385
  385. }
  386. Shuffle {
  387. red blue
  388. green blue
  389. alpha blue
  390. name Shuffle1
  391. xpos -1271
  392. ypos 4465
  393. }
  394. Grade {
  395. channels alpha
  396. blackpoint 0.3
  397. whitepoint 0.5
  398. white_clamp true
  399. name luma_grade
  400. xpos -1271
  401. ypos 4531
  402. }
  403. Multiply {
  404. channels alpha
  405. name Multiply6
  406. xpos -1271
  407. ypos 4567
  408. }
  409. Blur {
  410. channels alpha
  411. size 150
  412. name luma_blur
  413. xpos -1271
  414. ypos 4664
  415. }
  416. Shuffle {
  417. red alpha
  418. green alpha
  419. blue alpha
  420. name Shuffle4
  421. xpos -1271
  422. ypos 4811
  423. }
  424. Dot {
  425. name Dot4
  426. xpos -1237
  427. ypos 5042
  428. }
  429. set N72ba88a0 [stack 0]
  430. push $N72ba7090
  431. Blur {
  432. size {{int(input.bbox.width/10)}}
  433. name Blur8
  434. xpos -2604
  435. ypos 2536
  436. }
  437. Input {
  438. inputs 0
  439. name dirt_plate
  440. xpos -7201
  441. ypos -1860
  442. number 1
  443. }
  444. Grade {
  445. name Grade3
  446. xpos -7201
  447. ypos -1103
  448. }
  449. Saturation {
  450. name Saturation2
  451. xpos -7201
  452. ypos -980
  453. }
  454. Dot {
  455. name Dot7
  456. xpos -7167
  457. ypos 1022
  458. }
  459. push $N72b9fbb0
  460. Dot {
  461. name Dot15
  462. xpos -3125
  463. ypos -1659
  464. }
  465. set N72ba9d40 [stack 0]
  466. Noise {
  467. size 26.5
  468. zoffset 1.52
  469. gain 0.67
  470. gamma 0.55
  471. scale {2 3}
  472. center {1024 576}
  473. name Noise7
  474. xpos -3086
  475. ypos -1361
  476. }
  477. push $N72ba9d40
  478. Noise {
  479. size 9.4
  480. zoffset 0.5
  481. scale {3 1}
  482. center {1024 576}
  483. name Noise6
  484. xpos -3227
  485. ypos -1360
  486. }
  487. Merge2 {
  488. inputs 2
  489. operation min
  490. name Max
  491. xpos -3154
  492. ypos -1249
  493. }
  494. push $N72ba0ce0
  495. push $N72ba2180
  496. push $N72ba3620
  497. push $N72ba5f60
  498. Dot {
  499. name Dot6
  500. xpos -4684
  501. ypos -992
  502. }
  503. push $N72ba4ac0
  504. Merge2 {
  505. inputs 2
  506. name Merge9
  507. xpos -4375
  508. ypos -1001
  509. }
  510. Merge2 {
  511. inputs 2
  512. name Merge1
  513. xpos -4112
  514. ypos -1001
  515. }
  516. Merge2 {
  517. inputs 2
  518. name Merge2
  519. xpos -3840
  520. ypos -1001
  521. }
  522. Merge2 {
  523. inputs 2
  524. name Merge3
  525. xpos -3553
  526. ypos -1001
  527. }
  528. Merge2 {
  529. inputs 2
  530. operation multiply
  531. mix 0.4
  532. name breakup_noise
  533. xpos -3154
  534. ypos -1001
  535. }
  536. Dot {
  537. name Dot9
  538. xpos -2927
  539. ypos -992
  540. }
  541. Switch {
  542. inputs 2
  543. which {{parent.method}}
  544. name Switch1
  545. xpos -2961
  546. ypos 1013
  547. }
  548. Merge2 {
  549. inputs 2
  550. operation multiply
  551. name Multiply7
  552. xpos -2961
  553. ypos 2633
  554. }
  555. Shuffle {
  556. alpha black
  557. name Shuffle2
  558. xpos -2961
  559. ypos 2702
  560. }
  561. Multiply {
  562. channels rgb
  563. name overall_col
  564. xpos -2961
  565. ypos 2857
  566. }
  567. Saturation {
  568. name Saturation1
  569. xpos -2961
  570. ypos 2940
  571. }
  572. Blur {
  573. channels rgb
  574. name overall_blur
  575. xpos -2961
  576. ypos 3023
  577. }
  578. GodRays {
  579. channels {rgba.red -rgba.green -rgba.blue none}
  580. scale {{parent.ca.r+1}}
  581. center {{input.width/2} {input.height/2}}
  582. name GodRays1
  583. xpos -2961
  584. ypos 3648
  585. disable {{"parent.ca.r == 0 ? 1 : 0"}}
  586. }
  587. GodRays {
  588. channels {-rgba.red rgba.green -rgba.blue none}
  589. scale {{parent.ca.g+1}}
  590. center {{input.width/2} {input.height/2}}
  591. name GodRays2
  592. xpos -2961
  593. ypos 3726
  594. disable {{"parent.ca.g == 0 ? 1 : 0"}}
  595. }
  596. GodRays {
  597. channels {-rgba.red -rgba.green rgba.blue none}
  598. scale {{"parent.ca.b + 1"}}
  599. center {{input.width/2} {input.height/2}}
  600. name GodRays3
  601. xpos -2961
  602. ypos 3798
  603. disable {{"parent.ca.r == 0 ? 1 : 0"}}
  604. }
  605. Dot {
  606. name Dot18
  607. xpos -2927
  608. ypos 4094
  609. }
  610. set N73030710 [stack 0]
  611. Input {
  612. inputs 0
  613. name mask
  614. label "input number: \[value number]"
  615. xpos 724
  616. ypos 6642
  617. number 2
  618. }
  619. AddChannels {
  620. channels {rgba.alpha none none rgba.alpha}
  621. color 1
  622. name AddChannels3
  623. xpos 724
  624. ypos 6742
  625. disable {{"\[exists parent.input2] ? 1 : 0" x428 1}}
  626. }
  627. Shuffle {
  628. alpha white
  629. name Shuffle5
  630. xpos 724
  631. ypos 6849
  632. disable {{"\[exists parent.input2] ? 1 : 0" x428 1}}
  633. }
  634. push $N72ba88a0
  635. push $N73030710
  636. Merge2 {
  637. inputs 2
  638. operation multiply
  639. Achannels rgb
  640. name Multiply
  641. xpos -2961
  642. ypos 5339
  643. }
  644. Dot {
  645. name Dot3
  646. xpos -2947
  647. ypos 6109
  648. }
  649. push $N72ba69b0
  650. Merge2 {
  651. inputs 2
  652. operation plus
  653. bbox B
  654. Achannels rgb
  655. name Plus1
  656. xpos 1021
  657. ypos 6100
  658. }
  659. push $N72ba69b0
  660. Dot {
  661. name Dot14
  662. xpos 2310
  663. ypos 1266
  664. }
  665. Dot {
  666. name Dot17
  667. xpos 2310
  668. ypos 6690
  669. }
  670. Keymix {
  671. inputs 3
  672. channels rgb
  673. bbox B
  674. name Keymix1
  675. xpos 1021
  676. ypos 6941
  677. }
  678. Switch {
  679. inputs 8
  680. which {{output_method}}
  681. name Switch2
  682. xpos 1021
  683. ypos 8842
  684. }
  685. Output {
  686. name Output1
  687. xpos 1021
  688. ypos 9909
  689. }
  690. end_group