blender/intern/cycles/device
Martijn Berger dd2dca2f7e Add support for multiple interpolation modes on cycles image textures
All textures are sampled bi-linear currently with the exception of OSL there texture sampling is fixed and set to smart bi-cubic.

This patch adds user control to this setting.

Added:
- bits to DNA / RNA in the form of an enum for supporting multiple interpolations types
- changes to the image texture node drawing code ( add enum)
- to ImageManager (this needs to know to allocate second texture when interpolation type is different)
- to node compiler (pass on interpolation type)
- to device tex_alloc this also needs to get the concept of multiple interpolation types
- implementation for doing non interpolated lookup for cuda and cpu
- implementation where we pass this along to osl ( this makes OSL also do linear untill I add smartcubic to the interface / DNA/ RNA)

Reviewers: brecht, dingto

Reviewed By: brecht

CC: dingto, venomgfx

Differential Revision: https://developer.blender.org/D317
2014-03-07 23:16:33 +01:00
..
CMakeLists.txt Cycles: Build SSE41 kernel per default, remove build option. This hopefully also fixes some compile errors on various systems. 2014-01-14 22:04:32 +01:00
device_cpu.cpp Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
device_cuda.cpp Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
device_intern.h Cycles: network render code updated for latest changes and improved 2013-12-07 12:26:58 +01:00
device_memory.h Code cleanup: move half float functions to separate header file. 2014-01-15 15:29:22 +01:00
device_multi.cpp Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
device_network.cpp Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
device_network.h Cycles Network rendering, remove some exception throwing, replace with saner error handling 2014-02-05 21:55:51 +01:00
device_opencl.cpp Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00
device_task.cpp Cycles: viewport render now takes scene color management settings into account, 2013-08-30 23:49:38 +00:00
device_task.h Cycles: viewport render now takes scene color management settings into account, 2013-08-30 23:49:38 +00:00
device.cpp Code cleanup: move half float functions to separate header file. 2014-01-15 15:29:22 +01:00
device.h Add support for multiple interpolation modes on cycles image textures 2014-03-07 23:16:33 +01:00