Blender Git Loki

Git Commits -> Revision 68b15fc

Revision 68b15fc by Lukas Stockner (master)
May 3, 2019, 13:42 (GMT)
Cycles: support loading images from arbitrary OpenColorIO color space

These are the internal changes to Cycles, for Blender integration there are no
functional changes in this commit.

Images are converted to scene linear color space on file load, and on reading
from the OpenImageIO texture cache. 8-bit images are compressed with the sRGB
transfer function to avoid precision loss while keeping memory usages low. This
also means that for common cases of 8-bit sRGB images no conversion happens at
all on image loading.

Initial patch by Lukas, completed by Brecht.

Differential Revision: https://developer.blender.org/D3491

Commit Details:

Full Hash: 68b15fc3ad4f74be192150d3a2fb35e7ef2d4edd
Parent Commit: dba4684
Committed By: Brecht Van Lommel
Lines Changed: +289, -144

13 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+2, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+9, -2) (Diff)
/intern/cycles/blender/blender_shader.cpp (+19, -3) (Diff)
/intern/cycles/kernel/osl/osl_globals.h (+4, -9) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+10, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+0, -5) (Diff)
/intern/cycles/render/image.cpp (+95, -42) (Diff)
/intern/cycles/render/image.h (+33, -5) (Diff)
/intern/cycles/render/nodes.cpp (+57, -42) (Diff)
/intern/cycles/render/nodes.h (+31, -21) (Diff)
/intern/cycles/render/osl.cpp (+22, -13) (Diff)
/intern/cycles/render/osl.h (+2, -1) (Diff)
/intern/cycles/render/shader.cpp (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021