Ingen beskrivning
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.

Aberration.gizmo 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. # Aberration v1.3
  2. # By Jason Bidwell
  3. # Updated 03-29-2016
  4. Gizmo {
  5. name Aberration
  6. tile_color 0xff7b2cff
  7. selected true
  8. xpos 161
  9. ypos -96
  10. addUserKnob {20 aberration l "Chromatic Aberration"}
  11. addUserKnob {7 colorBalance l "Aberration Multiplier" R -1 1}
  12. colorBalance 0.1
  13. addUserKnob {7 blu l INVISIBLE +INVISIBLE}
  14. blu {{colorBalance+(grn*2)}}
  15. addUserKnob {26 ""}
  16. addUserKnob {7 grn l INVISIBLE +INVISIBLE}
  17. grn {{colorBalance R x1 -0}}
  18. addUserKnob {7 red l INVISIBLE +INVISIBLE}
  19. red {{-1*blu}}
  20. addUserKnob {20 Axial l "Axial Controls" n 1}
  21. addUserKnob {7 abbrRad l Radial R 0 5}
  22. abbrRad 0.25
  23. addUserKnob {7 abbrRot l Rotational R -10 10}
  24. abbrRot 0.25
  25. addUserKnob {20 endGroup n -1}
  26. addUserKnob {26 ""}
  27. addUserKnob {20 Transverse l "Transverse Controls" n 1}
  28. addUserKnob {7 abbrX l "Offset X" R -10 10}
  29. abbrX 1
  30. addUserKnob {7 abbrY l "Offset Y" R -10 10}
  31. abbrY 1
  32. addUserKnob {7 abrTop l Top R -0.01 0.01}
  33. addUserKnob {7 abrBtm l Bottom R -0.01 0.01}
  34. addUserKnob {20 endGroup_1 l endGroup n -1}
  35. addUserKnob {26 ""}
  36. addUserKnob {20 channels_1 l "Channel Filters" n 1}
  37. addUserKnob {7 blend l Blend R 0 100}
  38. blend 70
  39. addUserKnob {7 soft l Soften R 0 100}
  40. soft 10
  41. addUserKnob {41 channels l INVISIBLE +INVISIBLE T channelSelectOffst.channels}
  42. addUserKnob {6 redBypass l "<font color=red> Red <font color=lightgrey> Bypass" t "Bypass red channel" +STARTLINE}
  43. addUserKnob {6 greenBypass l "<font color=green> Green <font color=lightgrey> Bypass" t "Bypass green channel" -STARTLINE}
  44. addUserKnob {6 blueBypass l "<font color=blue> Blue <font color=lightgrey> Bypass" t "Bypass blue channel" -STARTLINE}
  45. addUserKnob {20 endGroup_2 l endGroup n -1}
  46. addUserKnob {26 ""}
  47. addUserKnob {20 mask l "Mask Controls" n 1}
  48. addUserKnob {6 cntrMask l "Use Center Mask" +STARTLINE}
  49. cntrMask true
  50. addUserKnob {7 maskErode l Shape R -300 300}
  51. maskErode 40
  52. addUserKnob {7 maskSoft l Soften R 0 1000.3}
  53. maskSoft 265
  54. addUserKnob {7 scaleMask l Scale R 0.1 2}
  55. scaleMask 0.9
  56. addUserKnob {6 showMask l "Show Mask" +STARTLINE}
  57. addUserKnob {18 maskcolorrgb l "Mask Color"}
  58. maskcolorrgb {1 0 0}
  59. addUserKnob {6 maskcolorrgb_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  60. addUserKnob {41 MaskColor l INVISIBLE +INVISIBLE T Multiply1.value}
  61. addUserKnob {6 mask_1_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  62. addUserKnob {20 endGroup_3 l endGroup n -1}
  63. addUserKnob {26 ""}
  64. addUserKnob {41 which l Mix T DissolveMask.which}
  65. addUserKnob {6 invrt l "Use Mask" -STARTLINE}
  66. addUserKnob {26 "" +STARTLINE}
  67. addUserKnob {26 ver l "" +STARTLINE T "<font color=gray>Aberration by Jason Bidwell v1.3"}
  68. }
  69. Input {
  70. inputs 0
  71. name Image
  72. xpos 828
  73. ypos -326
  74. }
  75. set N5eac5270 [stack 0]
  76. Dot {
  77. name Dot3
  78. xpos 939
  79. ypos 428
  80. }
  81. set N5eac91d0 [stack 0]
  82. push $N5eac91d0
  83. push $N5eac91d0
  84. Input {
  85. inputs 0
  86. name Mask
  87. xpos 263
  88. ypos 274
  89. number 1
  90. }
  91. Roto {
  92. curves {{{v x3f99999a}
  93. {f 0}
  94. {n
  95. {layer Root
  96. {f 512}
  97. {t x44700000 x44070000}
  98. {a}}}}}
  99. toolbox {createBezier {
  100. { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  101. { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  102. { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  103. { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
  104. { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  105. { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  106. { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
  107. { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  108. { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  109. { reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  110. { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  111. { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  112. { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  113. { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  114. { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  115. } }
  116. toolbar_brush_hardness 0.200000003
  117. toolbar_source_transform_scale {1 1}
  118. toolbar_source_transform_center {320 240}
  119. view {}
  120. motionblur_on true
  121. name Roto1
  122. xpos 263
  123. ypos 300
  124. }
  125. Invert {
  126. channels rgba
  127. clamp true
  128. name Invert1
  129. xpos 263
  130. ypos 326
  131. disable {{invrt==0}}
  132. }
  133. push $N5eac5270
  134. push $N5eac5270
  135. Radial {
  136. cliptype none
  137. replace true
  138. area {{curve i} {curve i} {input0.width i} {input0.height i}}
  139. name Radial1
  140. xpos -540
  141. ypos -278
  142. }
  143. Invert {
  144. channels rgba
  145. name Invert2
  146. xpos -540
  147. ypos -252
  148. }
  149. set N5f3093b0 [stack 0]
  150. Dot {
  151. name Dot2
  152. xpos -506
  153. ypos 402
  154. }
  155. push $N5eac5270
  156. Radial {
  157. cliptype none
  158. replace true
  159. area {{curve} {curve} {input0.width} {input0.height}}
  160. name Radial2
  161. xpos 102
  162. ypos -185
  163. }
  164. Transform {
  165. scale {{scaleMask}}
  166. center {{input0.width/2} {input.height/2}}
  167. name scale_mask
  168. xpos 102
  169. ypos -159
  170. }
  171. Clamp {
  172. channels rgba
  173. name Clamp1
  174. xpos 102
  175. ypos -133
  176. }
  177. FilterErode {
  178. channels rgba
  179. size {{-1*maskErode}}
  180. name FilterErode1
  181. xpos 102
  182. ypos -102
  183. }
  184. Blur {
  185. channels rgba
  186. size {{maskSoft}}
  187. name Blur4
  188. xpos 102
  189. ypos -76
  190. }
  191. set N5f2373a0 [stack 0]
  192. push $N5eac5270
  193. Shuffle {
  194. alpha white
  195. name Shuffle1
  196. label "\[knob in]"
  197. xpos 276
  198. ypos -105
  199. }
  200. set N5f2429f0 [stack 0]
  201. Shuffle {
  202. green red
  203. blue red
  204. alpha white
  205. name ShuffleRed1
  206. xpos 153
  207. ypos 22
  208. }
  209. Merge2 {
  210. inputs 2
  211. operation mask
  212. name Merge7
  213. xpos 102
  214. ypos 73
  215. }
  216. push $N5f3093b0
  217. Transform {
  218. translate {{curve R 0 1} {curve R 0 1}}
  219. rotate {{curve R 0 1}}
  220. center {960 540}
  221. motionblur 1
  222. shutteroffset centred
  223. name vectorGen
  224. xpos -482
  225. ypos 147
  226. }
  227. set N5f269ae0 [stack 0]
  228. push $N5f3093b0
  229. push $N5eac5270
  230. Grade {
  231. multiply {{1/parent.channelSelectOffst.multiply}}
  232. black_clamp false
  233. name Grade1
  234. xpos -202
  235. ypos -216
  236. }
  237. Grade {
  238. multiply 34516
  239. black_clamp false
  240. name channelSelectOffst
  241. xpos -202
  242. ypos -190
  243. }
  244. set N44cb9e0 [stack 0]
  245. Shuffle {
  246. green red
  247. blue red
  248. alpha red
  249. name ShuffleRed
  250. xpos -352
  251. ypos -120
  252. }
  253. Transform {
  254. translate {{abbrX*red} {abbrY*red}}
  255. rotate {{abbrRot*(red/10)}}
  256. center {{input0.width/2} {input0.height/2}}
  257. filter Mitchell
  258. clamp true
  259. black_outside false
  260. name abbr_red
  261. xpos -352
  262. ypos -94
  263. }
  264. Transform {
  265. skewX {{abrTop*red}}
  266. center {{input0.width/2} 0}
  267. name abrTop2
  268. xpos -352
  269. ypos -68
  270. }
  271. Transform {
  272. skewX {{abrBtm*red}}
  273. center {{input0.width/2} {input0.height}}
  274. name abrBottom2
  275. xpos -352
  276. ypos -42
  277. }
  278. GodRays {
  279. channels rgb
  280. scale {{1+abbrRad*(red/100)}}
  281. center {{input0.width/2} {input0.height/2}}
  282. steps 10
  283. name RadialAbbr1
  284. xpos -352
  285. ypos 62
  286. }
  287. Blur {
  288. inputs 1+1
  289. channels rgb
  290. size {{soft*red i}}
  291. name Blur1
  292. xpos -352
  293. ypos 88
  294. disable {{usmask==0 i}}
  295. }
  296. MotionBlur2D {
  297. inputs 2
  298. shutteroffset centred
  299. name MotionBlur2D1
  300. xpos -352
  301. ypos 219
  302. }
  303. VectorBlur {
  304. channels rgb
  305. uv forward
  306. scale {{blend*(red/100)}}
  307. name OpticalBlur1
  308. xpos -352
  309. ypos 245
  310. }
  311. Merge2 {
  312. inputs 2
  313. name Merge4
  314. xpos -352
  315. ypos 302
  316. disable {{cntrMask==0}}
  317. }
  318. Dot {
  319. name Dot1
  320. xpos -318
  321. ypos 335
  322. }
  323. push $N5f2373a0
  324. push $N5f2429f0
  325. Shuffle {
  326. red green
  327. blue green
  328. alpha white
  329. name ShuffleGreen1
  330. tile_color 0x2e7435ff
  331. xpos 240
  332. ypos 95
  333. }
  334. Merge2 {
  335. inputs 2
  336. operation mask
  337. name Merge6
  338. xpos 203
  339. ypos 133
  340. }
  341. push $N5f269ae0
  342. push $N5f3093b0
  343. push $N44cb9e0
  344. Shuffle {
  345. red green
  346. blue green
  347. alpha green
  348. name ShuffleGreen
  349. tile_color 0x2e7435ff
  350. xpos -202
  351. ypos -100
  352. }
  353. Transform {
  354. translate {{abbrX*grn} {abbrY*grn}}
  355. rotate {{abbrRot*(grn/10)}}
  356. center {{input0.width/2} {input0.height2}}
  357. filter Mitchell
  358. clamp true
  359. black_outside false
  360. name abbr_green
  361. xpos -202
  362. ypos -74
  363. }
  364. Transform {
  365. skewX {{abrTop*grn}}
  366. center {{input0.width/2} 0}
  367. name abrTop1
  368. xpos -202
  369. ypos -48
  370. }
  371. Transform {
  372. skewX {{abrBtm*grn}}
  373. center {{input0.width/2} {input0.height}}
  374. name abrBottom1
  375. xpos -202
  376. ypos -22
  377. }
  378. GodRays {
  379. channels rgb
  380. scale {{1+abbrRad*(grn/100)}}
  381. center {{input0.width/2} {input0.height/2}}
  382. steps 10
  383. name RadialAbbr2
  384. xpos -202
  385. ypos 68
  386. }
  387. Blur {
  388. inputs 1+1
  389. channels rgb
  390. size {{soft*grn}}
  391. name Blur2
  392. xpos -202
  393. ypos 217
  394. disable {{usmask==0}}
  395. }
  396. MotionBlur2D {
  397. inputs 2
  398. shutteroffset centred
  399. name MotionBlur2D2
  400. xpos -202
  401. ypos 241
  402. }
  403. VectorBlur {
  404. channels rgb
  405. uv forward
  406. scale {{blend*(grn/100)}}
  407. name OpticalBlur2
  408. xpos -202
  409. ypos 265
  410. }
  411. Merge2 {
  412. inputs 2
  413. name Merge3
  414. xpos -202
  415. ypos 305
  416. disable {{cntrMask==0}}
  417. }
  418. ShuffleCopy {
  419. inputs 2
  420. red red
  421. blue black
  422. alpha black
  423. name ShuffleCopy1
  424. xpos -202
  425. ypos 331
  426. }
  427. push $N5f2373a0
  428. push $N5f2429f0
  429. Shuffle {
  430. red blue
  431. green blue
  432. alpha white
  433. name ShuffleBlue1
  434. tile_color 0x1b4274ff
  435. xpos 356
  436. ypos 82
  437. }
  438. Merge2 {
  439. inputs 2
  440. operation mask
  441. name Merge1
  442. xpos 356
  443. ypos 126
  444. }
  445. push $N5f269ae0
  446. push $N5f3093b0
  447. push $N44cb9e0
  448. Shuffle {
  449. red blue
  450. green blue
  451. alpha blue
  452. name ShuffleBlue
  453. tile_color 0x1b4274ff
  454. xpos -26
  455. ypos -96
  456. }
  457. Transform {
  458. translate {{abbrX*blu} {abbrY*blu}}
  459. rotate {{abbrRot*(blu/10)}}
  460. center {{input0.width/2} {input0.height/2}}
  461. filter Rifman
  462. clamp true
  463. black_outside false
  464. name abbr_blue
  465. xpos -26
  466. ypos -70
  467. }
  468. Transform {
  469. skewX {{abrTop*blu}}
  470. center {{input0.width/2} 0}
  471. name abrTop
  472. xpos -26
  473. ypos -44
  474. }
  475. Transform {
  476. skewX {{abrBtm*blu}}
  477. center {{input0.width/2} {input0.height}}
  478. name abrBottom
  479. xpos -26
  480. ypos -18
  481. }
  482. GodRays {
  483. channels rgb
  484. scale {{1+abbrRad*(blu/100)}}
  485. center {{input0.width/2} {input0.height/2}}
  486. steps 10
  487. name RadialAbbr3
  488. xpos -26
  489. ypos 66
  490. }
  491. Blur {
  492. inputs 1+1
  493. channels rgb
  494. size {{soft*blu x1 11.55}}
  495. name Blur3
  496. xpos -26
  497. ypos 92
  498. disable {{usmask==0}}
  499. }
  500. MotionBlur2D {
  501. inputs 2
  502. shutteroffset centred
  503. name MotionBlur2D3
  504. xpos -26
  505. ypos 219
  506. }
  507. VectorBlur {
  508. channels rgb
  509. uv forward
  510. scale {{blend*(blu/100)}}
  511. name OpticalBlur3
  512. xpos -26
  513. ypos 245
  514. }
  515. Merge2 {
  516. inputs 2
  517. name Merge2
  518. xpos -26
  519. ypos 305
  520. disable {{cntrMask==0}}
  521. }
  522. ShuffleCopy {
  523. inputs 2
  524. red red
  525. green green
  526. alpha black
  527. name ShuffleCopy2
  528. xpos -26
  529. ypos 331
  530. }
  531. Sharpen {
  532. inputs 1+1
  533. channels rgb
  534. amount 5
  535. size {{soft*grn/2}}
  536. crop false
  537. mix 0.5
  538. name Sharpen1
  539. xpos -26
  540. ypos 399
  541. disable {{usmask==0 x1 1 1}}
  542. }
  543. Crop {
  544. box {0 0 {Image.width} {Image.height}}
  545. reformat true
  546. crop false
  547. name Crop6
  548. xpos -26
  549. ypos 423
  550. }
  551. Dissolve {
  552. inputs 2+1
  553. which 1
  554. name Dissolve1
  555. xpos 341
  556. ypos 394
  557. }
  558. push $N5eac5270
  559. Dissolve {
  560. inputs 2
  561. channels rgba
  562. which 1
  563. name DissolveMask
  564. xpos 502
  565. ypos 398
  566. }
  567. set N5f5f5e70 [stack 0]
  568. push $N5f2373a0
  569. Multiply {
  570. channels rgba
  571. value {{parent.maskcolorrgb.r} {parent.maskcolorrgb.g} {parent.maskcolorrgb.b} 1}
  572. name Multiply1
  573. xpos 559
  574. ypos 160
  575. }
  576. push $N5eac5270
  577. Merge2 {
  578. inputs 2
  579. name Merge5
  580. xpos 707
  581. ypos 199
  582. }
  583. push $N5f5f5e70
  584. Switch {
  585. inputs 2
  586. which {{showMask}}
  587. name showMask
  588. label "\[value which]"
  589. xpos 648
  590. ypos 388
  591. disable {{"\$gui==0"}}
  592. }
  593. Switch {
  594. inputs 2
  595. which {{cntrMask==0}}
  596. name Switch1
  597. label "\[value which]"
  598. xpos 648
  599. ypos 439
  600. }
  601. ShuffleCopy {
  602. inputs 2
  603. in rgb
  604. in2 rgb
  605. red red
  606. alpha black
  607. name red_bypass
  608. xpos 796
  609. ypos 501
  610. disable {{parent.redBypass==0}}
  611. }
  612. ShuffleCopy {
  613. inputs 2
  614. in rgb
  615. in2 rgb
  616. blue blue
  617. alpha black
  618. name blue_bypass
  619. tile_color 0x3f5493ff
  620. xpos 796
  621. ypos 525
  622. disable {{parent.blueBypass==0}}
  623. }
  624. ShuffleCopy {
  625. inputs 2
  626. in rgb
  627. in2 rgb
  628. green green
  629. alpha black
  630. name green_bypass
  631. tile_color 0x128502ff
  632. xpos 796
  633. ypos 549
  634. disable {{parent.greenBypass==0}}
  635. }
  636. push $N5eac91d0
  637. Copy {
  638. inputs 2
  639. from0 rgba.red
  640. to0 rgba.red
  641. from1 rgba.green
  642. to1 rgba.green
  643. from2 rgba.blue
  644. to2 rgba.blue
  645. name Copy1
  646. selected true
  647. xpos 917
  648. ypos 549
  649. }
  650. set N5f650d80 [stack 0]
  651. Crop {
  652. box {{curve} {curve} {input0.width} {input0.height}}
  653. reformat true
  654. crop false
  655. name Crop1
  656. xpos 1054
  657. ypos 645
  658. }
  659. Output {
  660. name Output1
  661. xpos 1054
  662. ypos 726
  663. }
  664. push $N5f650d80
  665. Viewer {
  666. frame_range 1-100
  667. colour_sample_bbox {0.134375006 -1.293750048 0.137500003 -1.290624976}
  668. name Viewer1
  669. xpos 1201
  670. ypos 595
  671. }
  672. end_group