Guest User

Untitled

a guest
May 23rd, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.13 KB | None | 0 0
  1. set cut_paste_input [stack 0]
  2. version 15.0 v4
  3. BackdropNode {
  4. inputs 0
  5. name BackdropNode1
  6. tile_color 0x8e8e3800
  7. label "crop letterbox"
  8. note_font_size 20
  9. selected true
  10. xpos 229
  11. ypos -175
  12. bdwidth 295
  13. bdheight 105
  14. }
  15. BackdropNode {
  16. inputs 0
  17. name BackdropNode2
  18. tile_color 0x388e8e00
  19. label "colour/contrast prep"
  20. note_font_size 20
  21. selected true
  22. xpos 411
  23. ypos 111
  24. bdwidth 319
  25. bdheight 176
  26. }
  27. BackdropNode {
  28. inputs 0
  29. name BackdropNode3
  30. tile_color 0x71c67100
  31. label "hole filling"
  32. note_font_size 20
  33. selected true
  34. xpos 39
  35. ypos 541
  36. bdwidth 290
  37. bdheight 132
  38. }
  39. BackdropNode {
  40. inputs 0
  41. name BackdropNode4
  42. tile_color 0x8e8e3800
  43. label despill
  44. note_font_size 20
  45. selected true
  46. xpos 229
  47. ypos 232
  48. bdheight 120
  49. }
  50. BackdropNode {
  51. inputs 0
  52. name BackdropNode5
  53. tile_color 0x388e8e00
  54. label "cleanplate gen"
  55. note_font_size 20
  56. selected true
  57. xpos 662
  58. ypos 394
  59. bdwidth 216
  60. bdheight 129
  61. }
  62. BackdropNode {
  63. inputs 0
  64. name BackdropNode6
  65. tile_color 0x388e8e00
  66. label "additive/multiplicative key"
  67. note_font_size 20
  68. selected true
  69. xpos 952
  70. ypos 397
  71. bdwidth 272
  72. bdheight 111
  73. }
  74. BackdropNode {
  75. inputs 0
  76. name BackdropNode7
  77. tile_color 0x8e388e00
  78. label "back 2 src format"
  79. note_font_size 20
  80. selected true
  81. xpos 229
  82. ypos 1138
  83. bdwidth 191
  84. bdheight 166
  85. }
  86. BackdropNode {
  87. inputs 0
  88. name BackdropNode8
  89. tile_color 0x7171c600
  90. label "re-noise\n(use DasGrain!)"
  91. note_font_size 42
  92. selected true
  93. xpos -80
  94. ypos 909
  95. bdwidth 505
  96. bdheight 128
  97. }
  98. Read {
  99. inputs 0
  100. file_type dpx
  101. file H:/_downloads/C0318dpx00.dpx
  102. format "4096 2160 0 0 4096 2160 1 4K_DCP"
  103. origset true
  104. colorspace Cineon
  105. name Read1
  106. selected true
  107. xpos 239
  108. ypos -339
  109. }
  110. Crop {
  111. box {0 204 4096 1956}
  112. reformat true
  113. crop false
  114. name Crop1
  115. selected true
  116. xpos 239
  117. ypos -104
  118. }
  119. set Nfb39ec00 [stack 0]
  120. push $Nfb39ec00
  121. Denoise2 {
  122. amount 10
  123. analysisRegion {1562.5 925 1662.5 1025}
  124. analysisFrame 26
  125. needsAnalyzing false
  126. profileCurve {profile {curve 0 x0.125 0 0 0 0 0 0 0 0}}
  127. serializeKnob "1.968841106e-01 4.453119934e-01 5.138683915e-01
  128. 3.815467644e-04 2.134323731e-04 2.015666978e-04
  129. 3.815467644e-04 2.134323731e-04 2.015666978e-04
  130. 2.876820217e-04 1.945982658e-04 2.175287227e-04
  131. 0.000000000e+00 0.000000000e+00 0.000000000e+00
  132. 2.581764420e-04 1.326758211e-04 7.972344611e-05
  133. 2.581764420e-04 1.326758211e-04 7.972344611e-05
  134. 1.830445981e-04 5.788094495e-05 5.042935300e-05
  135. 0.000000000e+00 0.000000000e+00 0.000000000e+00
  136. 1.801615581e-04 1.264689199e-04 5.248483649e-05
  137. 1.801615581e-04 1.264689199e-04 5.248483649e-05
  138. 1.009575935e-04 4.358672959e-05 2.585154471e-05
  139. 0.000000000e+00 0.000000000e+00 0.000000000e+00
  140. 1.215731536e-04 1.039481576e-04 5.591112858e-05
  141. 1.215731536e-04 1.039481576e-04 5.591112858e-05
  142. 5.399754082e-05 6.153150753e-05 3.088359153e-05
  143. 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00
  144. 7862659915159312622"
  145. name Denoise1
  146. selected true
  147. xpos 239
  148. ypos 18
  149. }
  150. set Nd3d6a800 [stack 0]
  151. Merge2 {
  152. inputs 2
  153. operation minus
  154. name Merge2
  155. selected true
  156. xpos 103
  157. ypos 954
  158. }
  159. Roto {
  160. inputs 0
  161. output alpha
  162. cliptype bbox
  163. curves {{{v x3f99999a}
  164. {f 0}
  165. {n
  166. {layer Root
  167. {f 2097152}
  168. {t x45000000 x445b0000}
  169. {a pt1x 0 pt1y 0 pt2x 0 pt2y 0 pt3x 0 pt3y 0 pt4x 0 pt4y 0 ptex00 0 ptex01 0 ptex02 0 ptex03 0 ptex10 0 ptex11 0 ptex12 0 ptex13 0 ptex20 0 ptex21 0 ptex22 0 ptex23 0 ptex30 0 ptex31 0 ptex32 0 ptex33 0 ptof1x 0 ptof1y 0 ptof2x 0 ptof2y 0 ptof3x 0 ptof3y 0 ptof4x 0 ptof4y 0 pterr 0 ptrefset 0 ptmot x40800000 ptref 0}
  170. {curvegroup Ellipse2 512 bezier
  171. {{cc
  172. {f 8192}
  173. {px x41d00000
  174. {xc38eee8c 0}
  175. {x44564cd2 x445209cb}
  176. {x438eee8c 0}
  177. {0 xc347bb68}
  178. {x44abd9ac x44963999}
  179. {0 x4347bb68}
  180. {x438eee8c 0}
  181. {x44564cd2 x44c36e4d}
  182. {xc38eee8c 0}
  183. {0 x4347bb68}
  184. {x43a9cc96 x44963999}
  185. {0 xc347bb68}}}
  186. {cc
  187. {f 8192}
  188. {px x41d00000
  189. {xc38eee8c 0}
  190. {0 0}
  191. {x438eee8c 0}
  192. {0 xc347bb68}
  193. {0 0}
  194. {0 x4347bb68}
  195. {x438eee8c 0}
  196. {0 0}
  197. {xc38eee8c 0}
  198. {0 x4347bb68}
  199. {0 0}
  200. {0 xc347bb68}}}}
  201. {tx x41d00000 x44508000 x44952000}
  202. {a osw x41200000 osf 0 str 1 spx x45000000 spy x445b0000 sb 1 ltn x41d00000 ltm x41d00000 tt x40e00000}}
  203. {curvegroup Ellipse1 512 bezier
  204. {{cc
  205. {f 8192}
  206. {px x41d00000
  207. {xc38cd530 0}
  208. {x450f8ccf x43d34ccc}
  209. {x438cd520 0}
  210. {0 xc3699dd0}
  211. {x452f6ccf x44536666}
  212. {0 x43699dd0}
  213. {x438cd520 0}
  214. {x450f8ccf x449e9333}
  215. {xc38cd530 0}
  216. {0 x43699dd0}
  217. {x44df599b x44536666}
  218. {0 xc3699dd0}}}
  219. {cc
  220. {f 8192}
  221. {px x41d00000
  222. {xc38cd530 0}
  223. {0 0}
  224. {x438cd520 0}
  225. {0 xc3699dd0}
  226. {0 0}
  227. {0 x43699dd0}
  228. {x438cd520 0}
  229. {0 0}
  230. {xc38cd530 0}
  231. {0 x43699dd0}
  232. {0 0}
  233. {0 xc3699dd0}}}}
  234. {tx x41d00000 x45084000 x4460c000}
  235. {a osw x41200000 osf 0 str 1 spx x45000000 spy x445b0000 sb 1 ltn x41d00000 ltm x41d00000 tt x40e00000}}}}}}
  236. toolbox {selectAll {
  237. { selectAll str 1 ssx 1 ssy 1 sf 1 }
  238. { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  239. { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  240. { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  241. { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 tt 7 }
  242. { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  243. { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  244. { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
  245. { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  246. { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  247. { reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  248. { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  249. { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  250. { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  251. { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  252. { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  253. } }
  254. toolbar_brush_hardness 0.200000003
  255. toolbar_source_transform_scale {1 1}
  256. toolbar_source_transform_center {2048 876}
  257. colorOverlay {0 0 0 0}
  258. lifetime_type "all frames"
  259. lifetime_start 26
  260. lifetime_end 26
  261. motionblur_shutter_offset_type centred
  262. source_black_outside true
  263. name Roto1
  264. selected true
  265. xpos 1256
  266. ypos 419
  267. }
  268. Blur {
  269. size 15
  270. name Blur1
  271. label "\[value size]"
  272. selected true
  273. xpos 1256
  274. ypos 471
  275. }
  276. push $Nd3d6a800
  277. Dot {
  278. name Dot1
  279. selected true
  280. xpos 273
  281. ypos 171
  282. }
  283. set Nfb39f000 [stack 0]
  284. Dot {
  285. name Dot2
  286. selected true
  287. xpos 594
  288. ypos 171
  289. }
  290. ColorCorrect {
  291. contrast 2
  292. gamma 0.9
  293. gain 1.1
  294. name ColorCorrect1
  295. selected true
  296. xpos 560
  297. ypos 202
  298. }
  299. Group {
  300. name Tweaky
  301. tile_color 0xff5594ff
  302. selected true
  303. xpos 560
  304. ypos 250
  305. addUserKnob {20 Controls}
  306. addUserKnob {26 wb l "white balance"}
  307. addUserKnob {18 wb_white l white t "Select a white area to set a neutral whitepoint"}
  308. wb_white {1 1 1}
  309. addUserKnob {6 wb_white_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  310. addUserKnob {18 wb_black l black t "Select a black (or close to) area to help with a proper whitebalance"}
  311. wb_black {0 0 0}
  312. addUserKnob {6 wb_black_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  313. addUserKnob {6 wb_black_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  314. addUserKnob {6 wb_white_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  315. addUserKnob {7 wb_slider l "wb slider" t "Classic slider to change whitebalance, in case you can't pick a neutral colour" R -1 1}
  316. wb_slider 1.6
  317. addUserKnob {7 tint_slider l tint t "Adjusts the tint (green/magenta)" R -1 1}
  318. addUserKnob {26 tweaks}
  319. addUserKnob {7 hue_slider l hue t "Adjusts the hue; works in degrees, so 360 is a full turn :)" R 0 360}
  320. addUserKnob {7 vibrance_slider l vibrance t "Adjusts the vibrance of the colour" R 0 2}
  321. vibrance_slider 1.5
  322. addUserKnob {7 highlights_slider l highlights t "Adjusts gain of the highlights" R 0 2}
  323. highlights_slider 1
  324. addUserKnob {7 shadows_slider l shadows t "Adjusts gain of the shadows" R 0 2}
  325. shadows_slider 1
  326. addUserKnob {26 credit t "lp_Tweaky v1.0\n(c)2019 lucas pfaff" -STARTLINE +INVISIBLE T "­¾\1\t\"CݺðWÄ"}
  327. }
  328. Input {
  329. inputs 0
  330. name img
  331. xpos 829
  332. ypos 111
  333. }
  334. Grade {
  335. blackpoint {{wb_white} {wb_white} {wb_white} {wb_white}}
  336. whitepoint {{wb_black} {wb_black} {wb_black} {wb_black}}
  337. black {{(blackpoint.r+blackpoint.g+blackpoint.b)/3}}
  338. white {{(whitepoint.r+whitepoint.g+whitepoint.b)/3}}
  339. name Grade1
  340. label "wb picker"
  341. xpos 829
  342. ypos 255
  343. }
  344. Colorspace {
  345. colorspace_out CIE-XYZ
  346. name Colorspace1
  347. label "\[value colorspace_in] > \[value colorspace_out]"
  348. xpos 829
  349. ypos 319
  350. }
  351. Grade {
  352. channels {-rgba.red -rgba.green rgba.blue none}
  353. white {{wb_slider+1}}
  354. black_clamp false
  355. name Grade2
  356. label "wb slider"
  357. xpos 829
  358. ypos 382
  359. }
  360. Grade {
  361. channels {-rgba.red rgba.green -rgba.blue none}
  362. white {{tint_slider+1}}
  363. black_clamp false
  364. name Grade3
  365. label "tint slider"
  366. xpos 829
  367. ypos 452
  368. }
  369. Colorspace {
  370. colorspace_in CIE-XYZ
  371. name Colorspace2
  372. label "\[value colorspace_in] > \[value colorspace_out]"
  373. xpos 829
  374. ypos 551
  375. }
  376. Colorspace {
  377. colorspace_out HSL
  378. name Colorspace3
  379. label "\[value colorspace_in] > \[value colorspace_out]"
  380. xpos 829
  381. ypos 721
  382. }
  383. Grade {
  384. channels {rgba.red -rgba.green -rgba.blue none}
  385. add {{hue_slider/360}}
  386. black_clamp false
  387. name Grade4
  388. label "hue\n"
  389. xpos 829
  390. ypos 793
  391. }
  392. Grade {
  393. channels {-rgba.red rgba.green -rgba.blue none}
  394. gamma {{vibrance_slider}}
  395. black_clamp false
  396. name Grade5
  397. label vibrance
  398. xpos 829
  399. ypos 903
  400. }
  401. Colorspace {
  402. colorspace_in HSL
  403. name Colorspace4
  404. label "\[value colorspace_in] > \[value colorspace_out]"
  405. xpos 829
  406. ypos 1008
  407. }
  408. Dot {
  409. name Dot3
  410. xpos 863
  411. ypos 1057
  412. }
  413. set N275fcc00 [stack 0]
  414. Dot {
  415. name Dot6
  416. xpos 1067
  417. ypos 1057
  418. }
  419. Keyer {
  420. operation "luminance key"
  421. name Keyer1
  422. xpos 1033
  423. ypos 1095
  424. }
  425. Grade {
  426. channels alpha
  427. blackpoint 0.5
  428. black_clamp false
  429. name Grade8
  430. label "\[value channels]"
  431. xpos 1033
  432. ypos 1145
  433. }
  434. Dot {
  435. name Dot4
  436. xpos 1067
  437. ypos 1215
  438. }
  439. set Nde89ec00 [stack 0]
  440. Invert {
  441. channels alpha
  442. name Invert1
  443. xpos 1033
  444. ypos 1258
  445. }
  446. Dot {
  447. name Dot5
  448. xpos 1067
  449. ypos 1305
  450. }
  451. push $Nde89ec00
  452. push $N275fcc00
  453. Grade {
  454. inputs 1+1
  455. white {{highlights_slider}}
  456. name Grade6
  457. label highlights
  458. xpos 829
  459. ypos 1208
  460. }
  461. Grade {
  462. inputs 1+1
  463. white {{shadows_slider}}
  464. name Grade7
  465. label shadows
  466. xpos 829
  467. ypos 1298
  468. }
  469. Output {
  470. name Output1
  471. xpos 829
  472. ypos 1482
  473. }
  474. end_group
  475. Dot {
  476. name Dot5
  477. selected true
  478. xpos 594
  479. ypos 311
  480. }
  481. set N39383400 [stack 0]
  482. Dot {
  483. name Dot7
  484. selected true
  485. xpos 766
  486. ypos 311
  487. }
  488. set N39383800 [stack 0]
  489. IBKColourV3 {
  490. name IBKColourV3_1
  491. selected true
  492. xpos 732
  493. ypos 483
  494. screen_type green
  495. Size 1
  496. mult {1 1.2 1}
  497. erode 1
  498. multi 20
  499. }
  500. push $N39383800
  501. Dot {
  502. name Dot6
  503. selected true
  504. xpos 888
  505. ypos 311
  506. }
  507. CheckerBoard2 {
  508. inputs 0
  509. name CheckerBoard1
  510. selected true
  511. xpos 962
  512. ypos 81
  513. }
  514. Group {
  515. name Tweaky1
  516. tile_color 0xff5594ff
  517. selected true
  518. xpos 962
  519. ypos 196
  520. addUserKnob {20 Controls}
  521. addUserKnob {26 wb l "white balance"}
  522. addUserKnob {18 wb_white l white t "Select a white area to set a neutral whitepoint"}
  523. wb_white {1 1 1}
  524. addUserKnob {6 wb_white_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  525. addUserKnob {18 wb_black l black t "Select a black (or close to) area to help with a proper whitebalance"}
  526. wb_black {0 0 0}
  527. addUserKnob {6 wb_black_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  528. addUserKnob {6 wb_black_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  529. addUserKnob {6 wb_white_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  530. addUserKnob {7 wb_slider l "wb slider" t "Classic slider to change whitebalance, in case you can't pick a neutral colour" R -1 1}
  531. wb_slider -0.2
  532. addUserKnob {7 tint_slider l tint t "Adjusts the tint (green/magenta)" R -1 1}
  533. addUserKnob {26 tweaks}
  534. addUserKnob {7 hue_slider l hue t "Adjusts the hue; works in degrees, so 360 is a full turn :)" R 0 360}
  535. addUserKnob {7 vibrance_slider l vibrance t "Adjusts the vibrance of the colour" R 0 2}
  536. vibrance_slider 1.3
  537. addUserKnob {7 highlights_slider l highlights t "Adjusts gain of the highlights" R 0 2}
  538. highlights_slider 1
  539. addUserKnob {7 shadows_slider l shadows t "Adjusts gain of the shadows" R 0 2}
  540. shadows_slider 1
  541. addUserKnob {26 credit t "lp_Tweaky v1.0\n(c)2019 lucas pfaff" -STARTLINE +INVISIBLE T "­¾\1\t\"CݺðWÄ"}
  542. }
  543. Input {
  544. inputs 0
  545. name img
  546. xpos 829
  547. ypos 111
  548. }
  549. Grade {
  550. blackpoint {{wb_white} {wb_white} {wb_white} {wb_white}}
  551. whitepoint {{wb_black} {wb_black} {wb_black} {wb_black}}
  552. black {{(blackpoint.r+blackpoint.g+blackpoint.b)/3}}
  553. white {{(whitepoint.r+whitepoint.g+whitepoint.b)/3}}
  554. name Grade1
  555. label "wb picker"
  556. xpos 829
  557. ypos 255
  558. }
  559. Colorspace {
  560. colorspace_out CIE-XYZ
  561. name Colorspace1
  562. label "\[value colorspace_in] > \[value colorspace_out]"
  563. xpos 829
  564. ypos 319
  565. }
  566. Grade {
  567. channels {-rgba.red -rgba.green rgba.blue none}
  568. white {{wb_slider+1}}
  569. black_clamp false
  570. name Grade2
  571. label "wb slider"
  572. xpos 829
  573. ypos 382
  574. }
  575. Grade {
  576. channels {-rgba.red rgba.green -rgba.blue none}
  577. white {{tint_slider+1}}
  578. black_clamp false
  579. name Grade3
  580. label "tint slider"
  581. xpos 829
  582. ypos 452
  583. }
  584. Colorspace {
  585. colorspace_in CIE-XYZ
  586. name Colorspace2
  587. label "\[value colorspace_in] > \[value colorspace_out]"
  588. xpos 829
  589. ypos 551
  590. }
  591. Colorspace {
  592. colorspace_out HSL
  593. name Colorspace3
  594. label "\[value colorspace_in] > \[value colorspace_out]"
  595. xpos 829
  596. ypos 721
  597. }
  598. Grade {
  599. channels {rgba.red -rgba.green -rgba.blue none}
  600. add {{hue_slider/360}}
  601. black_clamp false
  602. name Grade4
  603. label "hue\n"
  604. xpos 829
  605. ypos 793
  606. }
  607. Grade {
  608. channels {-rgba.red rgba.green -rgba.blue none}
  609. gamma {{vibrance_slider}}
  610. black_clamp false
  611. name Grade5
  612. label vibrance
  613. xpos 829
  614. ypos 903
  615. }
  616. Colorspace {
  617. colorspace_in HSL
  618. name Colorspace4
  619. label "\[value colorspace_in] > \[value colorspace_out]"
  620. xpos 829
  621. ypos 1008
  622. }
  623. Dot {
  624. name Dot3
  625. xpos 863
  626. ypos 1057
  627. }
  628. set N4991b800 [stack 0]
  629. Dot {
  630. name Dot6
  631. xpos 1067
  632. ypos 1057
  633. }
  634. Keyer {
  635. operation "luminance key"
  636. name Keyer1
  637. xpos 1033
  638. ypos 1095
  639. }
  640. Grade {
  641. channels alpha
  642. blackpoint 0.5
  643. black_clamp false
  644. name Grade8
  645. label "\[value channels]"
  646. xpos 1033
  647. ypos 1145
  648. }
  649. Dot {
  650. name Dot4
  651. xpos 1067
  652. ypos 1215
  653. }
  654. set N852b8800 [stack 0]
  655. Invert {
  656. channels alpha
  657. name Invert1
  658. xpos 1033
  659. ypos 1258
  660. }
  661. Dot {
  662. name Dot5
  663. xpos 1067
  664. ypos 1305
  665. }
  666. push $N852b8800
  667. push $N4991b800
  668. Grade {
  669. inputs 1+1
  670. white {{highlights_slider}}
  671. name Grade6
  672. label highlights
  673. xpos 829
  674. ypos 1208
  675. }
  676. Grade {
  677. inputs 1+1
  678. white {{shadows_slider}}
  679. name Grade7
  680. label shadows
  681. xpos 829
  682. ypos 1298
  683. }
  684. Output {
  685. name Output1
  686. xpos 829
  687. ypos 1482
  688. }
  689. end_group
  690. Group {
  691. inputs 4
  692. name HairKey
  693. knobChanged "n = nuke.thisNode()\nk = nuke.thisKnob()\n\n\nif k.name() in ('bgPrep', 'showPanel'):\n operation = n\['bgPrep'].value()\n if operation == 'colour choice':\n n\['bgCol'].setVisible(True)\n n\['bgSpread'].setVisible(False)\n \n elif operation == 'plate colour':\n n\['bgCol'].setVisible(False)\n n\['bgSpread'].setVisible(True)\n \n else:\n n\['bgCol'].setVisible(False)\n n\['bgSpread'].setVisible(False)\n\nif k.name() in ('despalg', 'showPanel'):\n operation = n\['despalg'].value()\n if operation == 'none':\n n\['screencolour1'].setVisible(False)\n \n else:\n n\['screencolour1'].setVisible(True)\n \nif k.name() in ('blendmode', 'showPanel'):\n operation = n\['blendmode'].value()\n if operation == 'divide - multiply' or operation == 'divide - multiply2':\n n\['hairgamma'].setVisible(False)\n \n else:\n n\['hairgamma'].setVisible(True)"
  694. tile_color 0xfff721ff
  695. label "\[value blendmode]"
  696. selected true
  697. xpos 962
  698. ypos 477
  699. addUserKnob {20 Controls}
  700. addUserKnob {4 blendmode l "hair type" t "Sets the operation how to gain and how to apply the detail; depending on the type of hair, one works better than the other (e.g. subtracting and adding/screening is good for bright hair, multiplying that result is better for dark hair).\nThe two different divide-multiply modes dictate if the plate gets divided by the cleanplate or vice versa." M {"subtract - plus" "subtract - screen" "subtract - multiply" "divide - multiply" "divide - multiply2"}}
  701. blendmode "divide - multiply2"
  702. addUserKnob {4 screencolour1 l "screen colour" t "Selects the screen colour which is important for the despill-operation. If the input is already despilled, set the despill to \"none\".\n\nNote: if despill is set to \"none\", the background preparation won't work as expected." -STARTLINE M {R G B "" "" "" ""}}
  703. screencolour1 G
  704. addUserKnob {4 logprocess l "process in" t "Changes the processing from lin to log." -STARTLINE M {linear log "" ""}}
  705. addUserKnob {26 sep00 l "" +STARTLINE T " "}
  706. addUserKnob {4 bgPrep l "bg preparation" t "Applies a preparation of the background before the actual effect is applied.\n\nNote: if despill is set to \"none\", the background preparation won't work as expected." M {darken "plate colour" "colour choice" "" "" ""}}
  707. bgPrep "plate colour"
  708. addUserKnob {7 backprep l mix t "Mix for the bg preparation" -STARTLINE}
  709. backprep 0.5
  710. addUserKnob {7 bgSpread l spread t "Adjusts the spread for the original plate colour. You want to increase this for frizzy hair, but generally keep it as low as you can" R 0 5}
  711. addUserKnob {18 bgCol l "colour choice" t "Select the colour for your colour choice of the bg preparation" +HIDDEN}
  712. bgCol {0.15 0.12 0.1}
  713. addUserKnob {6 bgCol_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  714. addUserKnob {26 sep01 l " " T " "}
  715. addUserKnob {4 despalg l despill t "Sets the despill algorithm for the operation (despills source and cleanplate alike). \n\nIf your connected clips are already despilled, set it to 'none'. In this config, the background preparation won't work as expected." M {none average max min ""}}
  716. despalg min
  717. addUserKnob {18 hairgain l gain t "Sets the gain of the operation, boosts or dampens the effect, or tone it with individual colour controls." R 0 3}
  718. hairgain 0.7
  719. addUserKnob {6 hairgain_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  720. addUserKnob {6 hairgain_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  721. addUserKnob {6 hairgain_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
  722. addUserKnob {18 hairgamma l gamma t "Sets the gamma for the apllied information." +HIDDEN R 0 3}
  723. hairgamma 1
  724. addUserKnob {6 hairgamma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  725. addUserKnob {6 hairgamma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
  726. addUserKnob {41 saturation t "(De)saturates the apllied effect. Can be handy if it's boosted a lot." T Saturation1.saturation}
  727. addUserKnob {26 sep02 l " " T " "}
  728. addUserKnob {6 invmask l "invert mask" t "Inverts the connected mask." +STARTLINE}
  729. addUserKnob {26 credit t "lp_HairKey v1.4\n(c)2020 lucas pfaff" -STARTLINE +INVISIBLE T "lp_HairKey v1.4\n(c)2020 lucas pfaff"}
  730. }
  731. Input {
  732. inputs 0
  733. name mask
  734. xpos 1308
  735. ypos -425
  736. number 3
  737. }
  738. Invert {
  739. name Invert2
  740. xpos 1308
  741. ypos -341
  742. disable {{1-invmask}}
  743. }
  744. Switch {
  745. which {{"\[exists parent.input3]?0:1"}}
  746. name Switch9
  747. xpos 1308
  748. ypos -267
  749. }
  750. Dot {
  751. name Dot38
  752. xpos 1342
  753. ypos -173
  754. }
  755. set N35642000 [stack 0]
  756. Dot {
  757. name Dot37
  758. xpos 1342
  759. ypos 492
  760. }
  761. set N35642400 [stack 0]
  762. Dot {
  763. name Dot20
  764. xpos 1342
  765. ypos 711
  766. }
  767. set N35642800 [stack 0]
  768. Dot {
  769. name Dot19
  770. xpos 1342
  771. ypos 756
  772. }
  773. set N35642c00 [stack 0]
  774. Dot {
  775. name Dot11
  776. xpos 1342
  777. ypos 805
  778. }
  779. Input {
  780. inputs 0
  781. name img
  782. xpos 141
  783. ypos -1292
  784. number 1
  785. }
  786. Colorspace {
  787. colorspace_out Cineon
  788. name Colorspace2
  789. label "\[value colorspace_in] -> \[value colorspace_out]"
  790. xpos 141
  791. ypos -973
  792. disable {{1-logprocess}}
  793. }
  794. Dot {
  795. name Dot6
  796. xpos 175
  797. ypos -814
  798. }
  799. set N35643c00 [stack 0]
  800. Dot {
  801. name Dot8
  802. xpos 293
  803. ypos -813
  804. }
  805. set N362b6000 [stack 0]
  806. Dot {
  807. name Dot22
  808. xpos 506
  809. ypos -813
  810. }
  811. set N362b6400 [stack 0]
  812. Expression {
  813. expr2 b>min(rg)?min(r,g):b
  814. name Expression16
  815. label "blue min"
  816. xpos 530
  817. ypos -753
  818. }
  819. push $N362b6400
  820. Expression {
  821. expr1 g>min(r,b)?min(r,b):g
  822. name Expression17
  823. label "green min"
  824. xpos 472
  825. ypos -713
  826. }
  827. push $N362b6400
  828. Expression {
  829. expr0 r>min(g,b)?min(g,b):r
  830. name Expression18
  831. label "red min"
  832. xpos 419
  833. ypos -753
  834. }
  835. Switch {
  836. inputs 3
  837. which {{screencolour1}}
  838. name Switch10
  839. xpos 472
  840. ypos -635
  841. }
  842. push $N362b6000
  843. Expression {
  844. expr2 b>max(rg)?max(r,g):b
  845. name Expression2
  846. label "blue max"
  847. xpos 313
  848. ypos -749
  849. }
  850. push $N362b6000
  851. Expression {
  852. expr1 g>max(r,b)?max(r,b):g
  853. name Expression8
  854. label "green max"
  855. xpos 259
  856. ypos -711
  857. }
  858. push $N362b6000
  859. Expression {
  860. expr0 r>max(g,b)?max(g,b):r
  861. name Expression9
  862. label "red max"
  863. xpos 211
  864. ypos -750
  865. }
  866. Switch {
  867. inputs 3
  868. which {{screencolour1}}
  869. name Switch5
  870. xpos 259
  871. ypos -628
  872. }
  873. push $N35643c00
  874. Dot {
  875. name Dot3
  876. xpos 47
  877. ypos -814
  878. }
  879. set N1b55e800 [stack 0]
  880. Expression {
  881. expr2 b>(r+g)/2?(r+g)/2:b
  882. name Expression3
  883. label "blue avg"
  884. xpos 75
  885. ypos -753
  886. }
  887. push $N1b55e800
  888. Expression {
  889. expr1 g>(r+b)/2?(r+b)/2:g
  890. name Expression1
  891. label "green avg"
  892. xpos 13
  893. ypos -715
  894. }
  895. push $N1b55e800
  896. Expression {
  897. expr0 r>(g+b)/2?(g+b)/2:r
  898. name Expression4
  899. label "red avg"
  900. xpos -50
  901. ypos -753
  902. }
  903. Switch {
  904. inputs 3
  905. which {{screencolour1}}
  906. name Switch2
  907. tile_color 0xcbcbcbff
  908. xpos 13
  909. ypos -627
  910. }
  911. push $N35643c00
  912. Switch {
  913. inputs 4
  914. which {{despalg}}
  915. name Switch4
  916. xpos 139
  917. ypos -532
  918. }
  919. Dot {
  920. name Dot24
  921. xpos 173
  922. ypos -474
  923. }
  924. set N3baa4000 [stack 0]
  925. Dot {
  926. name Dot29
  927. xpos 173
  928. ypos -364
  929. }
  930. set N3baa4400 [stack 0]
  931. Colorspace {
  932. colorspace_out HSV
  933. name Colorspace9
  934. xpos 139
  935. ypos -281
  936. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  937. }
  938. Grade {
  939. channels {rgba.red -rgba.green -rgba.blue none}
  940. add 0.5
  941. black_clamp false
  942. name Grade3
  943. xpos 139
  944. ypos -257
  945. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  946. }
  947. Colorspace {
  948. colorspace_in HSV
  949. name Colorspace10
  950. xpos 139
  951. ypos -233
  952. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  953. }
  954. Dot {
  955. name Dot40
  956. xpos 173
  957. ypos -42
  958. }
  959. set N3baa5400 [stack 0]
  960. Dot {
  961. name Dot43
  962. xpos 270
  963. ypos -42
  964. }
  965. set N3baa5800 [stack 0]
  966. Dot {
  967. name Dot47
  968. xpos 361
  969. ypos -42
  970. }
  971. Input {
  972. inputs 0
  973. name cleanplate
  974. xpos -837
  975. ypos -1290
  976. number 2
  977. }
  978. Colorspace {
  979. colorspace_out Cineon
  980. name Colorspace3
  981. label "\[value colorspace_in] -> \[value colorspace_out]"
  982. xpos -837
  983. ypos -979
  984. disable {{1-logprocess}}
  985. }
  986. Dot {
  987. name Dot4
  988. xpos -803
  989. ypos -822
  990. }
  991. set N3598e800 [stack 0]
  992. Dot {
  993. name Dot9
  994. xpos -685
  995. ypos -821
  996. }
  997. set N3598ec00 [stack 0]
  998. Dot {
  999. name Dot21
  1000. xpos -475
  1001. ypos -821
  1002. }
  1003. set N3598f000 [stack 0]
  1004. Expression {
  1005. expr2 b>min(rg)?min(r,g):b
  1006. name Expression13
  1007. label "blue min"
  1008. xpos -451
  1009. ypos -761
  1010. }
  1011. push $N3598f000
  1012. Expression {
  1013. expr1 g>min(r,b)?min(r,b):g
  1014. name Expression14
  1015. label "green min"
  1016. xpos -509
  1017. ypos -721
  1018. }
  1019. push $N3598f000
  1020. Expression {
  1021. expr0 r>min(g,b)?min(g,b):r
  1022. name Expression15
  1023. label "red min"
  1024. xpos -562
  1025. ypos -761
  1026. }
  1027. Switch {
  1028. inputs 3
  1029. which {{screencolour1}}
  1030. name Switch1
  1031. xpos -509
  1032. ypos -643
  1033. }
  1034. push $N3598ec00
  1035. Expression {
  1036. expr2 b>max(rg)?max(r,g):b
  1037. name Expression5
  1038. label "blue max"
  1039. xpos -664
  1040. ypos -758
  1041. }
  1042. push $N3598ec00
  1043. Expression {
  1044. expr1 g>max(r,b)?max(r,b):g
  1045. name Expression6
  1046. label "green max"
  1047. xpos -719
  1048. ypos -719
  1049. }
  1050. push $N3598ec00
  1051. Expression {
  1052. expr0 r>max(g,b)?max(g,b):r
  1053. name Expression7
  1054. label "red max"
  1055. xpos -772
  1056. ypos -759
  1057. }
  1058. Switch {
  1059. inputs 3
  1060. which {{screencolour1}}
  1061. name Switch3
  1062. xpos -719
  1063. ypos -638
  1064. }
  1065. push $N3598e800
  1066. Dot {
  1067. name Dot10
  1068. xpos -931
  1069. ypos -822
  1070. }
  1071. set N42bff400 [stack 0]
  1072. Expression {
  1073. expr2 b>(r+g)/2?(r+g)/2:b
  1074. name Expression10
  1075. label "blue avg"
  1076. xpos -903
  1077. ypos -761
  1078. }
  1079. push $N42bff400
  1080. Expression {
  1081. expr1 g>(r+b)/2?(r+b)/2:g
  1082. name Expression11
  1083. label "green avg"
  1084. xpos -965
  1085. ypos -723
  1086. }
  1087. push $N42bff400
  1088. Expression {
  1089. expr0 r>(g+b)/2?(g+b)/2:r
  1090. name Expression12
  1091. label "red avg"
  1092. xpos -1028
  1093. ypos -761
  1094. }
  1095. Switch {
  1096. inputs 3
  1097. which {{screencolour1}}
  1098. name Switch6
  1099. xpos -965
  1100. ypos -638
  1101. }
  1102. push $N3598e800
  1103. Switch {
  1104. inputs 4
  1105. which {{despalg}}
  1106. name Switch7
  1107. xpos -839
  1108. ypos -553
  1109. }
  1110. Dot {
  1111. name Dot26
  1112. xpos -805
  1113. ypos -473
  1114. }
  1115. set N269aac00 [stack 0]
  1116. Colorspace {
  1117. colorspace_out HSV
  1118. name Colorspace5
  1119. xpos -839
  1120. ypos -418
  1121. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  1122. }
  1123. Grade {
  1124. channels {rgba.red -rgba.green -rgba.blue none}
  1125. add 0.5
  1126. black_clamp false
  1127. name Grade1
  1128. xpos -839
  1129. ypos -394
  1130. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  1131. }
  1132. Colorspace {
  1133. colorspace_in HSV
  1134. name Colorspace6
  1135. xpos -839
  1136. ypos -370
  1137. disable {{(Multiply1.value<0?0:blendmode==2?0:1) x791 1}}
  1138. }
  1139. Dot {
  1140. name Dot2
  1141. xpos -805
  1142. ypos 11
  1143. }
  1144. Dot {
  1145. name Dot39
  1146. xpos 39
  1147. ypos 11
  1148. }
  1149. set N34c5a000 [stack 0]
  1150. Dot {
  1151. name Dot41
  1152. xpos 39
  1153. ypos 57
  1154. }
  1155. set N34c5a400 [stack 0]
  1156. Dot {
  1157. name Dot46
  1158. xpos 39
  1159. ypos 111
  1160. }
  1161. Merge2 {
  1162. inputs 2
  1163. operation divide
  1164. name Merge11
  1165. xpos 327
  1166. ypos 108
  1167. }
  1168. set N34c5ac00 [stack 0]
  1169. push $N34c5a400
  1170. push $N3baa5800
  1171. Merge2 {
  1172. inputs 2
  1173. operation divide
  1174. name Merge10
  1175. xpos 236
  1176. ypos 54
  1177. }
  1178. Switch {
  1179. inputs 2
  1180. which {{"blendmode==4 ? 1 : 0"}}
  1181. name Switch13
  1182. xpos 236
  1183. ypos 167
  1184. }
  1185. Gamma {
  1186. value {{"hairgain <= 0 ? 100 : 1/hairgain"}}
  1187. name Gamma2
  1188. xpos 236
  1189. ypos 212
  1190. }
  1191. Dot {
  1192. name Dot45
  1193. xpos 270
  1194. ypos 330
  1195. }
  1196. push $N34c5a000
  1197. push $N3baa5400
  1198. Merge2 {
  1199. inputs 2
  1200. operation from
  1201. name Merge2
  1202. xpos 139
  1203. ypos 8
  1204. }
  1205. Multiply {
  1206. value {{hairgain} {hairgain} {hairgain} {hairgain}}
  1207. name Multiply1
  1208. xpos 139
  1209. ypos 190
  1210. }
  1211. Gamma {
  1212. value {{hairgamma}}
  1213. name Gamma1
  1214. xpos 139
  1215. ypos 266
  1216. }
  1217. Switch {
  1218. inputs 2
  1219. which {{"blendmode>=3 ? 1 : 0"}}
  1220. name Switch12
  1221. xpos 139
  1222. ypos 327
  1223. }
  1224. set N1b646c00 [stack 0]
  1225. Invert {
  1226. name Invert1
  1227. xpos 139
  1228. ypos 377
  1229. disable {{blendmode==2?0:1 x791 1}}
  1230. }
  1231. Colorspace {
  1232. colorspace_out HSV
  1233. name Colorspace7
  1234. xpos 139
  1235. ypos 449
  1236. disable {{"(Multiply1.value<0&&blendmode==2 || Switch12.which==1&blendmode==3 ? 0:1)" x791 1}}
  1237. }
  1238. Grade {
  1239. channels {rgba.red -rgba.green -rgba.blue none}
  1240. add 0.5
  1241. black_clamp false
  1242. name Grade2
  1243. xpos 139
  1244. ypos 473
  1245. disable {{"(Multiply1.value<0&&blendmode==2 || Switch12.which==1&blendmode==3 ? 0:1)" x791 1}}
  1246. }
  1247. Colorspace {
  1248. colorspace_in HSV
  1249. name Colorspace8
  1250. xpos 139
  1251. ypos 497
  1252. disable {{"(Multiply1.value<0&&blendmode==2 || Switch12.which==1&blendmode==3 ? 0:1)" x791 1}}
  1253. }
  1254. Saturation {
  1255. saturation 0.2
  1256. mode Average
  1257. name Saturation1
  1258. xpos 139
  1259. ypos 544
  1260. }
  1261. Dot {
  1262. name Dot1
  1263. xpos 173
  1264. ypos 711
  1265. }
  1266. Dot {
  1267. name Dot7
  1268. xpos 732
  1269. ypos 711
  1270. }
  1271. set N42f66800 [stack 0]
  1272. Dot {
  1273. name Dot15
  1274. xpos 732
  1275. ypos 805
  1276. }
  1277. push $N35642400
  1278. push $N3baa4000
  1279. push $N1b55e800
  1280. Dot {
  1281. name Dot23
  1282. xpos -129
  1283. ypos -814
  1284. }
  1285. Merge2 {
  1286. inputs 2
  1287. operation from
  1288. name Merge6
  1289. xpos -163
  1290. ypos -477
  1291. disable {{"despalg > 0 ? 0 : 1"}}
  1292. }
  1293. Saturation {
  1294. saturation 0
  1295. name Saturation2
  1296. xpos -163
  1297. ypos -430
  1298. }
  1299. push $N269aac00
  1300. push $N3598f000
  1301. Dot {
  1302. name Dot25
  1303. xpos -324
  1304. ypos -821
  1305. }
  1306. Merge2 {
  1307. inputs 2
  1308. operation from
  1309. name Merge7
  1310. xpos -358
  1311. ypos -476
  1312. disable {{"despalg > 0 ? 0 : 1"}}
  1313. }
  1314. Saturation {
  1315. saturation 0
  1316. name Saturation3
  1317. xpos -358
  1318. ypos -429
  1319. }
  1320. Merge2 {
  1321. inputs 2
  1322. operation divide
  1323. name Merge5
  1324. xpos -358
  1325. ypos -361
  1326. }
  1327. Clamp {
  1328. name Clamp1
  1329. xpos -358
  1330. ypos -272
  1331. }
  1332. Dot {
  1333. name Dot27
  1334. xpos -324
  1335. ypos -173
  1336. }
  1337. Dot {
  1338. name Dot28
  1339. xpos 463
  1340. ypos -173
  1341. }
  1342. set Nde39400 [stack 0]
  1343. Dot {
  1344. name Dot42
  1345. xpos 463
  1346. ypos -87
  1347. }
  1348. push $N3baa4400
  1349. Dot {
  1350. name Dot30
  1351. xpos 562
  1352. ypos -364
  1353. }
  1354. Copy {
  1355. inputs 2
  1356. from0 rgba.red
  1357. to0 rgba.alpha
  1358. name Copy1
  1359. xpos 528
  1360. ypos -94
  1361. }
  1362. Invert {
  1363. channels alpha
  1364. name Invert3
  1365. xpos 528
  1366. ypos -6
  1367. }
  1368. Dot {
  1369. name Dot32
  1370. xpos 562
  1371. ypos 66
  1372. }
  1373. set N3e152800 [stack 0]
  1374. Dot {
  1375. name Dot33
  1376. xpos 461
  1377. ypos 66
  1378. }
  1379. Dot {
  1380. name Dot31
  1381. xpos 461
  1382. ypos 324
  1383. }
  1384. push $Nde39400
  1385. Dot {
  1386. name Dot36
  1387. xpos 707
  1388. ypos -173
  1389. }
  1390. set N3e153400 [stack 0]
  1391. Grade {
  1392. white 0
  1393. add {{bgCol} {bgCol} {bgCol} {bgCol}}
  1394. black_clamp false
  1395. name Grade4
  1396. label "\[value channels]"
  1397. xpos 673
  1398. ypos 127
  1399. }
  1400. Dot {
  1401. name Dot35
  1402. xpos 707
  1403. ypos 264
  1404. }
  1405. push $N3e152800
  1406. Premult {
  1407. name Premult1
  1408. xpos 528
  1409. ypos 108
  1410. }
  1411. Blur {
  1412. size {{(input.width*input.height)/60000*bgSpread}}
  1413. name Blur1
  1414. label "\[value size]"
  1415. xpos 528
  1416. ypos 146
  1417. }
  1418. Unpremult {
  1419. name Unpremult1
  1420. xpos 528
  1421. ypos 205
  1422. }
  1423. Switch {
  1424. inputs 2
  1425. which {{"bgPrep > 1 ? 1 : 0 "}}
  1426. name Switch11
  1427. xpos 528
  1428. ypos 261
  1429. }
  1430. Copy {
  1431. inputs 2
  1432. from0 rgba.alpha
  1433. to0 rgba.alpha
  1434. name Copy2
  1435. xpos 528
  1436. ypos 317
  1437. }
  1438. Premult {
  1439. name Premult2
  1440. xpos 528
  1441. ypos 377
  1442. }
  1443. Dot {
  1444. name Dot34
  1445. xpos 562
  1446. ypos 492
  1447. }
  1448. push $N35642000
  1449. push $N3e153400
  1450. Input {
  1451. inputs 0
  1452. name bg
  1453. xpos 841
  1454. ypos -408
  1455. }
  1456. Colorspace {
  1457. colorspace_out Cineon
  1458. name Colorspace1
  1459. label "\[value colorspace_in] -> \[value colorspace_out]"
  1460. xpos 841
  1461. ypos -319
  1462. disable {{1-logprocess}}
  1463. }
  1464. Merge2 {
  1465. inputs 2+1
  1466. operation multiply
  1467. mix {{backprep}}
  1468. name Merge8
  1469. xpos 841
  1470. ypos -176
  1471. disable {{"bgPrep == 0 ? 0 : 1"}}
  1472. }
  1473. Merge2 {
  1474. inputs 2+1
  1475. mix {{backprep}}
  1476. name Merge9
  1477. xpos 841
  1478. ypos 489
  1479. disable {{"bgPrep > 0 ? 0 : 1"}}
  1480. }
  1481. Dot {
  1482. name Dot5
  1483. xpos 875
  1484. ypos 679
  1485. }
  1486. set N2d09ec00 [stack 0]
  1487. Dot {
  1488. name Dot12
  1489. xpos 985
  1490. ypos 679
  1491. }
  1492. set N2d09f000 [stack 0]
  1493. Dot {
  1494. name Dot13
  1495. xpos 1095
  1496. ypos 679
  1497. }
  1498. Merge2 {
  1499. inputs 2+1
  1500. operation multiply
  1501. name Merge4
  1502. xpos 1061
  1503. ypos 802
  1504. }
  1505. Dot {
  1506. name Dot14
  1507. xpos 1095
  1508. ypos 835
  1509. }
  1510. set N2d09fc00 [stack 0]
  1511. Dot {
  1512. name Dot44
  1513. xpos 1095
  1514. ypos 870
  1515. }
  1516. push $N2d09fc00
  1517. push $N35642c00
  1518. push $N42f66800
  1519. Dot {
  1520. name Dot17
  1521. xpos 789
  1522. ypos 711
  1523. }
  1524. set N43efa400 [stack 0]
  1525. Dot {
  1526. name Dot16
  1527. xpos 789
  1528. ypos 756
  1529. }
  1530. push $N2d09f000
  1531. Merge2 {
  1532. inputs 2+1
  1533. operation screen
  1534. name Merge3
  1535. xpos 951
  1536. ypos 753
  1537. }
  1538. Dot {
  1539. name Dot18
  1540. xpos 985
  1541. ypos 835
  1542. }
  1543. push $N35642800
  1544. push $N43efa400
  1545. push $N2d09ec00
  1546. Merge2 {
  1547. inputs 2+1
  1548. operation plus
  1549. name Merge1
  1550. xpos 841
  1551. ypos 708
  1552. }
  1553. Switch {
  1554. inputs 4
  1555. which {{blendmode}}
  1556. name Switch8
  1557. xpos 841
  1558. ypos 867
  1559. }
  1560. Colorspace {
  1561. colorspace_in Cineon
  1562. name Colorspace4
  1563. label "\[value colorspace_in] -> \[value colorspace_out]"
  1564. xpos 841
  1565. ypos 1116
  1566. disable {{1-logprocess}}
  1567. }
  1568. Output {
  1569. name Output1
  1570. xpos 841
  1571. ypos 1267
  1572. }
  1573. push $N34c5ac00
  1574. push $N1b646c00
  1575. Viewer {
  1576. inputs 2
  1577. frame_range 1-1369
  1578. fps 25
  1579. colour_sample_bbox {-1.860839844 0.01220703125 -1.860351562 0.0126953125}
  1580. viewerProcess "rec709 (default)"
  1581. name Viewer1
  1582. selected true
  1583. xpos -1118
  1584. ypos -25
  1585. }
  1586. end_group
  1587. Shuffle2 {
  1588. fromInput1 {{0} B}
  1589. fromInput2 {{0} B}
  1590. mappings "4 rgba.red 0 0 rgba.red 0 0 rgba.green 0 1 rgba.green 0 1 rgba.blue 0 2 rgba.blue 0 2 white -1 -1 rgba.alpha 0 3"
  1591. name Shuffle1
  1592. selected true
  1593. xpos 962
  1594. ypos 581
  1595. }
  1596. Dot {
  1597. name Dot4
  1598. selected true
  1599. xpos 996
  1600. ypos 855
  1601. }
  1602. Roto {
  1603. inputs 0
  1604. output alpha
  1605. cliptype bbox
  1606. curves {{{v x3f99999a}
  1607. {f 0}
  1608. {n
  1609. {layer Root
  1610. {f 2097152}
  1611. {t x45000000 x445b0000}
  1612. {a pt1x 0 pt1y 0 pt2x 0 pt2y 0 pt3x 0 pt3y 0 pt4x 0 pt4y 0 ptex00 0 ptex01 0 ptex02 0 ptex03 0 ptex10 0 ptex11 0 ptex12 0 ptex13 0 ptex20 0 ptex21 0 ptex22 0 ptex23 0 ptex30 0 ptex31 0 ptex32 0 ptex33 0 ptof1x 0 ptof1y 0 ptof2x 0 ptof2y 0 ptof3x 0 ptof3y 0 ptof4x 0 ptof4y 0 pterr 0 ptrefset 0 ptmot x40800000 ptref 0}
  1613. {curvegroup Bezier3 512 bezier
  1614. {{cc
  1615. {f 8192}
  1616. {px x41d00000
  1617. {x437ffff0 xc1e00000}
  1618. {x457ac001 x44a90000}
  1619. {xc3800000 x41e00000}
  1620. {x41900000 x42880000}
  1621. {x4511e4cd x4445f332}
  1622. {xc1900000 xc2880000}
  1623. {xc2780000 x42500000}
  1624. {x4517ae68 x433d4cd0}
  1625. {x42780000 xc2500000}
  1626. {xc2d00000 xc1c00000}
  1627. {x456e0001 x444d8000}
  1628. {x42d00000 x41c00000}
  1629. {x41600000 xc2dc0000}
  1630. {x45848000 x44748000}
  1631. {xc1600000 x42dc0000}}} idem}
  1632. {tx x41d00000 x45624ccd x4472199a}
  1633. {a osw x41200000 osf 0 str 1 spx x45000000 spy x445b0000 sb 1 ltn x41d00000 ltm x41d00000 tt x40800000}}
  1634. {curvegroup Bezier2 512 bezier
  1635. {{cc
  1636. {f 8192}
  1637. {px x41d00000
  1638. {xc0400000 0}
  1639. {x44facccc x44580001}
  1640. {x40400000 0}
  1641. {xc0400000 x40e00000}
  1642. {x45017000 x4417c000}
  1643. {x40400000 xc0e00000}
  1644. {xc0a00000 x41000000}
  1645. {x45072000 x43e20000}
  1646. {x40a00000 xc1000000}
  1647. {xc0000000 xbf800000}
  1648. {x4509d000 x43950000}
  1649. {x40000000 1}
  1650. {xc1600000 0}
  1651. {x450eb000 x432a0000}
  1652. {x41600000 0}
  1653. {xc1700000 xc1000000}
  1654. {x45184000 x43814ccd}
  1655. {x41700000 x41000000}
  1656. {x42300000 xc2f00000}
  1657. {x451f6b33 x4448999a}
  1658. {xc2300000 x42f00000}
  1659. {x428c0000 xc0000000}
  1660. {x45150800 x44817ccd}
  1661. {xc28c0000 x40000000}
  1662. {x42180000 x42580000}
  1663. {x4508a000 x447a0000}
  1664. {xc2180000 xc2580000}}} idem}
  1665. {tx x41d00000 x450ec71c x440e31c7}
  1666. {a osw x41200000 osf 0 str 1 spx x45000000 spy x445b0000 sb 1 ltn x41d00000 ltm x41d00000 tt x40800000}}
  1667. {curvegroup Bezier1 512 bezier
  1668. {{cc
  1669. {f 8192}
  1670. {px x41d00000
  1671. {0 x40000000}
  1672. {x441d8000 x44710000}
  1673. {0 xc0000000}
  1674. {xc2300000 x42800000}
  1675. {x44180000 x444c0000}
  1676. {x42300000 xc2800000}
  1677. {xc0800000 x41a00000}
  1678. {x44318000 x43db0000}
  1679. {x40800000 xc1a00000}
  1680. {xc2280000 xc2100000}
  1681. {x44838000 x43970000}
  1682. {x42280000 x42100000}
  1683. {xc1200000 xc2180000}
  1684. {x44884000 x44010000}
  1685. {x41200000 x42180000}
  1686. {xc1c00000 xc2080000}
  1687. {x448b4000 x44168000}
  1688. {x41c00000 x42080000}
  1689. {xc0000000 xc1f00000}
  1690. {x4492c000 x442f0000}
  1691. {x40000000 x41f00000}
  1692. {0 xc1200000}
  1693. {x44924000 x44748000}
  1694. {0 x41200000}
  1695. {x41d00000 xc1200000}
  1696. {x4488c000 x44870000}
  1697. {xc1d00000 x41200000}}} idem}
  1698. {tx x41d00000 x44700e39 x4431aaab}
  1699. {a osw x41200000 osf 0 str 1 spx x45000000 spy x445b0000 sb 1 ltn x41d00000 ltm x41d00000 tt x40800000}}}}}}
  1700. toolbox {selectAll {
  1701. { selectAll str 1 ssx 1 ssy 1 sf 1 }
  1702. { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  1703. { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1704. { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1705. { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1706. { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1707. { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1708. { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1709. { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1710. { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1711. { reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1712. { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1713. { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1714. { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1715. { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1716. { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  1717. } }
  1718. toolbar_brush_hardness 0.200000003
  1719. toolbar_source_transform_scale {1 1}
  1720. toolbar_source_transform_center {2048 876}
  1721. colorOverlay {0 0 0 0}
  1722. lifetime_type "all frames"
  1723. lifetime_start 26
  1724. lifetime_end 26
  1725. motionblur_shutter_offset_type centred
  1726. source_black_outside true
  1727. name Roto2
  1728. selected true
  1729. xpos 49
  1730. ypos 627
  1731. }
  1732. push $N39383400
  1733. OFXuk.co.thefoundry.keylight.keylight_v201 {
  1734. show "Final Result"
  1735. unPreMultiply false
  1736. screenColour {0.1358989328 0.1762240827 0.08229259402}
  1737. screenGain 1
  1738. screenBalance 0.5
  1739. alphaBias {0.5 0.5 0.5}
  1740. despillBias {0.5 0.5 0.5}
  1741. gangBiases true
  1742. preBlur 0
  1743. "Screen Matte" 1
  1744. screenClipMin 0.2
  1745. screenClipMax 1
  1746. screenClipRollback 0
  1747. screenGrowShrink 0
  1748. screenSoftness 1
  1749. screenDespotBlack 0
  1750. screenDespotWhite 0
  1751. screenReplaceMethod "Soft Colour"
  1752. screenReplaceColour {0.5 0.5 0.5}
  1753. Tuning 0
  1754. midPoint 0.5
  1755. lowGain 1
  1756. midGain 1
  1757. highGain 1
  1758. "Inside Mask" 0
  1759. sourceAlphaHandling Ignore
  1760. insideReplaceMethod "Soft Colour"
  1761. insideReplaceColour {0.5 0.5 0.5}
  1762. Crops 0
  1763. SourceXMethod Colour
  1764. SourceYMethod Colour
  1765. SourceEdgeColour 0
  1766. SourceCropL 0
  1767. SourceCropR 1
  1768. SourceCropB 0
  1769. SourceCropT 1
  1770. balanceSet false
  1771. insideComponent None
  1772. outsideComponent None
  1773. cacheBreaker true
  1774. name Keylight1
  1775. selected true
  1776. xpos 560
  1777. ypos 417
  1778. }
  1779. Dot {
  1780. name Dot3
  1781. selected true
  1782. xpos 594
  1783. ypos 471
  1784. }
  1785. push $Nfb39f000
  1786. Group {
  1787. name ChillSpill
  1788. knobChanged "n = nuke.thisNode()\nk = nuke.thisKnob()\n\n\nif k.name() in ('bgcolour', 'showPanel'):\n bgcolour = n\['bgcolour'].value()\n if bgcolour == 'colour':\n n\['colourpick'].setVisible(True)\n n\['bgblk'].setVisible(False)\n n\['bgwht'].setVisible(False)\n n\['bgpreblur'].setVisible(False)\n n\['spillmapboost'].setVisible(True)\n n\['sep01'].setVisible(True)\n\n\n elif bgcolour == 'background':\n n\['colourpick'].setVisible(False)\n n\['bgblk'].setVisible(True)\n n\['bgwht'].setVisible(True)\n n\['bgpreblur'].setVisible(True)\n n\['spillmapboost'].setVisible(True)\n n\['sep01'].setVisible(True)\n\n else:\n n\['colourpick'].setVisible(False)\n n\['bgblk'].setVisible(False)\n n\['bgwht'].setVisible(False)\n n\['bgpreblur'].setVisible(False)\n n\['spillmapboost'].setVisible(False)\n n\['sep01'].setVisible(False)\n\nif k.name() in ('despillalg', 'showPanel'):\n despillalg = n\['despillalg'].value()\n if despillalg == 'average':\n n\['avgweight'].setVisible(True)\n\n elif despillalg == 'Keylight':\n n\['avgweight'].setVisible(True)\n \n else:\n n\['avgweight'].setVisible(False)\n\nif k.name() in ('despillalg', 'showPanel'):\n despillalg = n\['despillalg'].value()\n if despillalg == 'Keylight':\n n\['channelamp'].setVisible(False)\n \n else:\n n\['channelamp'].setVisible(True)"
  1789. tile_color 0x87878fff
  1790. label "\[value screentype] | \[value demethod]"
  1791. selected true
  1792. xpos 239
  1793. ypos 313
  1794. addUserKnob {20 Controls}
  1795. addUserKnob {6 colourpick_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1796. addUserKnob {4 screentype l "screen type" t "Selects the screentype, works even for red :)" M {R G B ""}}
  1797. screentype G
  1798. addUserKnob {4 linlog l "process in" t "Changes the processing colourspace to lin or log. \n\nCaution: in log, some operations (like luma restore and background replacement method) may not behave as expected" -STARTLINE M {lin log "" ""}}
  1799. addUserKnob {4 despillalg l algorithm t "Selects the despill algorithm. Average works best most of the time, max can tackle some weird hue shifts (e.g. with yellow colour turning orange on a greenscreen). Min rarely gives a good result, but better having than needing :)\n\nIf you want to limit the screen by only one channel, use the 'weight'-slider at either 0 or 1\nOn a greenscreen, all left will be red and all right will be blue; just thing in simple directions outgoing from RGB :)" M {average max min Keylight}}
  1800. addUserKnob {7 avgweight l weight t "Weights the two replacement channels in the average operation (making it essentially not average anymore).\nCan be used to limit by only one channel by setting it to 0 or 1.\nFor Keylight algorithm, it's the same as 'screen balance'." -STARTLINE}
  1801. avgweight 0.5
  1802. addUserKnob {7 channelamp l "channel amp" t "Adjusts the gain for the replacement channels right before the algorithm. This can help tackling frizzy edges and hard to despill shots.\nWon't work on Keylight algorithm; see 'Advanced' tab for more options." R 0.5 1}
  1803. channelamp 1
  1804. addUserKnob {4 demethod l "despill method" t "Sets the post-treatment for the spilled areas.\n\nThe default 'luma restore' usually gives a neutral result with the same luminance as the screen.\n\n'auto' is the pure result of the algorithm.\n\n'add difference' will add the difference between the plate and the chosen algorithm to all RGB channels, this usually results to a fairly neutral but bright image." M {auto "luma restore" "add difference"}}
  1805. addUserKnob {4 bgcolour l replacement t "Applies a colour or the connected background based on the (boosted) spillmatte on top of the despill and replacement-operations." -STARTLINE M {none colour background ""}}
  1806. addUserKnob {4 bgapply l "apply with" t "Sets the blending operation for 'colour' and 'background' replacement methods. Has no effect for the other operations." -STARTLINE M {over plus screen "" ""}}
  1807. addUserKnob {18 colourpick l colour t "Sets the values for the colour-replacement method." +HIDDEN}
  1808. colourpick {0.5 0.2 0.5}
  1809. addUserKnob {6 colourpick_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1810. addUserKnob {18 bgblk l "bg blackpoint" t "Adjusts blackpoint for background input. Use it seperate on RGB to match colour properly if the operations wash out/brighten up." +HIDDEN}
  1811. bgblk {0 0 0}
  1812. addUserKnob {6 bgblk_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1813. addUserKnob {18 bgwht l "bg whitepoint" t "Adjusts whitepoint for background input. Use it seperate on RGB to match colour properly if the operations wash out/brighten up." +HIDDEN}
  1814. bgwht 1
  1815. addUserKnob {6 bgwht_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1816. addUserKnob {7 bgpreblur l "bg pre-blur" t "Blurs the connected background-image before it gets applied to the image \n('background' has to be set as replacement-method)" +HIDDEN R 0 20}
  1817. bgpreblur 5
  1818. addUserKnob {7 spillmapboost l boost t "Boosts the replacement methods by adjusting the spillmatte whitepoint." +HIDDEN}
  1819. addUserKnob {26 sep01 l " " +HIDDEN T " "}
  1820. addUserKnob {41 gain t "Gains the despilled area based on the spillmatte." T ColorCorrect1.gain}
  1821. addUserKnob {41 gamma t "Adjusts the gamma of the despilled area based on the spillmatte." T ColorCorrect1.gamma}
  1822. addUserKnob {41 saturation t "(De)saturates the despilled area based on the spillmatte." T ColorCorrect1.saturation}
  1823. addUserKnob {26 sep03 l " " T " "}
  1824. addUserKnob {6 spillmatteshuffle l "shuffle spillmatte to alpha" t "Shuffles the calculated spillmatte into the alpha, useful for further adjustments and sometimes even crude keys." +STARTLINE}
  1825. addUserKnob {6 invmask l "invert mask" t "Inverts the connected mask." +STARTLINE}
  1826. addUserKnob {20 advanced l Advanced}
  1827. addUserKnob {26 keylighttxt l Keylight}
  1828. addUserKnob {18 kloffset l "screen colour offset" t "Adjusts the colour-parameter as offset.\n\nBy default, the chosen screen-colour will be set to 1 and the other two to 0; so if you are on a greenscreen and set the green here to 1, it will actually be 2."}
  1829. kloffset {0 0 0}
  1830. addUserKnob {6 kloffset_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1831. addUserKnob {7 klgain l "screen gain" t "Adjusts Keylights screen gain."}
  1832. klgain 1
  1833. addUserKnob {18 klbias l "alpha bias" t "Adjusts alpha bias. Your best friend for nasty edges :)"}
  1834. klbias {0.5 0.5 0.5}
  1835. addUserKnob {6 klbias_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  1836. addUserKnob {26 sep04 l " " t " " T " "}
  1837. addUserKnob {26 credit l INVISIBLE t "lp_ChillSpill v1.5\n(c)2020 lucas pfaff\ninspired by all the great despill-gizmos, mostly bm_Despill by Ben McEwan and pxf_Killspill by Xavier Bourque" -STARTLINE +INVISIBLE T "lp_ChillSpill v1.5\n(c)2020 lucas pfaff\ninspired by all the great despill-gizmos, mostly bm_Despill by Ben McEwan and pxf_Killspill by Xavier Bourque"}
  1838. }
  1839. BackdropNode {
  1840. inputs 0
  1841. name BackdropNode1
  1842. tile_color 0x434343ff
  1843. label keylight
  1844. note_font_size 42
  1845. xpos 1678
  1846. ypos 75
  1847. bdwidth 387
  1848. bdheight 365
  1849. }
  1850. BackdropNode {
  1851. inputs 0
  1852. name BackdropNode2
  1853. tile_color 0x656565ff
  1854. label min
  1855. note_font_size 42
  1856. xpos 1270
  1857. ypos 74
  1858. bdwidth 349
  1859. bdheight 283
  1860. }
  1861. BackdropNode {
  1862. inputs 0
  1863. name BackdropNode3
  1864. tile_color 0x878787ff
  1865. label max
  1866. note_font_size 42
  1867. xpos 835
  1868. ypos 75
  1869. bdwidth 349
  1870. bdheight 280
  1871. }
  1872. BackdropNode {
  1873. inputs 0
  1874. name BackdropNode4
  1875. tile_color 0xa9a9a9ff
  1876. label avg
  1877. note_font_size 42
  1878. xpos 393
  1879. ypos 77
  1880. bdwidth 349
  1881. bdheight 274
  1882. }
  1883. BackdropNode {
  1884. inputs 0
  1885. name BackdropNode5
  1886. tile_color 0x71c67100
  1887. label "despill methods"
  1888. note_font_size 42
  1889. xpos 494
  1890. ypos 554
  1891. bdwidth 597
  1892. bdheight 333
  1893. }
  1894. BackdropNode {
  1895. inputs 0
  1896. name BackdropNode6
  1897. tile_color 0x434343ff
  1898. label replacement
  1899. note_font_size 42
  1900. xpos 959
  1901. ypos 899
  1902. bdwidth 474
  1903. bdheight 410
  1904. }
  1905. Input {
  1906. inputs 0
  1907. name img
  1908. xpos 969
  1909. ypos -310
  1910. }
  1911. Colorspace {
  1912. colorspace_out Cineon
  1913. name Colorspace1
  1914. label "\[value colorspace_in] -> \[value colorspace_out]"
  1915. xpos 969
  1916. ypos -175
  1917. disable {{1-linlog}}
  1918. }
  1919. AddChannels {
  1920. channels rgba
  1921. name AddChannels1
  1922. xpos 969
  1923. ypos -57
  1924. }
  1925. Dot {
  1926. name Dot5
  1927. xpos 1003
  1928. ypos 51
  1929. }
  1930. set Nabb24c00 [stack 0]
  1931. Dot {
  1932. name Dot4
  1933. xpos 561
  1934. ypos 51
  1935. }
  1936. set Nabb25000 [stack 0]
  1937. Dot {
  1938. name Dot25
  1939. xpos 280
  1940. ypos 51
  1941. }
  1942. Dot {
  1943. name Dot38
  1944. xpos 280
  1945. ypos 691
  1946. }
  1947. set Nabb25800 [stack 0]
  1948. Dot {
  1949. name Dot26
  1950. xpos 280
  1951. ypos 1671
  1952. }
  1953. set Nabb25c00 [stack 0]
  1954. Dot {
  1955. name Dot24
  1956. xpos 280
  1957. ypos 1768
  1958. }
  1959. Input {
  1960. inputs 0
  1961. name mask
  1962. xpos 1148
  1963. ypos 1465
  1964. number 2
  1965. }
  1966. Switch {
  1967. which {{"\[exists parent.input2] ? 0 : 1"}}
  1968. name Switch8
  1969. xpos 1148
  1970. ypos 1543
  1971. }
  1972. Invert {
  1973. name Invert1
  1974. xpos 1148
  1975. ypos 1592
  1976. disable {{1-invmask}}
  1977. }
  1978. Dot {
  1979. name Dot27
  1980. xpos 1182
  1981. ypos 1671
  1982. }
  1983. push $Nabb25c00
  1984. push $Nabb24c00
  1985. Dot {
  1986. name Dot12
  1987. xpos 1438
  1988. ypos 51
  1989. }
  1990. set Na80a1400 [stack 0]
  1991. Dot {
  1992. name Dot30
  1993. xpos 1846
  1994. ypos 51
  1995. }
  1996. Dot {
  1997. name Dot31
  1998. xpos 1846
  1999. ypos 155
  2000. }
  2001. set Na80a1c00 [stack 0]
  2002. Dot {
  2003. name Dot32
  2004. xpos 1971
  2005. ypos 155
  2006. }
  2007. set Na9550000 [stack 0]
  2008. Dot {
  2009. name Dot35
  2010. xpos 2043
  2011. ypos 155
  2012. }
  2013. Dot {
  2014. name Dot34
  2015. xpos 2043
  2016. ypos 333
  2017. }
  2018. push $Na9550000
  2019. OFXuk.co.thefoundry.keylight.keylight_v201 {
  2020. show "Final Result"
  2021. unPreMultiply false
  2022. screenColour {{kloffset x26 0} {kloffset x26 0} {"1 + kloffset" x26 1}}
  2023. screenGain {{KeylightR.screenGain}}
  2024. screenBalance {{avgweight}}
  2025. alphaBias {{KeylightR.alphaBias x26 0.5} {KeylightR.alphaBias x26 0.5} {KeylightR.alphaBias x26 0.5}}
  2026. despillBias {0.5 0.5 0.5}
  2027. gangBiases true
  2028. preBlur 0
  2029. "Screen Matte" 0
  2030. screenClipMin 0
  2031. screenClipMax 1
  2032. screenClipRollback 0
  2033. screenGrowShrink 0
  2034. screenSoftness 0
  2035. screenDespotBlack 0
  2036. screenDespotWhite 0
  2037. screenReplaceMethod "Soft Colour"
  2038. screenReplaceColour {0.5 0.5 0.5}
  2039. Tuning 0
  2040. midPoint 0.5
  2041. lowGain 1
  2042. midGain 1
  2043. highGain 1
  2044. "Inside Mask" 0
  2045. sourceAlphaHandling Ignore
  2046. insideReplaceMethod "Soft Colour"
  2047. insideReplaceColour {0.5 0.5 0.5}
  2048. Crops 0
  2049. SourceXMethod Colour
  2050. SourceYMethod Colour
  2051. SourceEdgeColour 0
  2052. SourceCropL 0
  2053. SourceCropR 1
  2054. SourceCropB 0
  2055. SourceCropT 1
  2056. balanceSet true
  2057. insideComponent None
  2058. outsideComponent None
  2059. cacheBreaker true
  2060. name KeylightB
  2061. tile_color 0xffff
  2062. xpos 1937
  2063. ypos 205
  2064. }
  2065. push $Na80a1c00
  2066. OFXuk.co.thefoundry.keylight.keylight_v201 {
  2067. show "Final Result"
  2068. unPreMultiply false
  2069. screenColour {{kloffset x26 0} {"1 + kloffset" x26 1} {kloffset x26 0}}
  2070. screenGain {{KeylightR.screenGain}}
  2071. screenBalance {{avgweight}}
  2072. alphaBias {{KeylightR.alphaBias x26 0.5} {KeylightR.alphaBias x26 0.5} {KeylightR.alphaBias x26 0.5}}
  2073. despillBias {0.5 0.5 0.5}
  2074. gangBiases true
  2075. preBlur 0
  2076. "Screen Matte" 0
  2077. screenClipMin 0
  2078. screenClipMax 1
  2079. screenClipRollback 0
  2080. screenGrowShrink 0
  2081. screenSoftness 0
  2082. screenDespotBlack 0
  2083. screenDespotWhite 0
  2084. screenReplaceMethod "Soft Colour"
  2085. screenReplaceColour {0.5 0.5 0.5}
  2086. Tuning 0
  2087. midPoint 0.5
  2088. lowGain 1
  2089. midGain 1
  2090. highGain 1
  2091. "Inside Mask" 0
  2092. sourceAlphaHandling Ignore
  2093. insideReplaceMethod "Soft Colour"
  2094. insideReplaceColour {0.5 0.5 0.5}
  2095. Crops 0
  2096. SourceXMethod Colour
  2097. SourceYMethod Colour
  2098. SourceEdgeColour 0
  2099. SourceCropL 0
  2100. SourceCropR 1
  2101. SourceCropB 0
  2102. SourceCropT 1
  2103. balanceSet true
  2104. insideComponent None
  2105. outsideComponent None
  2106. cacheBreaker true
  2107. name KeylightG
  2108. tile_color 0xff00ff
  2109. xpos 1812
  2110. ypos 209
  2111. }
  2112. push $Na80a1c00
  2113. Dot {
  2114. name Dot33
  2115. xpos 1722
  2116. ypos 155
  2117. }
  2118. OFXuk.co.thefoundry.keylight.keylight_v201 {
  2119. show "Final Result"
  2120. unPreMultiply false
  2121. screenColour {{"1 + kloffset" x26 1} {kloffset x26 0} {kloffset x26 0}}
  2122. screenGain {{klgain}}
  2123. screenBalance {{avgweight}}
  2124. alphaBias {{klbias x26 0.5} {klbias x26 0.5} {klbias x26 0.5}}
  2125. despillBias {0.5 0.5 0.5}
  2126. gangBiases true
  2127. preBlur 0
  2128. "Screen Matte" 0
  2129. screenClipMin 0
  2130. screenClipMax 1
  2131. screenClipRollback 0
  2132. screenGrowShrink 0
  2133. screenSoftness 0
  2134. screenDespotBlack 0
  2135. screenDespotWhite 0
  2136. screenReplaceMethod "Soft Colour"
  2137. screenReplaceColour {0.5 0.5 0.5}
  2138. Tuning 0
  2139. midPoint 0.5
  2140. lowGain 1
  2141. midGain 1
  2142. highGain 1
  2143. "Inside Mask" 0
  2144. sourceAlphaHandling Ignore
  2145. insideReplaceMethod "Soft Colour"
  2146. insideReplaceColour {0.5 0.5 0.5}
  2147. Crops 0
  2148. SourceXMethod Colour
  2149. SourceYMethod Colour
  2150. SourceEdgeColour 0
  2151. SourceCropL 0
  2152. SourceCropR 1
  2153. SourceCropB 0
  2154. SourceCropT 1
  2155. balanceSet true
  2156. insideComponent None
  2157. outsideComponent None
  2158. cacheBreaker true
  2159. name KeylightR
  2160. tile_color 0xff0000ff
  2161. xpos 1688
  2162. ypos 204
  2163. }
  2164. Switch {
  2165. inputs 3
  2166. which {{screentype}}
  2167. name Switch9
  2168. tile_color 0xfefefeff
  2169. xpos 1812
  2170. ypos 260
  2171. }
  2172. Dot {
  2173. name Dot43
  2174. xpos 1846
  2175. ypos 293
  2176. }
  2177. set N96fd2000 [stack 0]
  2178. Dot {
  2179. name Dot44
  2180. xpos 1959
  2181. ypos 293
  2182. }
  2183. Merge2 {
  2184. inputs 2
  2185. operation minus
  2186. name Merge5
  2187. xpos 1925
  2188. ypos 330
  2189. }
  2190. Grade {
  2191. white_clamp true
  2192. name Grade1
  2193. xpos 1925
  2194. ypos 354
  2195. }
  2196. Saturation {
  2197. saturation 0
  2198. mode Maximum
  2199. name Saturation1
  2200. xpos 1925
  2201. ypos 380
  2202. }
  2203. Dot {
  2204. name Dot14
  2205. xpos 1959
  2206. ypos 411
  2207. }
  2208. push $N96fd2000
  2209. Copy {
  2210. inputs 2
  2211. from0 rgba.red
  2212. to0 rgba.alpha
  2213. name Copy15
  2214. xpos 1812
  2215. ypos 404
  2216. }
  2217. push $Na80a1400
  2218. Dot {
  2219. name Dot9
  2220. xpos 1438
  2221. ypos 154
  2222. }
  2223. set N96fd3c00 [stack 0]
  2224. Dot {
  2225. name Dot10
  2226. xpos 1563
  2227. ypos 154
  2228. }
  2229. set N23cec000 [stack 0]
  2230. push $N23cec000
  2231. Multiply {
  2232. channels {rgba.red rgba.green -rgba.blue none}
  2233. value {{channelamp}}
  2234. name Multiply9
  2235. xpos 1529
  2236. ypos 187
  2237. }
  2238. Expression {
  2239. expr2 "b > min(r,g) ? min(r,g) : b"
  2240. expr3 "b - (b > min(r,g) ? min(r,g) : b)"
  2241. name minB
  2242. tile_color 0xffff
  2243. xpos 1529
  2244. ypos 222
  2245. }
  2246. Copy {
  2247. inputs 2
  2248. from0 rgba.red
  2249. to0 rgba.red
  2250. from1 rgba.green
  2251. to1 rgba.green
  2252. name Copy11
  2253. xpos 1529
  2254. ypos 264
  2255. }
  2256. push $N96fd3c00
  2257. push $N96fd3c00
  2258. Multiply {
  2259. channels {rgba.red -rgba.green rgba.blue none}
  2260. value {{channelamp}}
  2261. name Multiply8
  2262. xpos 1404
  2263. ypos 184
  2264. }
  2265. Expression {
  2266. expr1 "g > min(r,b) ? min(r,b) : g"
  2267. expr3 "g - (g > min(r,b) ? min(r,b) : g)"
  2268. name minG
  2269. tile_color 0xff00ff
  2270. xpos 1404
  2271. ypos 222
  2272. }
  2273. Copy {
  2274. inputs 2
  2275. from0 rgba.red
  2276. to0 rgba.red
  2277. from1 rgba.blue
  2278. to1 rgba.blue
  2279. name Copy10
  2280. xpos 1404
  2281. ypos 265
  2282. }
  2283. push $N96fd3c00
  2284. Dot {
  2285. name Dot11
  2286. xpos 1314
  2287. ypos 154
  2288. }
  2289. set N23cedc00 [stack 0]
  2290. push $N23cedc00
  2291. Multiply {
  2292. channels {-rgba.red rgba.green rgba.blue none}
  2293. value {{channelamp}}
  2294. name Multiply7
  2295. xpos 1280
  2296. ypos 186
  2297. }
  2298. Expression {
  2299. expr0 "r > min(g,b) ? min(g,b) : r"
  2300. expr3 "r - (r > min(g,b) ? min(g,b) : r)"
  2301. name minR
  2302. tile_color 0xff0000ff
  2303. xpos 1280
  2304. ypos 223
  2305. }
  2306. Copy {
  2307. inputs 2
  2308. from0 rgba.green
  2309. to0 rgba.green
  2310. from1 rgba.blue
  2311. to1 rgba.blue
  2312. name Copy9
  2313. xpos 1280
  2314. ypos 265
  2315. }
  2316. Switch {
  2317. inputs 3
  2318. which {{screentype}}
  2319. name Switch3
  2320. tile_color 0xfefefeff
  2321. xpos 1404
  2322. ypos 329
  2323. }
  2324. push $Nabb24c00
  2325. Dot {
  2326. name Dot6
  2327. xpos 1003
  2328. ypos 155
  2329. }
  2330. set Nac7e3000 [stack 0]
  2331. Dot {
  2332. name Dot7
  2333. xpos 1128
  2334. ypos 155
  2335. }
  2336. set Nac7e3400 [stack 0]
  2337. push $Nac7e3400
  2338. Multiply {
  2339. channels {rgba.red rgba.green -rgba.blue none}
  2340. value {{channelamp}}
  2341. name Multiply6
  2342. xpos 1094
  2343. ypos 188
  2344. }
  2345. Expression {
  2346. expr2 "b > max(r,g) ? max(r,g) : b"
  2347. expr3 "b - (b > max(r,g) ? max(r,g) : b)"
  2348. name maxB
  2349. tile_color 0xffff
  2350. xpos 1094
  2351. ypos 222
  2352. }
  2353. Copy {
  2354. inputs 2
  2355. from0 rgba.red
  2356. to0 rgba.red
  2357. from1 rgba.green
  2358. to1 rgba.green
  2359. name Copy8
  2360. xpos 1094
  2361. ypos 261
  2362. }
  2363. push $Nac7e3000
  2364. push $Nac7e3000
  2365. Multiply {
  2366. channels {rgba.red -rgba.green rgba.blue none}
  2367. value {{channelamp}}
  2368. name Multiply5
  2369. xpos 969
  2370. ypos 189
  2371. }
  2372. Expression {
  2373. expr1 "g > max(r,b) ? max(r,b) : g"
  2374. expr3 "g - (g > max(r,b) ? max(r,b) : g)"
  2375. name maxG
  2376. tile_color 0xff00ff
  2377. xpos 969
  2378. ypos 222
  2379. }
  2380. Copy {
  2381. inputs 2
  2382. from0 rgba.red
  2383. to0 rgba.red
  2384. from1 rgba.blue
  2385. to1 rgba.blue
  2386. name Copy7
  2387. xpos 969
  2388. ypos 262
  2389. }
  2390. push $Nac7e3000
  2391. Dot {
  2392. name Dot8
  2393. xpos 879
  2394. ypos 155
  2395. }
  2396. set N9ad5d000 [stack 0]
  2397. push $N9ad5d000
  2398. Multiply {
  2399. channels {-rgba.red rgba.green rgba.blue none}
  2400. value {{channelamp}}
  2401. name Multiply4
  2402. xpos 845
  2403. ypos 186
  2404. }
  2405. Expression {
  2406. expr0 "r > max(g,b) ? max(g,b) : r"
  2407. expr3 "r - (r > max(g,b) ? max(g,b) : r)"
  2408. name maxR
  2409. tile_color 0xff0000ff
  2410. xpos 845
  2411. ypos 222
  2412. }
  2413. Copy {
  2414. inputs 2
  2415. from0 rgba.green
  2416. to0 rgba.green
  2417. from1 rgba.blue
  2418. to1 rgba.blue
  2419. name Copy6
  2420. xpos 845
  2421. ypos 259
  2422. }
  2423. Switch {
  2424. inputs 3
  2425. which {{screentype}}
  2426. name Switch2
  2427. tile_color 0xfefefeff
  2428. xpos 969
  2429. ypos 327
  2430. }
  2431. push $Nabb25000
  2432. Dot {
  2433. name Dot1
  2434. xpos 561
  2435. ypos 157
  2436. }
  2437. set Nf742e400 [stack 0]
  2438. Dot {
  2439. name Dot3
  2440. xpos 686
  2441. ypos 157
  2442. }
  2443. set Nf742e800 [stack 0]
  2444. push $Nf742e800
  2445. Multiply {
  2446. channels {rgba.red rgba.green -rgba.blue none}
  2447. value {{channelamp}}
  2448. name Multiply3
  2449. xpos 652
  2450. ypos 184
  2451. }
  2452. Expression {
  2453. expr2 "b > ((g*avgweight)+(r*(1-avgweight))) ? ((g*avgweight)+(r*(1-avgweight))) : b"
  2454. expr3 "b - (b > ((g*avgweight)+(r*(1-avgweight))) ? ((g*avgweight)+(r*(1-avgweight))) : b)"
  2455. name avgB
  2456. tile_color 0xffff
  2457. xpos 652
  2458. ypos 223
  2459. }
  2460. Copy {
  2461. inputs 2
  2462. from0 rgba.red
  2463. to0 rgba.red
  2464. from1 rgba.green
  2465. to1 rgba.green
  2466. name Copy5
  2467. xpos 652
  2468. ypos 260
  2469. }
  2470. push $Nf742e400
  2471. push $Nf742e400
  2472. Multiply {
  2473. channels {rgba.red -rgba.green rgba.blue none}
  2474. value {{channelamp}}
  2475. name Multiply2
  2476. xpos 527
  2477. ypos 184
  2478. }
  2479. Expression {
  2480. expr1 "g > ((b*avgweight)+(r*(1-avgweight))) ? ((b*avgweight)+(r*(1-avgweight))) : g"
  2481. expr3 "g - (g > ((b*avgweight)+(r*(1-avgweight))) ? ((b*avgweight)+(r*(1-avgweight))) : g)"
  2482. name avgG
  2483. tile_color 0xff00ff
  2484. xpos 527
  2485. ypos 223
  2486. }
  2487. Copy {
  2488. inputs 2
  2489. from0 rgba.red
  2490. to0 rgba.red
  2491. from1 rgba.blue
  2492. to1 rgba.blue
  2493. name Copy4
  2494. xpos 527
  2495. ypos 258
  2496. }
  2497. push $Nf742e400
  2498. Dot {
  2499. name Dot2
  2500. xpos 437
  2501. ypos 157
  2502. }
  2503. set N75a16400 [stack 0]
  2504. push $N75a16400
  2505. Multiply {
  2506. channels {-rgba.red rgba.green rgba.blue none}
  2507. value {{channelamp}}
  2508. name Multiply1
  2509. xpos 403
  2510. ypos 182
  2511. }
  2512. Expression {
  2513. expr0 "r > ((b*avgweight)+(g*(1-avgweight))) ? ((b*avgweight)+(g*(1-avgweight))) : r"
  2514. expr3 "r - (r > ((b*avgweight)+(g*(1-avgweight))) ? ((b*avgweight)+(g*(1-avgweight))) : r)"
  2515. name avgR
  2516. tile_color 0xff0000ff
  2517. xpos 403
  2518. ypos 222
  2519. }
  2520. Copy {
  2521. inputs 2
  2522. from0 rgba.green
  2523. to0 rgba.green
  2524. from1 rgba.blue
  2525. to1 rgba.blue
  2526. name Copy3
  2527. xpos 403
  2528. ypos 259
  2529. }
  2530. Switch {
  2531. inputs 3
  2532. which {{screentype}}
  2533. name Switch1
  2534. tile_color 0xfefefeff
  2535. xpos 527
  2536. ypos 323
  2537. }
  2538. Switch {
  2539. inputs 4
  2540. which {{despillalg}}
  2541. name Switch4
  2542. xpos 969
  2543. ypos 483
  2544. }
  2545. Dot {
  2546. name Dot36
  2547. xpos 1003
  2548. ypos 634
  2549. }
  2550. set N75a17c00 [stack 0]
  2551. Dot {
  2552. name Dot28
  2553. xpos 861
  2554. ypos 634
  2555. }
  2556. set N963a0000 [stack 0]
  2557. Dot {
  2558. name Dot16
  2559. xpos 751
  2560. ypos 634
  2561. }
  2562. set N963a0400 [stack 0]
  2563. Shuffle {
  2564. red alpha
  2565. green alpha
  2566. blue alpha
  2567. alpha black
  2568. name Shuffle1
  2569. label "\[value red]/\[value green]/\[value blue]/\[value alpha]"
  2570. xpos 717
  2571. ypos 727
  2572. }
  2573. push $N963a0000
  2574. Dot {
  2575. name Dot29
  2576. xpos 861
  2577. ypos 788
  2578. }
  2579. Merge2 {
  2580. inputs 2
  2581. operation plus
  2582. name Merge3
  2583. xpos 717
  2584. ypos 785
  2585. }
  2586. push $N963a0400
  2587. Dot {
  2588. name Dot40
  2589. xpos 648
  2590. ypos 634
  2591. }
  2592. set N963a1400 [stack 0]
  2593. Dot {
  2594. name Dot41
  2595. xpos 648
  2596. ypos 792
  2597. }
  2598. push $Nabb25800
  2599. push $N963a1400
  2600. Dot {
  2601. name Dot39
  2602. xpos 538
  2603. ypos 634
  2604. }
  2605. Merge2 {
  2606. inputs 2
  2607. operation minus
  2608. Achannels rgb
  2609. Bchannels {rgba.red rgba.green rgba.blue -rgba.alpha}
  2610. output {rgba.red rgba.green rgba.blue -rgba.alpha}
  2611. name Merge6
  2612. xpos 504
  2613. ypos 688
  2614. }
  2615. Saturation {
  2616. saturation 0
  2617. name Saturation2
  2618. xpos 504
  2619. ypos 738
  2620. }
  2621. Merge2 {
  2622. inputs 2
  2623. operation plus
  2624. output {rgba.red rgba.green rgba.blue -rgba.alpha}
  2625. name Merge7
  2626. xpos 504
  2627. ypos 789
  2628. }
  2629. Dot {
  2630. name Dot42
  2631. xpos 538
  2632. ypos 847
  2633. }
  2634. push $N75a17c00
  2635. Switch {
  2636. inputs 3
  2637. which {{demethod}}
  2638. name Switch6
  2639. xpos 969
  2640. ypos 844
  2641. }
  2642. Dot {
  2643. name Dot19
  2644. xpos 1003
  2645. ypos 979
  2646. }
  2647. set N97269400 [stack 0]
  2648. Dot {
  2649. name Dot15
  2650. xpos 1136
  2651. ypos 979
  2652. }
  2653. set N97269800 [stack 0]
  2654. Dot {
  2655. name Dot17
  2656. xpos 1263
  2657. ypos 979
  2658. }
  2659. set N97269c00 [stack 0]
  2660. Dot {
  2661. name Dot22
  2662. xpos 1377
  2663. ypos 979
  2664. }
  2665. set N9a8d0000 [stack 0]
  2666. Input {
  2667. inputs 0
  2668. name bg
  2669. xpos 2389
  2670. ypos 544
  2671. number 1
  2672. }
  2673. Colorspace {
  2674. colorspace_out Cineon
  2675. name Colorspace2
  2676. label "\[value colorspace_in] -> \[value colorspace_out]"
  2677. xpos 2389
  2678. ypos 623
  2679. disable {{1-linlog x1740 1}}
  2680. }
  2681. Grade {
  2682. blackpoint {{bgblk.r} {bgblk.g} {bgblk.b} {curve}}
  2683. whitepoint {{bgwht.r} {bgwht.g} {bgwht.b} {curve}}
  2684. black_clamp false
  2685. name bg_process
  2686. xpos 2389
  2687. ypos 688
  2688. }
  2689. Blur {
  2690. size {{bgpreblur}}
  2691. name Blur1
  2692. label "\[value size]"
  2693. xpos 2389
  2694. ypos 744
  2695. disable {{"bgcolour == 2 ? 0 : 1"}}
  2696. }
  2697. Dot {
  2698. name Dot13
  2699. xpos 2423
  2700. ypos 814
  2701. }
  2702. Constant {
  2703. inputs 0
  2704. channels rgb
  2705. color {{colourpick} {colourpick} {colourpick} {curve}}
  2706. format "512 512 0 0 512 512 1 square_512"
  2707. name Constant1
  2708. xpos 2227
  2709. ypos 522
  2710. }
  2711. Colorspace {
  2712. colorspace_out Cineon
  2713. name Colorspace4
  2714. label "\[value colorspace_in] -> \[value colorspace_out]"
  2715. xpos 2227
  2716. ypos 625
  2717. disable {{1-linlog x26 1 x1740 1}}
  2718. }
  2719. Reformat {
  2720. type "to box"
  2721. box_width {{img.width}}
  2722. box_height {{img.height}}
  2723. box_fixed true
  2724. resize distort
  2725. name Reformat1
  2726. xpos 2227
  2727. ypos 686
  2728. }
  2729. Switch {
  2730. inputs 2
  2731. which {{"bgcolour > 1 ? 1 : 0"}}
  2732. name Switch5
  2733. xpos 2227
  2734. ypos 811
  2735. }
  2736. Copy {
  2737. inputs 2
  2738. from0 rgba.alpha
  2739. to0 rgba.alpha
  2740. name Copy1
  2741. xpos 2227
  2742. ypos 972
  2743. }
  2744. Grade {
  2745. channels alpha
  2746. whitepoint {{1-spillmapboost}}
  2747. white_clamp true
  2748. name spillmatte_boost
  2749. xpos 2227
  2750. ypos 1020
  2751. }
  2752. Premult {
  2753. name Premult1
  2754. xpos 2227
  2755. ypos 1063
  2756. }
  2757. Dot {
  2758. name Dot20
  2759. xpos 2261
  2760. ypos 1104
  2761. }
  2762. set N9f991800 [stack 0]
  2763. Dot {
  2764. name Dot18
  2765. xpos 2261
  2766. ypos 1160
  2767. }
  2768. set N9f991c00 [stack 0]
  2769. Dot {
  2770. name Dot23
  2771. xpos 2261
  2772. ypos 1220
  2773. }
  2774. push $N9a8d0000
  2775. Merge2 {
  2776. inputs 2
  2777. operation screen
  2778. output {rgba.red rgba.green rgba.blue -rgba.alpha}
  2779. name Merge4
  2780. xpos 1343
  2781. ypos 1217
  2782. }
  2783. push $N9f991c00
  2784. push $N97269c00
  2785. Merge2 {
  2786. inputs 2
  2787. operation plus
  2788. output {rgba.red rgba.green rgba.blue -rgba.alpha}
  2789. name Merge2
  2790. xpos 1229
  2791. ypos 1157
  2792. }
  2793. push $N9f991800
  2794. push $N97269800
  2795. Merge2 {
  2796. inputs 2
  2797. output {rgba.red rgba.green rgba.blue -rgba.alpha}
  2798. name Merge1
  2799. xpos 1102
  2800. ypos 1101
  2801. }
  2802. Switch {
  2803. inputs 3
  2804. which {{bgapply}}
  2805. name Switch7
  2806. xpos 1102
  2807. ypos 1217
  2808. }
  2809. set Na0995000 [stack 0]
  2810. Dot {
  2811. name Dot21
  2812. xpos 1136
  2813. ypos 1284
  2814. }
  2815. push $Na0995000
  2816. push $N97269400
  2817. Switch {
  2818. inputs 3
  2819. which {{bgcolour}}
  2820. name Switch10
  2821. xpos 969
  2822. ypos 1281
  2823. }
  2824. ColorCorrect {
  2825. maskChannelInput rgba.alpha
  2826. name ColorCorrect1
  2827. xpos 969
  2828. ypos 1433
  2829. }
  2830. Keymix {
  2831. inputs 3
  2832. channels rgb
  2833. name Keymix1
  2834. xpos 969
  2835. ypos 1668
  2836. disable {{"\[exists parent.input2] ? 0 : 1"}}
  2837. }
  2838. Copy {
  2839. inputs 2
  2840. from0 rgba.alpha
  2841. to0 rgba.alpha
  2842. name Copy2
  2843. xpos 969
  2844. ypos 1761
  2845. disable {{spillmatteshuffle}}
  2846. }
  2847. Colorspace {
  2848. colorspace_in Cineon
  2849. name Colorspace3
  2850. label "\[value colorspace_in] -> \[value colorspace_out]"
  2851. xpos 969
  2852. ypos 1849
  2853. disable {{1-linlog}}
  2854. }
  2855. set N9b0cc800 [stack 0]
  2856. Output {
  2857. name Output1
  2858. xpos 969
  2859. ypos 2031
  2860. }
  2861. push $N9b0cc800
  2862. Viewer {
  2863. frame_range 1-100
  2864. fps 25
  2865. name Viewer1
  2866. xpos 2002
  2867. ypos 697
  2868. }
  2869. end_group
  2870. Copy {
  2871. inputs 2
  2872. from0 rgba.alpha
  2873. to0 rgba.alpha
  2874. name Copy1
  2875. selected true
  2876. xpos 239
  2877. ypos 462
  2878. }
  2879. ChannelMerge {
  2880. inputs 2
  2881. name ChannelMerge1
  2882. selected true
  2883. xpos 239
  2884. ypos 621
  2885. }
  2886. Premult {
  2887. name Premult1
  2888. selected true
  2889. xpos 239
  2890. ypos 738
  2891. }
  2892. Merge2 {
  2893. inputs 2
  2894. operation under
  2895. name Merge1
  2896. selected true
  2897. xpos 239
  2898. ypos 852
  2899. }
  2900. Merge2 {
  2901. inputs 2
  2902. operation plus
  2903. name Merge3
  2904. selected true
  2905. xpos 239
  2906. ypos 966
  2907. }
  2908. Crop {
  2909. box {0 0 4096 1752}
  2910. name Crop2
  2911. selected true
  2912. xpos 239
  2913. ypos 1218
  2914. }
  2915. Reformat {
  2916. format "4096 2160 0 0 4096 2160 1 4K_DCP"
  2917. name Reformat1
  2918. label "\[if \{\[value type]==\"to format\"\} \{return \"\[join \[lrange \[split \[value format]] 0 1] x]\"\}]\[if \{\[value type]==\"to box\"\} \{return \"\[value box_width]x\[value box_height]\"\}]\[if \{\[value type]==\"scale\"\} \{return \"\[expr \[value format.w] * \[value scale.0]]x\[expr \[value format.h] * \[value scale.1]]\"\}]"
  2919. selected true
  2920. xpos 239
  2921. ypos 1242
  2922. }
  2923.  
Advertisement
Add Comment
Please, Sign In to add comment