[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48958] branches/soc-2011-tomato/release/ datafiles/colormanagement/config.ocio: Color management: cleanup of ocio config file

Sergey Sharybin sergey.vfx at gmail.com
Mon Jul 16 12:50:39 CEST 2012


Revision: 48958
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48958
Author:   nazgul
Date:     2012-07-16 10:50:38 +0000 (Mon, 16 Jul 2012)
Log Message:
-----------
Color management: cleanup of ocio config file

- Minor style cleanup

- Made scene linear space rec709 instead of aces
  Reference space is still aces

- Get rid of hardcoded rec -. rec709 transformation on view transforms
  This would make view transform be applied on a reference color space
  how it's supposed to be.
  Since scene linear is rec709 such a hardcoded transform isn't needed
  anymore.
  This also fixes wrong Log view transform which used to look really
  weird and now it's nice and smooth.

- Also made changes to SPI and Nuke configurations to make them behave
  properly with reference space of aces.

- Renamed Nuke's rec709 space to nuke_rec709. Probably it could  be
  replaced with scene rec709, but that's requires more investigation.

Modified Paths:
--------------
    branches/soc-2011-tomato/release/datafiles/colormanagement/config.ocio

Modified: branches/soc-2011-tomato/release/datafiles/colormanagement/config.ocio
===================================================================
--- branches/soc-2011-tomato/release/datafiles/colormanagement/config.ocio	2012-07-16 10:36:40 UTC (rev 48957)
+++ branches/soc-2011-tomato/release/datafiles/colormanagement/config.ocio	2012-07-16 10:50:38 UTC (rev 48958)
@@ -14,7 +14,7 @@
   default: raw
   matte_paint: raw
   reference: aces
-  scene_linear: aces
+  scene_linear: rec709
   texture_paint: raw
 
 displays:
@@ -28,7 +28,7 @@
     - !<View> {name: RRT, colorspace: rrt_srgb}
     - !<View> {name: SPI Film, colorspace: srgb8}
     - !<View> {name: SPI Log, colorspace: lg10}
-    - !<View> {name: Nuke rec709, colorspace: rec709}
+    - !<View> {name: Nuke rec709, colorspace: nuke_rec709}
   xyz:
     - !<View> {name: Raw, colorspace: raw}
     - !<View> {name: Log, colorspace: adx10}
@@ -41,7 +41,7 @@
   - !<ColorSpace>
     name: aces
     family: aces
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: lg2
@@ -50,7 +50,7 @@
   - !<ColorSpace>
     name: raw
     family: raw
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: true
     allocation: uniform
@@ -59,11 +59,11 @@
   - !<ColorSpace>
     name: adx10
     family: adx
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 10ui
     description: |
       Film Scan, using the 10-bit Academy Density Encoding
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -78,11 +78,11 @@
   - !<ColorSpace>
     name: adx16
     family: adx
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 16ui
     description: |
       Film Scan, using the 16-bit Academy Density Encoding
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -97,11 +97,11 @@
   - !<ColorSpace>
     name: slogf35
     family: sony
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 10ui
     description: |
       Sony 10-bit S-Log, with f35 color primaries
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -113,11 +113,11 @@
   - !<ColorSpace>
     name: slogf65_3200
     family: sony
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 10ui
     description: |
       Sony 10-bit S-Log, with f65 color primaries
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -129,11 +129,11 @@
   - !<ColorSpace>
     name: slogf65_5500
     family: sony
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 10ui
     description: |
       Sony 10-bit S-Log, with f65 color primaries
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -145,11 +145,11 @@
   - !<ColorSpace>
     name: logc
     family: arri
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 10ui
     description: |
       Arri Alexa LogC, V3, Exposure Index 800
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -161,13 +161,13 @@
   - !<ColorSpace>
     name: log
     family: log
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     description: |
       A mathematically idealized log space, which spans the dynamic range
       currently being utilized by the ACES RRT. Note: this does not correspond
       to scanned plates, adx10 is preferred for that purpose.
-      
+
     isdata: false
     allocation: uniform
     allocationvars: [0, 1]
@@ -176,77 +176,83 @@
         - !<AllocationTransform> {allocation: lg2, vars: [-8.5, 5]}
 
   - !<ColorSpace>
+    name: rec709
+    family: ""
+    equalitygroup: ""
+    bitdepth: 32f
+    description: |
+      Rec. 709 (Full Range) Display Space
+    isdata: false
+    allocation: uniform
+    allocationvars: [-0.125, 1.125]
+    to_reference: !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
+
+  - !<ColorSpace>
     name: rrt_srgb
     family: rrt
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: uniform
     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}
 
   - !<ColorSpace>
     name: rrt_rec709
     family: rrt
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: uniform
     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}
 
   - !<ColorSpace>
     name: rrt_p3dci
     family: rrt
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: uniform
     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}
 
   - !<ColorSpace>
     name: rrt_p3d60
     family: rrt
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: uniform
     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_p3d60.spi3d, interpolation: tetrahedral}
 
   - !<ColorSpace>
     name: rrt_xyz
     family: rrt
-    equalitygroup: 
+    equalitygroup:
     bitdepth: 32f
     isdata: false
     allocation: uniform
     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}
 
   # spi-vfx
-
   - !<ColorSpace>
     name: lg10
     family: lg
@@ -256,7 +262,10 @@
       lg10 : conversion from film log
     isdata: false
     allocation: uniform
-    to_reference: !<FileTransform> {src: lg10.spi1d, interpolation: nearest}
+    to_reference: !<GroupTransform>
+      children:
+        - !<FileTransform> {src: lg10.spi1d, interpolation: nearest}
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}
 
   - !<ColorSpace>
     name: srgb8
@@ -274,7 +283,7 @@
 
   # nuke-default
   - !<ColorSpace>
-    name: rec709
+    name: nuke_rec709
     family: ""
     equalitygroup: ""
     bitdepth: 32f
@@ -283,4 +292,7 @@
     isdata: false
     allocation: uniform
     allocationvars: [-0.125, 1.125]
-    to_reference: !<FileTransform> {src: rec709.spi1d, interpolation: linear}
+    to_reference: !<GroupTransform>
+      children:
+        - !<FileTransform> {src: rec709.spi1d, interpolation: linear}
+        - !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: nearest}




More information about the Bf-blender-cvs mailing list