From eb20250d2a51cb6152c086a7f42194b95b67d9fd Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 10 Mar 2021 16:38:26 +0100 Subject: Fix wrong white point of Linear ACES in config reading and the bundled config The Blender/Cycles XYZ color space has a D65 white point instead of E, and this was not correctly accounted for both in the OpenColor config reading code and the bundled config. This meant that since the OpenColorIO v2 upgrade, the Linear ACES color space was not working correctly, and other OpenColorIO configs defining aces_interchange were not interpreted correctly. --- release/datafiles/colormanagement/config.ocio | 1 + release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx (limited to 'release/datafiles') diff --git a/release/datafiles/colormanagement/config.ocio b/release/datafiles/colormanagement/config.ocio index 156ca960e88..bb9fd27fb84 100644 --- a/release/datafiles/colormanagement/config.ocio +++ b/release/datafiles/colormanagement/config.ocio @@ -100,6 +100,7 @@ colorspaces: from_reference: ! children: - ! {src: srgb_to_xyz.spimtx, interpolation: linear} + - ! {src: xyz_D65_to_E.spimtx, interpolation: linear} - ! {src: xyz_to_aces.spimtx, interpolation: linear} - ! diff --git a/release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx b/release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx new file mode 100644 index 00000000000..3670b94c9fe --- /dev/null +++ b/release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx @@ -0,0 +1,3 @@ +1.0521111 0.0000000 0.0000000 0 +0.0000000 1.0000000 0.0000000 0 +0.0000000 0.0000000 0.9184170 0 -- cgit v1.2.3