forked from bartvdbraak/blender
4a4f043bc4
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 |
||
---|---|---|
.. | ||
kernel_avx2.cpp | ||
kernel_avx.cpp | ||
kernel_cpu_impl.h | ||
kernel_cpu.h | ||
kernel_sse2.cpp | ||
kernel_sse3.cpp | ||
kernel_sse41.cpp | ||
kernel.cpp |