Cycles: Support half and half4 textures.
authorThomas Dinges <blender@dingto.org>
Sun, 19 Jun 2016 15:31:16 +0000 (17:31 +0200)
committerThomas Dinges <blender@dingto.org>
Sun, 19 Jun 2016 15:31:16 +0000 (17:31 +0200)
commit6311a9ff234aecb054121bf12ad03da6242fc092
tree944abfd285251449ab9d3cccc54b37715ac4e0f6
parent7da189b4e8b1afed32716b6b2c127a93a35d498e
Cycles: Support half and half4 textures.

This is an initial commit for half texture support in Cycles.
It adds the basic infrastructure inside of the ImageManager and support for these textures on CPU.

Supported:
* Half Float OpenEXR images (can be used for e.g HDRs or Normalmaps) now use 1/2 the memory, when loaded via disk (OIIO).

ToDo:
Various things like support for inbuilt half textures, GPU... will come later, step by step.

Part of my GSoC 2016.
intern/cycles/kernel/kernel_compat_cpu.h
intern/cycles/kernel/kernel_globals.h
intern/cycles/kernel/kernels/cpu/kernel.cpp
intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h
intern/cycles/render/image.cpp
intern/cycles/render/image.h
intern/cycles/render/scene.h
intern/cycles/util/util_half.h
intern/cycles/util/util_texture.h