Go to file
Stefan Werner ec25060a05 Unlimited number of textures for Cycles
This patch allows for an unlimited number of textures in Cycles where the hardware allows. It replaces a number static arrays with dynamic arrays and changes the way the flat_slot indices are calculated. Eventually, I'd like to get to a point where there are only flat slots left and textures off all kinds are stored in a single array.

Note that the arrays in DeviceScene are changed from containing device_vector<T> objects to device_vector<T>* pointers. Ideally, I'd like to store objects, but dynamic resizing of a std:vector in pre-C++11 calls the copy constructor, which for a good reason is not implemented for device_vector. Once we require C++11 for Cycles builds, we can implement a move constructor for device_vector and store objects again.

The limits for CUDA Fermi hardware still apply.

Reviewers: tod_baudais, InsigMathK, dingto, #cycles

Reviewed By: dingto, #cycles

Subscribers: dingto, smellslikedonkey

Differential Revision: https://developer.blender.org/D2650
2017-04-27 09:35:22 +02:00
build_files OSX buildbot: remove redundant option 2017-04-26 14:28:36 +02:00
doc Cleanup: Grey --> Gray 2017-02-27 19:33:57 -05:00
extern CMake: Add option to link against system-wide Gflags library 2017-04-21 12:01:27 +02:00
intern Unlimited number of textures for Cycles 2017-04-27 09:35:22 +02:00
release Usual i18n/UI messages fixes and cleanup. 2017-04-24 09:33:49 +02:00
source Fix T51328: Add note to cmdline help that threads must be first 2017-04-26 22:48:18 -04:00
tests Alembic import: added unit test for mesh deformation. 2017-04-26 10:42:20 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Update .gitignore to some more generated/non-git-stored files. 2016-08-21 22:40:57 +02:00
.gitmodules Point all submodules to master branch 2017-04-03 14:54:51 +02:00
CMakeLists.txt CMake: Fix CMake for non Apple systems 2017-04-23 19:10:04 +02:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: set tab width=4 2017-03-11 20:48:12 +11:00
make.bat [msvc/make.bat] Provide a convenience rebuild.cmd in the build folder for easy rebuilds. 2017-04-26 08:46:35 -06:00