Color management: change reference space from Linear ACES to Linear. This will
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 25 Sep 2012 12:43:50 +0000 (12:43 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 25 Sep 2012 12:43:50 +0000 (12:43 +0000)
have no effect on the end result, because it is only an intermediate space and
scene_linear was already set to Linear. It does avoid some unnecessary matrix
transforms which should be a bit faster, and it makes it more clear what's
happening.

release/datafiles/colormanagement/config.ocio

index 5c8b1913893370eedd0def0da7db23835488279f..ab3377e3b59c12f023669b6bac3e057b288f8837 100644 (file)
@@ -11,7 +11,7 @@ luma: [0.2126, 0.7152, 0.0722]
 description: RRT version ut33
 
 roles:
-  reference: Linear ACES
+  reference: Linear
 
   # Internal scene linear space
   scene_linear: Linear
@@ -58,10 +58,12 @@ active_views: [Default, RRT, Raw, Log]
 
 colorspaces:
   - !<ColorSpace>
-    name: Linear ACES
+    name: Linear
     family: aces
     equalitygroup:
     bitdepth: 32f
+    description: |
+      Rec. 709 (Full Range), Blender native linear space
     isdata: false
     allocation: lg2
     allocationvars: [-8.5, 5]
@@ -93,18 +95,19 @@ colorspaces:
         - !<FileTransform> {src: adx_cid_to_rle.spi1d, interpolation: linear}
         - !<LogTransform> {base: 10, direction: inverse}
         - !<FileTransform> {src: adx_exp_to_aces.spimtx}
+        - !<FileTransform> {src: aces_to_rec709.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
-    name: Linear
+    name: Linear ACES
     family:
     equalitygroup:
     bitdepth: 32f
     description: |
-      Rec. 709 (Full Range), Blender native linear space
+      ACES linear space
     isdata: false
     allocation: uniform
-    allocationvars: [-0.125, 1.125]
-    to_reference: !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
+    allocationvars: [-8.5, 5]
+    to_reference: !<FileTransform> {src: aces_to_rec709.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
     name: rrt_srgb
@@ -116,6 +119,7 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
         - !<AllocationTransform> {allocation: lg2, vars: [-8.5, 5]}
         - !<FileTransform> {src: rrt_ut33_sRGB.spi3d, interpolation: tetrahedral}
 
@@ -132,7 +136,6 @@ colorspaces:
     to_reference: !<GroupTransform>
       children:
         - !<FileTransform> {src: rec709.spi1d, interpolation: linear}
-        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
     name: rrt_rec709
@@ -144,6 +147,7 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
         - !<AllocationTransform> {allocation: lg2, vars: [-8.5, 5]}
         - !<FileTransform> {src: rrt_ut33_rec709.spi3d, interpolation: tetrahedral}
 
@@ -157,6 +161,7 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
         - !<AllocationTransform> {allocation: lg2, vars: [-8.5, 5]}
         - !<FileTransform> {src: rrt_ut33_p3dci.spi3d, interpolation: tetrahedral}
 
@@ -170,6 +175,7 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
         - !<FileTransform> {src: aces_to_xyz.spimtx, interpolation: linear}
 
   - !<ColorSpace>
@@ -182,6 +188,7 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
         - !<AllocationTransform> {allocation: lg2, vars: [-8.5, 5]}
         - !<FileTransform> {src: rrt_ut33_dcdm.spi3d, interpolation: tetrahedral}
 
@@ -197,7 +204,6 @@ colorspaces:
     allocationvars: [0, 1]
     from_reference: !<GroupTransform>
       children:
-        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: linear, direction: inverse}
         - !<FileTransform> {src: srgb_to_xyz.spimtx, interpolation: linear}
         - !<FileTransform> {src: dci_xyz.spi1d, interpolation: linear}
 
@@ -213,7 +219,6 @@ colorspaces:
     to_reference: !<GroupTransform>
       children:
         - !<FileTransform> {src: lg10.spi1d, interpolation: nearest}
-        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
     name: srgb8
@@ -226,7 +231,7 @@ colorspaces:
     allocation: uniform
     from_reference: !<GroupTransform>
       children:
-        - !<ColorSpaceTransform> {src: Linear ACES, dst: lg10}
+        - !<ColorSpaceTransform> {src: Linear, dst: lg10}
         - !<FileTransform> {src: spi_ocio_srgb_test.spi3d, interpolation: linear}
 
   - !<ColorSpace>
@@ -242,7 +247,6 @@ colorspaces:
     to_reference: !<GroupTransform>
       children:
         - !<FileTransform> {src: srgb.spi1d, interpolation: linear}
-        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
     name: VD16
@@ -256,7 +260,6 @@ colorspaces:
     to_reference: !<GroupTransform>
       children:
         - !<FileTransform> {src: vd16.spi1d, interpolation: nearest}
-        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: linear}
 
   - !<ColorSpace>
     name: Non-Color
@@ -280,5 +283,5 @@ colorspaces:
     allocation: uniform
     from_reference: !<GroupTransform>
       children:
-        - !<ColorSpaceTransform> {src: Linear ACES, dst: lg10}
+        - !<ColorSpaceTransform> {src: Linear, dst: lg10}
         - !<FileTransform> {src: colorworks_filmlg_to_p3.3dl, interpolation: linear}