Blender Git Commit Log
Git Commits -> Revision 4a4f043
Revision 4a4f043 by Thomas Dinges (master) May 11, 2016, 19:58 (GMT) |
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 |
Commit Details:
Full Hash: 4a4f043bc4235c046d2b58e00f2b80665ded11bf
Parent Commit: 544b76a
Lines Changed: +231, -93
9 Modified Paths:
/intern/cycles/device/device_cpu.cpp (+0, -3) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel.cpp (+17, -1) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+24, -3) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -0) (Diff)
/intern/cycles/render/image.cpp (+162, -79) (Diff)
/intern/cycles/render/image.h (+8, -3) (Diff)
/intern/cycles/render/nodes.cpp (+8, -2) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_texture.h (+10, -2) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel.cpp (+17, -1) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+24, -3) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -0) (Diff)
/intern/cycles/render/image.cpp (+162, -79) (Diff)
/intern/cycles/render/image.h (+8, -3) (Diff)
/intern/cycles/render/nodes.cpp (+8, -2) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_texture.h (+10, -2) (Diff)