[Bf-blender-cvs] [082b0253a24] studio-sprite-fright: Bring DCI colorspace configuration for DCP creation

Sergey Sharybin noreply at git.blender.org
Wed Oct 27 11:06:20 CEST 2021


Commit: 082b0253a24781ea34b69cd58e8aabb05194c212
Author: Sergey Sharybin
Date:   Wed Oct 27 11:00:58 2021 +0200
Branches: studio-sprite-fright
https://developer.blender.org/rB082b0253a24781ea34b69cd58e8aabb05194c212

Bring DCI colorspace configuration for DCP creation

Based on LUT and XYZ conversion matrix from OpenDCP.

Expose already-existing DCI view of Display transform (which was
hidden by color management changes for 2.80). Introduce an input
LUT which is what OpenDCP is doing and what makes the output of
Blender's DCI  match OpenDCP result.

Additionally introduce DCI Filimc which will first perform filmic
conversion before the rest of DCI conversion. This allows to export
EXR images sequence directly from Blender as if it was first exported
to PNG/TIFF first.

This is a sub-optimal, but is something we use at the studio to deal
with DCP at this time.

===================================================================

M	release/datafiles/colormanagement/config.ocio
A	release/datafiles/colormanagement/luts/dcp_in.spi1d

===================================================================

diff --git a/release/datafiles/colormanagement/config.ocio b/release/datafiles/colormanagement/config.ocio
index bb9fd27fb84..55ec21cfafd 100644
--- a/release/datafiles/colormanagement/config.ocio
+++ b/release/datafiles/colormanagement/config.ocio
@@ -59,12 +59,13 @@ displays:
   XYZ:
     - !<View> {name: Standard, colorspace: XYZ}
     - !<View> {name: DCI, colorspace: dci_xyz}
+    - !<View> {name: DCI Filmic, colorspace: dci_xyz_filmic}
     - !<View> {name: Raw, colorspace: Raw}
   None:
     - !<View> {name: Standard, colorspace: Raw}
 
 active_displays: [sRGB, XYZ, None]
-active_views: [Standard, Filmic, Filmic Log, Raw, False Color]
+active_views: [Standard, Filmic, Filmic Log, Raw, False Color, DCI, DCI Filmic]
 
 colorspaces:
   - !<ColorSpace>
@@ -141,6 +142,26 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: srgb_inv.spi1d, interpolation: linear}
+        - !<FileTransform> {src: dcp_in.spi1d, interpolation: linear}
+        - !<FileTransform> {src: srgb_to_xyz.spimtx, interpolation: linear}
+        - !<FileTransform> {src: dci_xyz.spi1d, interpolation: linear}
+
+  - !<ColorSpace>
+    name: dci_xyz_filmic
+    family: display
+    equalitygroup:
+    bitdepth: 16f
+    description: |
+      OpenDCP output LUT with DCI reference white and Gamma 2.6
+    isdata: false
+    allocation: uniform
+    allocationvars: [0, 1]
+    from_reference: !<GroupTransform>
+      children:
+        - !<ColorSpaceTransform> {src: Linear, dst: Filmic Log}
+        - !<FileTransform> {src: filmic_to_0-70_1-03.spi1d, interpolation: linear}
+        - !<FileTransform> {src: dcp_in.spi1d, interpolation: linear}
         - !<FileTransform> {src: srgb_to_xyz.spimtx, interpolation: linear}
         - !<FileTransform> {src: dci_xyz.spi1d, interpolation: linear}
 
diff --git a/release/datafiles/colormanagement/luts/dcp_in.spi1d b/release/datafiles/colormanagement/luts/dcp_in.spi1d
new file mode 100644
index 00000000000..8d9f979438c
--- /dev/null
+++ b/release/datafiles/colormanagement/luts/dcp_in.spi1d
@@ -0,0 +1,4102 @@
+Version 1
+From 0.0 1.0
+Length 4096
+Components 1
+{
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000000
+        0.000001
+        0.000001
+        0.000001
+        0.000001
+        0.000001
+        0.000001
+        0.000002
+        0.000002
+        0.000002
+        0.000003
+        0.000003
+        0.000003
+        0.000004
+        0.000004
+        0.000004
+        0.000005
+        0.000005
+        0.000006
+        0.000006
+        0.000007
+        0.000008
+        0.000008
+        0.000009
+        0.000009
+        0.000010
+        0.000011
+        0.000012
+        0.000012
+        0.000013
+        0.000014
+        0.000015
+        0.000016
+        0.000017
+        0.000018
+        0.000019
+        0.000020
+        0.000021
+        0.000022
+        0.000023
+        0.000024
+        0.000026
+        0.000027
+        0.000028
+        0.000029
+        0.000031
+        0.000032
+        0.000034
+        0.000035
+        0.000037
+        0.000038
+        0.000040
+        0.000041
+        0.000043
+        0.000045
+        0.000046
+        0.000048
+        0.000050
+        0.000052
+        0.000054
+        0.000055
+        0.000057
+        0.000059
+        0.000061
+        0.000063
+        0.000066
+        0.000068
+        0.000070
+        0.000072
+        0.000074
+        0.000077
+        0.000079
+        0.000081
+        0.000084
+        0.000086
+        0.000089
+        0.000091
+        0.000094
+        0.000097
+        0.000099
+        0.000102
+        0.000105
+        0.000108
+        0.000111
+        0.000113
+        0.000116
+        0.000119
+        0.000122
+        0.000126
+        0.000129
+        0.000132
+        0.000135
+        0.000138
+        0.000142
+        0.000145
+        0.000148
+        0.000152
+        0.000155
+        0.000159
+        0.000162
+        0.000166
+        0.000170
+        0.000174
+        0.000177
+        0.000181
+        0.000185
+        0.000189
+        0.000193
+        0.000197
+        0.000201
+        0.000205
+        0.000209
+        0.000213
+        0.000218
+        0.000222
+        0.000226
+        0.000231
+        0.000235
+        0.000240
+        0.000244
+        0.000249
+        0.000254
+        0.000258
+        0.000263
+        0.000268
+        0.000273
+        0.000278
+        0.000283
+        0.000288
+        0.000293
+        0.000298
+        0.000303
+        0.000308
+        0.000313
+        0.000319
+        0.000324
+        0.000330
+        0.000335
+        0.000341
+        0.000346
+        0.000352
+        0.000357
+        0.000363
+        0.000369
+        0.000375
+        0.000381
+        0.000387
+        0.000393
+        0.000399
+        0.000405
+        0.000411
+        0.000417
+        0.000424
+        0.000430
+        0.000436
+        0.000443
+        0.000449
+        0.000456
+        0.000462
+        0.000469
+        0.000476
+        0.000483
+        0.000490
+        0.000496
+        0.000503
+        0.000510
+        0.000517
+        0.000525
+        0.000532
+        0.000539
+        0.000546
+        0.000554
+        0.000561
+        0.000569
+        0.000576
+        0.000584
+        0.000591
+        0.000599
+        0.000607
+        0.000615
+        0.000622
+        0.000630
+        0.000638
+        0.000646
+        0.000655
+        0.000663
+        0.000671
+        0.000679
+        0.000688
+        0.000696
+        0.000704
+        0.000713
+        0.000722
+        0.000730
+        0.000739
+        0.000748
+        0.000756
+        0.000765
+        0.000774
+        0.000783
+        0.000792
+        0.000802
+        0.000811
+        0.000820
+        0.000829
+        0.000839
+        0.000848
+        0.000858
+        0.000867
+        0.000877
+        0.000886
+        0.000896
+        0.000906
+        0.000916
+        0.000926
+        0.000936
+        0.000946
+        0.000956
+        0.000966
+        0.000976
+        0.000987
+        0.000997
+        0.001008
+        0.001018
+        0.001029
+        0.001039
+        0.001050
+        0.001061
+        0.001071
+        0.001082
+        0.001093
+        0.001104
+        0.001115
+        0.001127
+        0.001138
+        0.001149
+        0.001160
+        0.001172
+        0.001183
+        0.001195
+        0.001206
+        0.001218
+        0.001230
+        0.001242
+        0.001253
+        0.001265
+        0.001277
+        0.001289
+        0.001301
+        0.001314
+        0.001326
+        0.001338
+        0.001351
+        0.001363
+        0.001376
+        0.001388
+        0.001401
+        0.001414
+        0.001426
+        0.001439
+        0.001452
+        0.001465
+        0.001478
+        0.001491
+        0.001504
+        0.001518
+        0.001531
+        0.001544
+        0.001558
+        0.001571
+        0.001585
+        0.001599
+        0.001612
+        0.001626
+        0.001640
+        0.001654
+        0.001668
+        0.001682
+        0.001696
+        0.001711
+        0.001725
+        0.001739
+        0.001754
+        0.001768
+        0.001783
+        0.001797
+        0.001812
+        0.001827
+        0.001842
+        0.001857
+        0.001872
+        0.001887
+        0.001902
+        0.001917
+        0.001932
+        0.001948
+        0.001963
+        0.001978
+        0.001994
+        0.002010
+        0.002025
+        0.002041
+        0.002057
+        0.002073
+        0.002089
+        0.002105
+        0.002121
+        0.002137
+        0.002153
+        0.002170
+        0.002186
+        0.002203
+        0.002219
+        0.002236
+        0.002253
+        0.002269
+        0.002286
+        0.002303
+        0.002320
+        0.002337
+        0.002354
+        0.002372
+        0.002389
+        0.002406
+        0.002424
+        0.002441
+        0.002459
+        0.002476
+        0.002494
+        0.002512
+        0.002530
+        0.002548
+        0.002566
+        0.002584
+        0.002602
+        0.002620
+        0.002638
+        0.002657
+        0.002675
+        0.002694
+        0.002713
+        0.002731
+        0.002750
+        0.002769
+        0.002788
+        0.002807
+        0.002826
+        0.002845
+        0.002864
+        0.002883
+        0.002903
+        0.002922
+        0.002942
+        0.002961
+        0.002981
+        0.003001
+        0.003021
+        0.003041
+        0.003060
+        0.003081
+        0.003101
+        0.003121
+        0.003141
+        0.003162
+        0.003182
+        0.003202
+        0.003223
+        0.003244
+        0.003264
+        0.003285
+        0.003306
+        0.003327
+        0.003348
+        0.003369
+        0.003391
+        0.003412
+        0.003433
+        0.003455
+        0.003476
+        0.003498
+        0.003519
+        0.003541
+        0.003563
+        0.003585
+        0.003607
+        0.003629
+        0.003651
+        0.003673
+        0.003696
+        0.003718
+        0.003740
+        0.003763
+        0.003786
+        0.003808
+        0.003831
+        0.003854
+        0.003877
+        0.003900
+        0.003923
+        0.003946
+        0.003969
+        0.003993
+        0.004016
+        0.004040
+        0.004063
+        0.004087
+        0.004111
+        0.004134
+        0.004158
+        0.004182
+        0.004206
+        0.004230
+        0.004255
+        0.004279
+        0.004303
+        0.004328
+        0.004352
+        0.004377
+        0.004402
+        0.004426
+        0.004451
+        0.004476
+        0.004501
+        0.004526
+        0.004552
+        0.004577
+        0.004602
+        0.004628
+        0.004653
+        0.004679
+        0.004704
+        0.004730
+        0.004756
+        0.004782
+        0.004808
+        0.004834
+        0.004860
+        0.004886
+        

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list