blender/intern/cycles
Thomas Dinges 4a4f043bc4 Cycles: Add support for single channel float textures on CPU.
Until now, single channel textures were packed into a float4, wasting 3 floats per pixel. Memory usage of such textures is now reduced by 3/4.
Voxel Attributes such as density, flame and heat benefit from this, but also Bumpmaps with one channel.
This commit also includes some cleanup and code deduplication for image loading.

Example Smoke render from Cosmos Laundromat: http://www.pasteall.org/pic/show.php?id=102972
Memory here went down from ~600MB to ~300MB.

Reviewers: #cycles, brecht

Differential Revision: https://developer.blender.org/D1981
2016-05-11 21:58:34 +02:00
..
app Fix cycles-xml with OSL support after changes inroduced in 1422f0dd1697d7b671a7b447fd58db7dfe775821 2016-05-07 10:50:21 +02:00
blender Cycles: Make CUDA adaptive feature compile a Debug flag. 2016-05-06 23:13:33 +02:00
bvh Cycles: Use explicit qualifier for single-argument constructors 2016-05-11 16:51:14 +02:00
cmake CMake: Fix typo in CUDA dynload commit 2016-01-14 12:48:14 +05:00
device Cycles: Add support for single channel float textures on CPU. 2016-05-11 21:58:34 +02:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Add support for single channel float textures on CPU. 2016-05-11 21:58:34 +02:00
render Cycles: Add support for single channel float textures on CPU. 2016-05-11 21:58:34 +02:00
subd Cycles: Use explicit qualifier for single-argument constructors 2016-05-11 16:51:14 +02:00
test Cycles: Minor cleanup, whitespace around keyword and preprocessor indent 2016-04-13 08:58:52 +02:00
util Cycles: Add support for single channel float textures on CPU. 2016-05-11 21:58:34 +02:00
CMakeLists.txt Cycles: Add an option to build single kernel only which fits current CPU 2016-03-25 16:09:05 +01:00