diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-03-10 18:38:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-03-10 18:56:27 +0300 |
commit | eb20250d2a51cb6152c086a7f42194b95b67d9fd (patch) | |
tree | 3958a5a2702bdbbafe524ee2f9626ed224c814b3 /release/datafiles/colormanagement | |
parent | 1e7b2d0bc6d1f9346d8ffb0a86c02d661737ed31 (diff) |
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.
Diffstat (limited to 'release/datafiles/colormanagement')
-rw-r--r-- | release/datafiles/colormanagement/config.ocio | 1 | ||||
-rw-r--r-- | release/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx | 3 |
2 files changed, 4 insertions, 0 deletions
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: !<GroupTransform> children: - !<FileTransform> {src: srgb_to_xyz.spimtx, interpolation: linear} + - !<FileTransform> {src: xyz_D65_to_E.spimtx, interpolation: linear} - !<FileTransform> {src: xyz_to_aces.spimtx, interpolation: linear} - !<ColorSpace> 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 |