Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of assuming sRGB
authorLukas Stockner <lukas.stockner@freenet.de>
Thu, 14 Jun 2018 15:48:19 +0000 (17:48 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Thu, 14 Jun 2018 20:21:37 +0000 (22:21 +0200)
commit3ee606621cf53a2a4897e534e7e04d3632f419f8
treee8ffff99f0ceeea46aa170298853d8034a1acf1d
parent064e701472ac430c8063ab5d577b5014eecf9ad5
Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of assuming sRGB

I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step.

Reviewers: brecht, sergey

Differential Revision: https://developer.blender.org/D3478
32 files changed:
intern/cycles/CMakeLists.txt
intern/cycles/app/CMakeLists.txt
intern/cycles/blender/blender_curves.cpp
intern/cycles/blender/blender_mesh.cpp
intern/cycles/blender/blender_session.cpp
intern/cycles/cmake/external_libs.cmake
intern/cycles/kernel/kernel_color.h [new file with mode: 0644]
intern/cycles/kernel/kernel_film.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h
intern/cycles/kernel/kernels/cuda/kernel.cu
intern/cycles/kernel/kernels/opencl/kernel.cl
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/kernel/shaders/node_color.h
intern/cycles/kernel/split/kernel_split_common.h
intern/cycles/kernel/svm/svm.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_convert.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/kernel/svm/svm_math_util.h
intern/cycles/kernel/svm/svm_sky.h
intern/cycles/kernel/svm/svm_wavelength.h
intern/cycles/render/constant_fold.cpp
intern/cycles/render/constant_fold.h
intern/cycles/render/graph.cpp
intern/cycles/render/graph.h
intern/cycles/render/nodes.cpp
intern/cycles/render/shader.cpp
intern/cycles/render/shader.h
intern/cycles/test/CMakeLists.txt
intern/cycles/util/util_color.h
release/datafiles/colormanagement/config.ocio