forked from ampas/aces-vwg-gamut-mapping-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Matthias Scharfenberg - gamut_mapping_demo_v02.nk
5208 lines (5208 loc) · 378 KB
/
Matthias Scharfenberg - gamut_mapping_demo_v02.nk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#! /Applications/Nuke11.1v2/Nuke11.1v2.app/Contents/MacOS/libnuke-11.1.2.dylib -nx
version 11.1 v2
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
<window x="1445" y="28" w="1886" h="1077" screen="1">
<splitter orientation="1">
<split size="40"/>
<dock id="" hideTitles="1" activePageId="Toolbar.1">
<page id="Toolbar.1"/>
</dock>
<split size="1223" stretch="1"/>
<splitter orientation="2">
<split size="618"/>
<dock id="" activePageId="Viewer.1" focus="true">
<page id="Viewer.1"/>
</dock>
<split size="434"/>
<dock id="" activePageId="DAG.1">
<page id="DAG.1"/>
<page id="Curve Editor.1"/>
<page id="DopeSheet.1"/>
</dock>
</splitter>
<split size="615"/>
<dock id="" activePageId="Properties.1">
<page id="Properties.1"/>
<page id="uk.co.thefoundry.backgroundrenderview.1"/>
</dock>
</splitter>
</window>
</layout>
}
Root {
inputs 0
name /Users/matthias/Workspace/ampas/aces_gamut_vwg/nuke/gamut_mapping_demo_v02.nk
frame 5
lock_range true
format "2048 1556 0 0 2048 1556 1 2K_Super_35_full_ap"
proxy_type scale
proxy_format "640 480 0 0 640 480 1 PC_Video"
colorManagement Nuke
OCIO_config custom
customOCIOConfigPath /Users/matthias/show/sunlit/ocio/config.ocio
defaultViewerLUT "OCIO LUTs"
workingSpaceLUT linear
monitorLut sRGB
int8Lut linear
int16Lut linear
logLut Cineon
floatLut linear
addUserKnob {20 GMS l "Global MotionBlur Settings"}
addUserKnob {20 TGC l "Transform Global Control" n 1}
addUserKnob {7 motionblur t "reference the motionblur setting on the Transform node" R 0 4}
motionblur 1
addUserKnob {7 shutter R 0 4}
shutter 0.5
addUserKnob {22 batchoninteractiveon l " Int ON - Batch ON" T "n = nuke.thisNode()\nif n\['motionblur'].hasExpression():\n\tn\['motionblur'].clearAnimated()\n\tn\['motionblur'].setValue(n\['msamplert'].value())\nelse:\n\tn\['msamplert'].setValue(n\['motionblur'].value())\n\tn\['motionblur'].setValue(n\['msamplert'].value())\n\nn\['t_ind'].setValue('Interactive ON - Batch ON')" +STARTLINE}
addUserKnob {22 batchoninteractiveoff l " Int OFF - Batch ON" -STARTLINE T "n = nuke.thisNode()\nif n\['motionblur'].hasExpression() is False:\n\tvaluemb = n\['motionblur'].value()\n\tn\['msamplert'].setValue(valuemb)\nn\['motionblur'].clearAnimated()\nn\['motionblur'].setExpression(\"!\$gui ? \[knob root.msamplert] : 0\")\nn\['t_ind'].setValue(\"Interactive OFF - Batch ON\")"}
addUserKnob {22 batchoffinteractiveoff l " Int OFF - Batch OFF" -STARTLINE T "n = nuke.thisNode()\nif n\['motionblur'].hasExpression():\n\tn\['motionblur'].clearAnimated()\nn\['motionblur'].setExpression(\"0\")\n#n\['motionblur'].setValue(0)\nn\['t_ind'].setValue(\"Interactive OFF - Batch OFF\")"}
addUserKnob {7 msamplert l INVISIBLE -STARTLINE +INVISIBLE}
msamplert 1
addUserKnob {1 t_ind l status:}
t_ind "Interactive ON - Batch ON"
addUserKnob {20 endGroup n -1}
addUserKnob {20 RRGC l "Roto Render Global Control" n 1}
addUserKnob {6 motionBlur t "toggle motionBlur button on RotoRenders on or off\n" +STARTLINE}
motionBlur true
addUserKnob {6 motionBlurAllCrvs t "toggle motionBlurAllCrvs on/off" +STARTLINE}
motionBlurAllCrvs true
addUserKnob {7 shutterAngle R 0 360}
shutterAngle 180
addUserKnob {7 shutterStart R -180 180}
shutterStart -90
addUserKnob {7 motionBlurSteps R 0 2}
motionBlurSteps 15
addUserKnob {22 rrbatchoninteractiveon l " Int ON - Batch ON" T "n = nuke.thisNode()\nn\['motionBlur'].clearAnimated()\nn\['motionBlurAllCrvs'].clearAnimated()\nn\['motionBlur'].setValue(1)\nn\['motionBlurAllCrvs'].setValue(1)\nn\['rr_ind'].setValue(\"Interactive ON - Batch ON\")" +STARTLINE}
addUserKnob {22 rrbatchointeractiveoff l " Int OFF - Batch ON" -STARTLINE T "n = nuke.thisNode()\nn\['motionBlur'].setExpression(\"!\$gui ? 1: 0\")\nn\['motionBlurAllCrvs'].setExpression(\"!\$gui ? 1: 0\")\nn\['rr_ind'].setValue(\"Interactive OFF - Batch ON\")"}
addUserKnob {22 rrbatchoffinteractiveoff l " Int OFF - Batch OFF" -STARTLINE T "n = nuke.thisNode()\nn\['motionBlur'].clearAnimated()\nn\['motionBlur'].setValue(0)\nn\['motionBlurAllCrvs'].clearAnimated()\nn\['motionBlurAllCrvs'].setValue(0)\nn\['rr_ind'].setValue(\"Interactive OFF - Batch OFF\")"}
addUserKnob {1 rr_ind l status:}
rr_ind "Interactive ON - Batch ON"
addUserKnob {20 endGroup_2 l endGroup n -1}
addUserKnob {20 C3dGC l "Card3D Global Control" n 1}
addUserKnob {7 motionblurc3d l motionblur R 0 4}
motionblurc3d 1
addUserKnob {7 shutterc3d l shutter R 0 2}
shutterc3d 0.5
addUserKnob {22 c3dbatchoninteractiveon l " Int ON - Batch ON" T "n = nuke.thisNode()\nif n\['motionblurc3d'].hasExpression():\n\tn\['motionblurc3d'].clearAnimated()\n\tn\['motionblurc3d'].setValue(n\['msamplerc3d'].value())\nelse:\n\tn\['msamplerc3d'].setValue(n\['motionblurc3d'].value())\n\tn\['motionblurc3d'].setValue(n\['msamplerc3d'].value())\n\tn\['c3d_ind'].setValue(\"Interactive ON - Batch ON\")" +STARTLINE}
addUserKnob {22 crdbatchoninteractiveoff l " Int OFF - Batch ON" -STARTLINE T "n = nuke.thisNode()\nif n\['motionblurc3d'].hasExpression() is False:\n\tvaluemb = n\['motionblurc3d'].value()\n\tprint \"foo\", n\['msamplerc3d'].value()\n\tif n\['motionblurc3d'].value() != 0:\n\t\tn\['msamplerc3d'].setValue(valuemb)\n\tn\['motionblurc3d'].setExpression(\"!\$gui ? \[knob root.msamplerc3d] : 0\")\nn\['c3d_ind'].setValue(\"Interactive OFF - Batch ON\")\n\n"}
addUserKnob {22 c3dbatchoffinteractiveoff l " Int OFF - Batch OFF" -STARTLINE T "n = nuke.thisNode()\nif n\['motionblurc3d'].hasExpression():\n\tn\['motionblurc3d'].clearAnimated()\nelse:\n\tn\['msamplerc3d'].setValue(n\['motionblurc3d'].value())\nn\['motionblurc3d'].setExpression(\"0\")\nn\['c3d_ind'].setValue(\"Interactive OFF - Batch OFF\")"}
addUserKnob {7 msamplerc3d l INVISIBLE +INVISIBLE}
msamplerc3d 1
addUserKnob {1 c3d_ind l status:}
c3d_ind "Interactive ON - Batch ON"
addUserKnob {20 endGroup_3 l endGroup n -1}
addUserKnob {20 sr l "Scanline Render" n 1}
addUserKnob {7 prescan_samples l samples R 0 50}
prescan_samples 5
addUserKnob {7 batch_samples l "batch samples" R 0 50}
batch_samples 5
addUserKnob {7 scan_shutter l shutter}
scan_shutter 0.5
addUserKnob {22 srbatchoninteractiveon l " Int ON - Batch ON" T "n = nuke.thisNode()\nif n\['scan_samples'].hasExpression():\n n\['scan_samples'].clearAnimated()\nif n\['prescan_samples'].hasExpression():\n\tn\['prescan_samples'].clearAnimated()\n\tn\['prescan_samples'].setValue(n\['scan_sampler'].value())\nelse:\n\tn\['scan_sampler'].setValue(n\['prescan_samples'].value())\n\n\nif n\['batch_samples'].hasExpression():\n\tn\['batch_samples'].clearAnimated()\n\tn\['batch_samples'].setValue(n\['batch_sampler'].value())\nelse:\n\tn\['batch_sampler'].setValue(n\['batch_samples'].value())\n\n\nn\['batch_samples'].setValue(n\['batch_sampler'].value())\nn\['prescan_samples'].setValue(n\['scan_sampler'].value())\nn\['scan_samples'].setExpression(\"\$gui ? %s : %s\" % (\"root.prescan_samples\",\"root.batch_samples\" ))\nn\['sr_ind'].setValue(\"Interactive ON - Batch ON\")\n" +STARTLINE}
addUserKnob {22 srbatchoninteractiveoff l " Int OFF - Batch ON" -STARTLINE T "n = nuke.thisNode()\n\nif n\['prescan_samples'].hasExpression():\n\tn\['prescan_samples'].clearAnimated()\n\tn\['prescan_samples'].setExpression(\"0\")\nelse:\n\tn\['scan_sampler'].setValue(n\['prescan_samples'].value())\n\tn\['prescan_samples'].setExpression(\"0\")\n\nif n\['batch_samples'].hasExpression():\n\tn\['batch_samples'].clearAnimated()\nelse:\n\tn\['batch_sampler'].setValue(n\['batch_samples'].value())\n\nn\['batch_samples'].setValue(n\['batch_sampler'].value())\nn\['scan_samples'].setExpression(\"!\$gui ? root.batch_samples : root.prescan_samples\")\nn\['sr_ind'].setValue(\"Interactive OFF - Batch ON\")"}
addUserKnob {22 srbatchoffinteractiveoff l " Int OFF - Batch OFF" -STARTLINE T "n = nuke.thisNode()\nif n\['prescan_samples'].hasExpression() is False:\n\tn\['scan_sampler'].setValue(n\['prescan_samples'].value())\n\nif n\['batch_samples'].hasExpression() is False:\n\tn\['batch_sampler'].setValue(n\['batch_samples'].value())\n\nn\['scan_samples'].setExpression(\"!\$gui ? root.batch_samples : root.prescan_samples\")\nn\['prescan_samples'].setExpression(\"0\")\nn\['batch_samples'].setExpression(\"0\")\n\nn\['sr_ind'].setValue(\"Interactive OFF - Batch OFF\")"}
addUserKnob {7 scan_sampler l INVISIBLE -STARTLINE +INVISIBLE}
scan_sampler 10
addUserKnob {7 scan_samples l INVISIBLE -STARTLINE +INVISIBLE}
scan_samples {{"\$gui ? root.prescan_samples : root.batch_samples"}}
addUserKnob {7 batch_sampler l INVISIBLE -STARTLINE +INVISIBLE}
batch_sampler 10
addUserKnob {1 sr_ind l status:}
sr_ind "Interactive ON - Batch ON"
addUserKnob {20 endGroup_4 l endGroup n -1}
addUserKnob {20 rn l "Roto Node Global Control" n 1}
addUserKnob {6 rotoMotionBlur_on l motionblur t "toggle motionBlur button on Roto nodes on or off\n" +STARTLINE}
rotoMotionBlur_on true
addUserKnob {7 rotoMotionBlur_samples l "motionblur samples" t "Sets the number of motion blur samples" R 0 4}
rotoMotionBlur_samples 1
addUserKnob {7 rotoMotionBlur_shutter l "motionblur shutter" t "This sets how long the shutter should be open. The value is in frames, so 0.5 is half a frame" R 0 2}
rotoMotionBlur_shutter 0.5
addUserKnob {4 rotoShutterOffsetType l "shutter offset type" t "The value of this controls how the shutter behaves with respect to the current frame value" M {centred start end custom}}
addUserKnob {7 rotoShutterOffset l "shutter offset" t "If the \"shutter offset type\" is set to 'custom', this parameter is used to set the time the shutter opens by adding it to the current frame. \nValues are in frames, so -0.5 would open the shutter half a frame before the current frame" R -1 1}
addUserKnob {22 rnbatchoninteractiveon l " Int ON - Batch ON" T "n = nuke.thisNode()\nn\['rotoMotionBlur_on'].clearAnimated()\nn\['rotoMotionBlur_on'].setValue(1)\nn\['rn_ind'].setValue(\"Interactive ON - Batch ON\")" +STARTLINE}
addUserKnob {22 rnbatchointeractiveoff l " Int OFF - Batch ON" -STARTLINE T "n = nuke.thisNode()\nn\['rotoMotionBlur_on'].setExpression(\"!\$gui ? 1: 0\")\nn\['rn_ind'].setValue(\"Interactive OFF - Batch ON\")"}
addUserKnob {22 rnbatchoffinteractiveoff l " Int OFF - Batch OFF" -STARTLINE T "n = nuke.thisNode()\nn\['rotoMotionBlur_on'].clearAnimated()\nn\['rotoMotionBlur_on'].setValue(0)\nn\['rn_ind'].setValue(\"Interactive OFF - Batch OFF\")"}
addUserKnob {1 rn_ind l status:}
rn_ind "Interactive ON - Batch ON"
addUserKnob {20 endGroup_5 l endGroup n -1}
}
BackdropNode {
inputs 0
name BackdropNode1
label "softclip sat. value\nnormalised to\ntarget gamut\nin HSV projection\nof CIE XYZ"
note_font_size 36
xpos 4960
ypos -283
bdwidth 382
bdheight 1657
}
BackdropNode {
inputs 0
name BackdropNode10
label "Generate Gamut Plot"
note_font_size 36
xpos 3463
ypos 1793
bdwidth 853
bdheight 587
}
BackdropNode {
inputs 0
name BackdropNode2
label "softclip sat. value\nin HSV projection\nof taget gamut"
note_font_size 36
xpos 4183
ypos -287
bdwidth 353
bdheight 1659
}
BackdropNode {
inputs 0
name BackdropNode3
label Un-Mapped
note_font_size 36
xpos 3776
ypos -289
bdwidth 378
bdheight 1659
}
BackdropNode {
inputs 0
name BackdropNode4
label "soft-project\non to taget gamut\ntowards white point\nin CIE x,y "
note_font_size 36
xpos 4565
ypos -294
bdwidth 373
bdheight 1670
}
BackdropNode {
inputs 0
name BackdropNode5
label "softclip sat. value\nnormalised to target gamut\nin HSV projection\nof LMS cone fundementals\nwith purple-supression\n(\"Abney Effect\" correction)"
note_font_size 36
xpos 5863
ypos -283
bdwidth 543
bdheight 1651
}
BackdropNode {
inputs 0
name BackdropNode6
label "softclip sat. value\nnormalised to\ntarget gamut\nin HSV projection\nof LMS cone fundementals\naccording to\nM. Safdar et al.\nJzazbz paper of 2017"
note_font_size 36
xpos 5367
ypos -283
bdwidth 475
bdheight 1653
}
BackdropNode {
inputs 0
name BackdropNode7
tile_color 0x9b966cff
label "Contol Parameters\nFrom Here:"
note_font_size 36
xpos 2983
ypos -1046
bdwidth 483
bdheight 356
}
BackdropNode {
inputs 0
name BackdropNode8
label "Image inputs:\nUse timeline to switch sources\n\nFrame 1: Plot Gamut Grid (see Master node)\nFrame 2: Color Wheel (in plotSourceGamut)\nFrame >= 3: connect your image inputs (expected in scene-linear, ACES/AP0)\n"
note_font_size 36
xpos 3480
ypos -1048
bdwidth 3687
bdheight 668
}
BackdropNode {
inputs 0
name BackdropNode9
tile_color 0x829dccff
label "Viewing Nodes:\nImages are in ACEScg (lin_ap1)\nApply display your\ntransform as needed"
note_font_size 36
xpos 2987
ypos -684
bdwidth 477
bdheight 312
}
StickyNote {
inputs 0
name StickyNote1
label "Hack to coax Nuke\ninto updating plot\non input change\n(doesn't always work)\n(try attaching viewer to\n Shuffle1 node instead)"
xpos 4166
ypos 2242
}
Group {
inputs 0
name Group1
label "Gamut Primaries"
note_font "Bitstream Vera Sans"
xpos 3594
ypos -707
addUserKnob {20 User}
addUserKnob {41 gamut T ColorMatrix5.gamut}
addUserKnob {41 red T Primaries.red}
addUserKnob {41 green T Primaries.green}
addUserKnob {41 blue T Primaries.blue}
addUserKnob {41 white T Primaries.white}
addUserKnob {18 primaryAngle}
primaryAngle {{"(-(degrees(atan2(red.x-white.x, red.y-white.y))-180)+270)%360/360"} {"(-(degrees(atan2(green.x-white.x, green.y-white.y))-180)+270)%360/360"} {"(-(degrees(atan2(blue.x-white.x, blue.y-white.y))-180)+270)%360/360"}}
addUserKnob {6 primaryAngle_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 primaryAngle_panelDropped_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
}
Constant {
inputs 0
color {0 0 0 0}
format "4 1 0 0 4 1 1 rgbw"
name Constant3
note_font "Bitstream Vera Sans"
xpos 509
ypos -59
}
Rectangle {
area {0 0 1 1}
color {1 0 0 0}
name Rectangle1
note_font "Bitstream Vera Sans"
xpos 509
ypos 13
}
Rectangle {
area {1 0 2 1}
color {0 1 0 0}
name Rectangle2
note_font "Bitstream Vera Sans"
xpos 509
ypos 37
}
Rectangle {
area {2 0 3 1}
color {0 0 1 0}
name Rectangle3
note_font "Bitstream Vera Sans"
xpos 509
ypos 61
}
Rectangle {
area {3 0 4 1}
color {1 1 1 0}
name Rectangle4
note_font "Bitstream Vera Sans"
xpos 509
ypos 85
}
ColorMatrix {
matrix {
{{"\[python (0.9525523959, 0.6624541811, 0.4123907993, 0.6369580483, 0.4865709486, 0.6380076193, 0.4581609159, 0.4878301118, 0.4516946649, 0.5070147865, 0.4462154077, 0.7352752459, 0.7064827132, 0.7064827132, 0.5990839208, 0.7976672348, 1.0000000000, 1.48804061)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.1340042065, 0.3575843394, 0.1446169036, 0.2656676932, 0.2147038563, 0.3832048061, 0.3432736678, 0.3178467119, 0.3587783652, 0.3157557129, 0.0686094106, 0.1288010498, 0.1288010498, 0.2489255161, 0.1351922306, 0.0000000000, -0.23423647)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000936786, 0.1561876870, 0.1804807884, 0.1688809752, 0.1982172852, 0.0977444514, 0.1112803526, 0.1215422950, 0.1831046977, 0.0868529229, 0.1906749540, 0.1465712705, 0.1151721641, 0.1151721641, 0.1024464902, 0.0313525290, 0.0000000000, -0.3011580651)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.3439664498, 0.2722287168, 0.2126390059, 0.2627002120, 0.2289745641, 0.2919537790, 0.1694420971, 0.2289038124, 0.2119478695, 0.2207240223, 0.1942557952, 0.2866940995, 0.2709796708, 0.2709796708, 0.2150758201, 0.2880374539, 0.0000000000, 0.2501373809)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.7281660966, 0.6740817658, 0.7151686788, 0.6779980715, 0.6917385218, 0.8238410415, 0.8648282025, 0.7808598244, 0.7230197720, 0.8391880546, 0.7385568692, 0.8429791340, 0.7866064112, 0.7866064112, 0.8850685017, 0.7118768834, 1.0000000000, 1.210452347)\\\[\[numvalue gamut]\\]]\n"} {"\[python (-0.0721325464, 0.0536895174, 0.0721923154, 0.0593017165, 0.0792869141, -0.1157948205, -0.0342702996, -0.0097636368, 0.0650323585, -0.0599120769, 0.0671873356, -0.1296732335, -0.0575860820, -0.0575860820, -0.1001443219, 0.0000856626, 0.0000000000, -0.4605897283)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.0000000000, -0.0055746495, 0.0193308187, 0.0000000000, 0.0000000000, 0.0027982790, -0.1061849690, -0.0210075899, -0.0194509094, -0.0544519405, -0.0479226710, -0.0796808569, -0.0096778454, -0.0096778454, -0.0320658495, 0.0000000000, 0.0000000000, -0.4416591448)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.0040607335, 0.1191947798, 0.0280726930, 0.0451133819, -0.0670342357, 0.0255435258, 0.0178269864, 0.0165064159, -0.0003228254, -0.0002844886, -0.3473432170, 0.0046000375, 0.0046000375, -0.0276583907, 0.0000000000, 0.0000000000, -0.2480497808)\\\[\[numvalue gamut]\\]]\n"} {"\[python (1.0088251844, 1.0103391003, 0.9505321522, 1.0609850577, 1.0439443689, 1.1532937074, 1.0894666276, 1.0120057879, 1.0117696778, 1.0635999502, 1.0570323440, 1.5160818246, 1.0941355587, 1.0941355587, 1.1487819910, 0.8251882845, 1.0000000000, 1.69853411)\\\[\[numvalue gamut]\\]]\n"}}
}
name ColorMatrix5
label "input to XYZ"
note_font "Bitstream Vera Sans"
selected true
xpos 509
ypos 109
addUserKnob {20 User}
addUserKnob {3 gamut}
gamut {{Master.targetGamut}}
}
Colorspace {
colorspace_in CIE-XYZ
illuminant_in ACES
primary_in Rec.2020
colorspace_out CIE-Yxy
name Colorspace7
note_font "Bitstream Vera Sans"
xpos 509
ypos 154
}
NoOp {
name Primaries
note_font "Bitstream Vera Sans"
xpos 509
ypos 178
addUserKnob {20 User}
addUserKnob {12 red}
red {{"\[sample this green 0 0]"} {"\[sample this blue 0 0]"}}
addUserKnob {12 green}
green {{"\[sample this green 1 0]"} {"\[sample this blue 1 0]"}}
addUserKnob {12 blue}
blue {{"\[sample this green 2 0]"} {"\[sample this blue 2 0]"}}
addUserKnob {12 white}
white {{"\[sample this green 3 0]"} {"\[sample this blue 3 0]"}}
}
Output {
name Output1
xpos 509
ypos 257
}
end_group
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C096_171213_R11N_lin_ap0.0895897.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read53
xpos 7016
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C095_171213_R11N_lin_ap0.0893744.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read52
xpos 6906
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C094_171213_R11N_lin_ap0.0892173.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read51
xpos 6796
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C093_171213_R11N_lin_ap0.0890902.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read50
xpos 6686
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C092_171213_R11N_lin_ap0.0889688.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read49
xpos 6576
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C091_171213_R11N_lin_ap0.0888367.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read48
xpos 6466
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C090_171213_R11N_lin_ap0.0887144.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read47
xpos 6356
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C089_171213_R11N_lin_ap0.0885836.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read46
xpos 6246
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C088_171213_R11N_lin_ap0.0883827.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read45
xpos 6136
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C087_171213_R11N_lin_ap0.0880363.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read44
xpos 6026
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C086_171213_R11N_lin_ap0.0878098.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read43
xpos 5916
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C085_171213_R11N_lin_ap0.0876649.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read42
xpos 5806
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C084_171213_R11N_lin_ap0.0875601.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read41
xpos 5696
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C083_171213_R11N_lin_ap0.0874303.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read40
xpos 5586
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C082_171213_R11N_lin_ap0.0873001.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read39
xpos 5476
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C081_171213_R11N_lin_ap0.0871457.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read38
xpos 5366
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C080_171213_R11N_lin_ap0.0869910.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read37
xpos 5256
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C079_171213_R11N_lin_ap0.0867242.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read36
xpos 5146
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C078_171213_R11N_lin_ap0.0865904.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read35
xpos 5036
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C077_171213_R11N_lin_ap0.0864011.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read34
xpos 4926
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C076_171213_R11N_lin_ap0.0862483.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read33
xpos 4816
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C075_171213_R11N_lin_ap0.0861340.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read32
xpos 4706
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C074_171213_R11N_lin_ap0.0858420.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read31
xpos 4596
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C073_171213_R11N_lin_ap0.0856643.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read30
xpos 4486
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/ACES_GamutMapping_Images/A004C072_171213_R11N_lin_ap0.0854945.exr
format "3168 1782 0 0 3168 1782 1 "
origset true
name Read29
xpos 4376
ypos -705
}
Read {
inputs 0
file "/Users/matthias/Workspace/ampas/aces_gamut_vwg/images/Joseph Goldstone - Tungsten_3200K.exr"
format "4096 2160 0 0 4096 2160 1 4K_DCP"
origset true
name Read1
xpos 4274
ypos -706
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/Justin_Johnson_AlexaMINI_lin_ap0.exr
format "3424 2202 0 0 3424 2202 1 "
origset true
name Read5
xpos 4173
ypos -706
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/Carol_Payne_J001_C001_08178N_001_lin_ap0.exr
format "3840 2160 0 0 3840 2160 1 UHD_4K"
origset true
name Read2
xpos 4063
ypos -705
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/Fabian_Matas_Alexamini_OutofGamut_2_lin_ap0.exr
format "2048 1152 0 0 2048 1152 1 2K_1.77"
origset true
name Read3
xpos 3962
ypos -703
}
Read {
inputs 0
file /Users/matthias/Workspace/ampas/aces_gamut_vwg/images/Fabian_Matas_Alexamini_OutofGamut_1_lin_ap0.exr
format "2048 1152 0 0 2048 1152 1 2K_1.77"
origset true
name Read4
xpos 3852
ypos -700
}
ColorWheel {
inputs 0
format "2048 2048 0 0 2048 2048 1 square_2k"
gamma 0.45
name ColorWheel5
note_font "Bitstream Vera Sans"
xpos 3703
ypos -799
}
Rectangle {
area {1023 1023 1025 1025}
color {1 1 1 1}
name Rectangle1
xpos 3703
ypos -727
}
ColorMatrix {
matrix {
{{"\[python (0.9525523959, 0.6624541811, 0.4123907993, 0.6369580483, 0.4865709486, 0.6380076193, 0.4581609159, 0.4878301118, 0.4516946649, 0.5070147865, 0.4462154077, 0.7352752459, 0.7064827132, 0.7064827132, 0.5990839208, 0.7976672348, 1.0000000000, 1.48804061)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.1340042065, 0.3575843394, 0.1446169036, 0.2656676932, 0.2147038563, 0.3832048061, 0.3432736678, 0.3178467119, 0.3587783652, 0.3157557129, 0.0686094106, 0.1288010498, 0.1288010498, 0.2489255161, 0.1351922306, 0.0000000000, -0.23423647)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000936786, 0.1561876870, 0.1804807884, 0.1688809752, 0.1982172852, 0.0977444514, 0.1112803526, 0.1215422950, 0.1831046977, 0.0868529229, 0.1906749540, 0.1465712705, 0.1151721641, 0.1151721641, 0.1024464902, 0.0313525290, 0.0000000000, -0.3011580651)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.3439664498, 0.2722287168, 0.2126390059, 0.2627002120, 0.2289745641, 0.2919537790, 0.1694420971, 0.2289038124, 0.2119478695, 0.2207240223, 0.1942557952, 0.2866940995, 0.2709796708, 0.2709796708, 0.2150758201, 0.2880374539, 0.0000000000, 0.2501373809)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.7281660966, 0.6740817658, 0.7151686788, 0.6779980715, 0.6917385218, 0.8238410415, 0.8648282025, 0.7808598244, 0.7230197720, 0.8391880546, 0.7385568692, 0.8429791340, 0.7866064112, 0.7866064112, 0.8850685017, 0.7118768834, 1.0000000000, 1.210452347)\\\[\[numvalue gamut]\\]]\n"} {"\[python (-0.0721325464, 0.0536895174, 0.0721923154, 0.0593017165, 0.0792869141, -0.1157948205, -0.0342702996, -0.0097636368, 0.0650323585, -0.0599120769, 0.0671873356, -0.1296732335, -0.0575860820, -0.0575860820, -0.1001443219, 0.0000856626, 0.0000000000, -0.4605897283)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.0000000000, -0.0055746495, 0.0193308187, 0.0000000000, 0.0000000000, 0.0027982790, -0.1061849690, -0.0210075899, -0.0194509094, -0.0544519405, -0.0479226710, -0.0796808569, -0.0096778454, -0.0096778454, -0.0320658495, 0.0000000000, 0.0000000000, -0.4416591448)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.0040607335, 0.1191947798, 0.0280726930, 0.0451133819, -0.0670342357, 0.0255435258, 0.0178269864, 0.0165064159, -0.0003228254, -0.0002844886, -0.3473432170, 0.0046000375, 0.0046000375, -0.0276583907, 0.0000000000, 0.0000000000, -0.2480497808)\\\[\[numvalue gamut]\\]]\n"} {"\[python (1.0088251844, 1.0103391003, 0.9505321522, 1.0609850577, 1.0439443689, 1.1532937074, 1.0894666276, 1.0120057879, 1.0117696778, 1.0635999502, 1.0570323440, 1.5160818246, 1.0941355587, 1.0941355587, 1.1487819910, 0.8251882845, 1.0000000000, 1.69853411)\\\[\[numvalue gamut]\\]]\n"}}
}
name ColorMatrix7
label "target to XYZ"
note_font "Bitstream Vera Sans"
xpos 3703
ypos -664
addUserKnob {20 User}
addUserKnob {3 gamut}
gamut {{GamutGrid1.gamut}}
}
ColorMatrix {
matrix {
{{"\[python (0.9525523959, 0.6624541811, 0.4123907993, 0.6369580483, 0.4865709486, 0.6380076193, 0.4581609159, 0.4878301118, 0.4516946649, 0.5070147865, 0.4462154077, 0.7352752459, 0.7064827132, 0.7064827132, 0.5990839208, 0.7976672348, 1.0000000000, 1.48804061)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.1340042065, 0.3575843394, 0.1446169036, 0.2656676932, 0.2147038563, 0.3832048061, 0.3432736678, 0.3178467119, 0.3587783652, 0.3157557129, 0.0686094106, 0.1288010498, 0.1288010498, 0.2489255161, 0.1351922306, 0.0000000000, -0.23423647)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000936786, 0.1561876870, 0.1804807884, 0.1688809752, 0.1982172852, 0.0977444514, 0.1112803526, 0.1215422950, 0.1831046977, 0.0868529229, 0.1906749540, 0.1465712705, 0.1151721641, 0.1151721641, 0.1024464902, 0.0313525290, 0.0000000000, -0.3011580651)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.3439664498, 0.2722287168, 0.2126390059, 0.2627002120, 0.2289745641, 0.2919537790, 0.1694420971, 0.2289038124, 0.2119478695, 0.2207240223, 0.1942557952, 0.2866940995, 0.2709796708, 0.2709796708, 0.2150758201, 0.2880374539, 0.0000000000, 0.2501373809)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.7281660966, 0.6740817658, 0.7151686788, 0.6779980715, 0.6917385218, 0.8238410415, 0.8648282025, 0.7808598244, 0.7230197720, 0.8391880546, 0.7385568692, 0.8429791340, 0.7866064112, 0.7866064112, 0.8850685017, 0.7118768834, 1.0000000000, 1.210452347)\\\[\[numvalue gamut]\\]]\n"} {"\[python (-0.0721325464, 0.0536895174, 0.0721923154, 0.0593017165, 0.0792869141, -0.1157948205, -0.0342702996, -0.0097636368, 0.0650323585, -0.0599120769, 0.0671873356, -0.1296732335, -0.0575860820, -0.0575860820, -0.1001443219, 0.0000856626, 0.0000000000, -0.4605897283)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.0000000000, -0.0055746495, 0.0193308187, 0.0000000000, 0.0000000000, 0.0027982790, -0.1061849690, -0.0210075899, -0.0194509094, -0.0544519405, -0.0479226710, -0.0796808569, -0.0096778454, -0.0096778454, -0.0320658495, 0.0000000000, 0.0000000000, -0.4416591448)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.0040607335, 0.1191947798, 0.0280726930, 0.0451133819, -0.0670342357, 0.0255435258, 0.0178269864, 0.0165064159, -0.0003228254, -0.0002844886, -0.3473432170, 0.0046000375, 0.0046000375, -0.0276583907, 0.0000000000, 0.0000000000, -0.2480497808)\\\[\[numvalue gamut]\\]]\n"} {"\[python (1.0088251844, 1.0103391003, 0.9505321522, 1.0609850577, 1.0439443689, 1.1532937074, 1.0894666276, 1.0120057879, 1.0117696778, 1.0635999502, 1.0570323440, 1.5160818246, 1.0941355587, 1.0941355587, 1.1487819910, 0.8251882845, 1.0000000000, 1.69853411)\\\[\[numvalue gamut]\\]]\n"}}
}
invert true
name ColorMatrix3
label "XYZ to ACES"
note_font "Bitstream Vera Sans"
xpos 3703
ypos -628
addUserKnob {20 User}
addUserKnob {4 gamut M {ACES ACEScg "Rec709 / sRGB" Rec2020 P3 AlexaWideGamut REDColor2 REDColor3 REDColor4 DRAGONcolor DRAGONcolor2 REDWideGamutRGB SGamut SGamut3 SGamut3.Cine ProPhoto "CIE XYZ" "Huge Gamut AP0 x 2" ""}}
}
Group {
inputs 0
name GamutGrid1
note_font "Bitstream Vera Sans"
xpos 3595
ypos -658
addUserKnob {20 User}
addUserKnob {3 gamut}
gamut {{Master.plotSourceGamut}}
addUserKnob {3 style}
style {{Master.plotStyle}}
addUserKnob {7 density R 0 100}
density {{Master.plotDensity}}
addUserKnob {12 whitePoint}
whitePoint {{parent.Group1.Primaries.white} {parent.Group1.Primaries.white}}
}
ColorWheel {
inputs 0
format "512 512 0 0 512 512 1 square_512"
fillFormat false
area {40 40 472 472}
name ColorWheel1
xpos 508
ypos -455
}
Reformat {
type scale
scale {{max(parent.density/50,0.25)}}
resize distort
filter Impulse
pbb true
name Reformat2
note_font "Bitstream Vera Sans"
xpos 508
ypos -383
}
set C88c63830 [stack 0]
Dot {
name Dot1
note_font "Bitstream Vera Sans"
xpos 542
ypos -285
}
ColorMatrix {
matrix {
{{"\[python (0.9525523959, 0.6624541811, 0.4123907993, 0.6369580483, 0.4865709486, 0.6380076193, 0.4581609159, 0.4878301118, 0.4516946649, 0.5070147865, 0.4462154077, 0.7352752459, 0.7064827132, 0.7064827132, 0.5990839208, 0.7976672348, 1.0000000000, 1.48804061)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.1340042065, 0.3575843394, 0.1446169036, 0.2656676932, 0.2147038563, 0.3832048061, 0.3432736678, 0.3178467119, 0.3587783652, 0.3157557129, 0.0686094106, 0.1288010498, 0.1288010498, 0.2489255161, 0.1351922306, 0.0000000000, -0.23423647)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000936786, 0.1561876870, 0.1804807884, 0.1688809752, 0.1982172852, 0.0977444514, 0.1112803526, 0.1215422950, 0.1831046977, 0.0868529229, 0.1906749540, 0.1465712705, 0.1151721641, 0.1151721641, 0.1024464902, 0.0313525290, 0.0000000000, -0.3011580651)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.3439664498, 0.2722287168, 0.2126390059, 0.2627002120, 0.2289745641, 0.2919537790, 0.1694420971, 0.2289038124, 0.2119478695, 0.2207240223, 0.1942557952, 0.2866940995, 0.2709796708, 0.2709796708, 0.2150758201, 0.2880374539, 0.0000000000, 0.2501373809)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.7281660966, 0.6740817658, 0.7151686788, 0.6779980715, 0.6917385218, 0.8238410415, 0.8648282025, 0.7808598244, 0.7230197720, 0.8391880546, 0.7385568692, 0.8429791340, 0.7866064112, 0.7866064112, 0.8850685017, 0.7118768834, 1.0000000000, 1.210452347)\\\[\[numvalue gamut]\\]]\n"} {"\[python (-0.0721325464, 0.0536895174, 0.0721923154, 0.0593017165, 0.0792869141, -0.1157948205, -0.0342702996, -0.0097636368, 0.0650323585, -0.0599120769, 0.0671873356, -0.1296732335, -0.0575860820, -0.0575860820, -0.1001443219, 0.0000856626, 0.0000000000, -0.4605897283)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.0000000000, -0.0055746495, 0.0193308187, 0.0000000000, 0.0000000000, 0.0027982790, -0.1061849690, -0.0210075899, -0.0194509094, -0.0544519405, -0.0479226710, -0.0796808569, -0.0096778454, -0.0096778454, -0.0320658495, 0.0000000000, 0.0000000000, -0.4416591448)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.0040607335, 0.1191947798, 0.0280726930, 0.0451133819, -0.0670342357, 0.0255435258, 0.0178269864, 0.0165064159, -0.0003228254, -0.0002844886, -0.3473432170, 0.0046000375, 0.0046000375, -0.0276583907, 0.0000000000, 0.0000000000, -0.2480497808)\\\[\[numvalue gamut]\\]]\n"} {"\[python (1.0088251844, 1.0103391003, 0.9505321522, 1.0609850577, 1.0439443689, 1.1532937074, 1.0894666276, 1.0120057879, 1.0117696778, 1.0635999502, 1.0570323440, 1.5160818246, 1.0941355587, 1.0941355587, 1.1487819910, 0.8251882845, 1.0000000000, 1.69853411)\\\[\[numvalue gamut]\\]]\n"}}
}
name ColorMatrix17
label "working to XYZ"
note_font "Bitstream Vera Sans"
xpos 508
ypos -228
addUserKnob {20 User}
addUserKnob {3 gamut}
gamut {{parent.gamut}}
}
set N88c6b7b0 [stack 0]
Dot {
name Dot2
note_font "Bitstream Vera Sans"
xpos 150
ypos -219
}
Colorspace {
colorspace_in CIE-XYZ
colorspace_out CIE-Yxy
name Colorspace1
note_font "Bitstream Vera Sans"
xpos 116
ypos -194
}
Expression {
expr0 r
expr1 "(-(degrees(atan2(g-white.x, b-white.y))-180)+270)%360/360"
expr2 "hypot(g-white.x, b-white.y)"
expr3 a
name Expression3
xpos 116
ypos -158
cached true
addUserKnob {20 User}
addUserKnob {12 white}
white {{parent.whitePoint.x} {parent.whitePoint.y}}
}
set N88c71a60 [stack 0]
Posterize {
Colors {{rint(parent.density/3*2)}}
name Posterize1
note_font "Bitstream Vera Sans"
selected true
xpos 116
ypos -117
}
set N88c90a50 [stack 0]
push $N88c71a60
Dot {
name Dot15
note_font "Bitstream Vera Sans"
xpos 217
ypos -155
}
ShuffleCopy {
inputs 2
blue blue
name ShuffleCopy4
note_font "Bitstream Vera Sans"
xpos 183
ypos -66
}
Transform {
translate {{width} 0}
center {{width/2} {height/2}}
filter Impulse
name Transform6
note_font "Bitstream Vera Sans"
xpos 183
ypos -42
}
push $N88c90a50
push $N88c71a60
Dot {
name Dot16
note_font "Bitstream Vera Sans"
xpos 80
ypos -155
}
ShuffleCopy {
inputs 2
green green
name ShuffleCopy3
note_font "Bitstream Vera Sans"
xpos 46
ypos -69
}
Reformat {
type scale
scale {2 1}
resize none
center false
filter Impulse
name Reformat14
note_font "Bitstream Vera Sans"
xpos 46
ypos -45
}
Merge2 {
inputs 2
name Merge20
note_font "Bitstream Vera Sans"
xpos 109
ypos 5
}
Expression {
expr0 r
expr1 cos(radians(g*360))*b+white.x
expr2 sin(radians(g*360))*b+white.y
expr3 a
name Expression19
xpos 109
ypos 29
cached true
addUserKnob {20 User}
addUserKnob {12 white}
white {{parent.Expression3.white} {parent.Expression3.white}}
}
Colorspace {
colorspace_in CIE-Yxy
colorspace_out CIE-XYZ
name Colorspace2
note_font "Bitstream Vera Sans"
xpos 109
ypos 53
}
ColorMatrix {
matrix {
{{"\[python (0.9525523959, 0.6624541811, 0.4123907993, 0.6369580483, 0.4865709486, 0.6380076193, 0.4581609159, 0.4878301118, 0.4516946649, 0.5070147865, 0.4462154077, 0.7352752459, 0.7064827132, 0.7064827132, 0.5990839208, 0.7976672348, 1.0000000000, 1.48804061)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.1340042065, 0.3575843394, 0.1446169036, 0.2656676932, 0.2147038563, 0.3832048061, 0.3432736678, 0.3178467119, 0.3587783652, 0.3157557129, 0.0686094106, 0.1288010498, 0.1288010498, 0.2489255161, 0.1351922306, 0.0000000000, -0.23423647)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000936786, 0.1561876870, 0.1804807884, 0.1688809752, 0.1982172852, 0.0977444514, 0.1112803526, 0.1215422950, 0.1831046977, 0.0868529229, 0.1906749540, 0.1465712705, 0.1151721641, 0.1151721641, 0.1024464902, 0.0313525290, 0.0000000000, -0.3011580651)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.3439664498, 0.2722287168, 0.2126390059, 0.2627002120, 0.2289745641, 0.2919537790, 0.1694420971, 0.2289038124, 0.2119478695, 0.2207240223, 0.1942557952, 0.2866940995, 0.2709796708, 0.2709796708, 0.2150758201, 0.2880374539, 0.0000000000, 0.2501373809)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.7281660966, 0.6740817658, 0.7151686788, 0.6779980715, 0.6917385218, 0.8238410415, 0.8648282025, 0.7808598244, 0.7230197720, 0.8391880546, 0.7385568692, 0.8429791340, 0.7866064112, 0.7866064112, 0.8850685017, 0.7118768834, 1.0000000000, 1.210452347)\\\[\[numvalue gamut]\\]]\n"} {"\[python (-0.0721325464, 0.0536895174, 0.0721923154, 0.0593017165, 0.0792869141, -0.1157948205, -0.0342702996, -0.0097636368, 0.0650323585, -0.0599120769, 0.0671873356, -0.1296732335, -0.0575860820, -0.0575860820, -0.1001443219, 0.0000856626, 0.0000000000, -0.4605897283)\\\[\[numvalue gamut]\\]]\n"}}
{{"\[python (0.0000000000, -0.0055746495, 0.0193308187, 0.0000000000, 0.0000000000, 0.0027982790, -0.1061849690, -0.0210075899, -0.0194509094, -0.0544519405, -0.0479226710, -0.0796808569, -0.0096778454, -0.0096778454, -0.0320658495, 0.0000000000, 0.0000000000, -0.4416591448)\\\[\[numvalue gamut]\\]]\n"} {"\[python (0.0000000000, 0.0040607335, 0.1191947798, 0.0280726930, 0.0451133819, -0.0670342357, 0.0255435258, 0.0178269864, 0.0165064159, -0.0003228254, -0.0002844886, -0.3473432170, 0.0046000375, 0.0046000375, -0.0276583907, 0.0000000000, 0.0000000000, -0.2480497808)\\\[\[numvalue gamut]\\]]\n"} {"\[python (1.0088251844, 1.0103391003, 0.9505321522, 1.0609850577, 1.0439443689, 1.1532937074, 1.0894666276, 1.0120057879, 1.0117696778, 1.0635999502, 1.0570323440, 1.5160818246, 1.0941355587, 1.0941355587, 1.1487819910, 0.8251882845, 1.0000000000, 1.69853411)\\\[\[numvalue gamut]\\]]\n"}}
}
invert true
name ColorMatrix3
label "XYZ to working"
note_font "Bitstream Vera Sans"
xpos 109
ypos 77
addUserKnob {20 User}
addUserKnob {3 gamut}
gamut {{parent.gamut}}
}
Clamp {
channels rgb
maximum_enable false
name Clamp2
xpos 109
ypos 113
}
Clamp {
channels {-rgba.red -rgba.green -rgba.blue rgba.alpha}
minimum 1
MinClampTo_enable true
MaxClampTo_enable true
name Clamp1
note_font "Bitstream Vera Sans"
xpos 109
ypos 158
}
Premult {
name Premult2
note_font "Bitstream Vera Sans"
xpos 109
ypos 194
}
ColorWheel {
inputs 0
format "512 512 0 0 512 512 1 square_512"
centerSaturation 1
fillFormat false
area {-256 -256 768 768}
name ColorWheel4
xpos 311
ypos 30
}
Crop {
box {0 0 512 512}
reformat true
name Crop2
note_font "Bitstream Vera Sans"
xpos 311
ypos 112
}
set N28c796c0 [stack 0]
Transform {
translate {{width} 0}
center {256 256}
name Transform1
note_font "Bitstream Vera Sans"
xpos 367
ypos 156
}
push $N28c796c0
Reformat {
type scale
scale {2 1}
resize none
center false
filter Impulse
name Reformat1
note_font "Bitstream Vera Sans"
xpos 262
ypos 153
}
Merge2 {
inputs 2
name Merge2
note_font "Bitstream Vera Sans"
xpos 305
ypos 194
}
clone $C88c63830 {
xpos 305
ypos 218
selected false
}
Merge2 {
inputs 2
bbox B
name Merge1
note_font "Bitstream Vera Sans"
xpos 109
ypos 218
}
Dot {
name Dot3
note_font "Bitstream Vera Sans"
xpos 143
ypos 250
}
set Ne20c1060 [stack 0]
push $N88c6b7b0
Colorspace {
colorspace_in CIE-XYZ
primary_in AlexaV3LogC
colorspace_out CIE-Yxy
name Colorspace3
note_font "Bitstream Vera Sans"
xpos 508
ypos -175
}
set Ne20c3390 [stack 0]
push $Ne20c3390
Expression {
inputs 1+1
expr0 rint(r*Colors)/Colors
expr1 rint(g*Colors)/Colors
expr2 rint(b*Colors)/Colors
name Expression1
note_font "Bitstream Vera Sans"
xpos 736
ypos -175
addUserKnob {20 User}
addUserKnob {7 Colors R 1 256}
Colors {{parent.density}}
}
Expression {
expr0 "r == 0 ? 0.0001 : r"