blender/intern/cycles
Sergey Sharybin 2ef2f085fb Add an option to mesh.calc_tessface() to get rid of polygons and loops
The purpose of this change is to add extra possibility to render engines and
export scripts to reduce peak memory footprint during their operation.

This new argument should be used with care since it'll leave mesh in not really
compatible with blender format, but it's ok to be used on temp meshes.

Unfortunately, it's hard to get scene where it'll show huge benefit because
in my tests with cycles peak memory is reached in MEM_printmemlist_stats().

However, in the file with sintel dragon it gives around 1gig of memory benefit
after removing the polys which would allow other heavy to compute stuff such as
hair (or even pointiness calculation) to not be a peak memory usage.

In any case, this change is nice to have IMO, and only means more parts of
scene export code should be optimized memory-wise.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1125
2015-03-13 17:39:21 +05:00
..
app Cycles: Fix compilation error of Cycles standalone with Libmv disabled 2015-02-14 21:33:14 +05:00
blender Add an option to mesh.calc_tessface() to get rid of polygons and loops 2015-03-13 17:39:21 +05:00
bvh Fix T43484: Motion blur fails in certain circumstances 2015-03-09 14:15:35 +05:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Cycles: Cleanup for indentation in device_cpu.cpp 2015-02-19 19:05:04 +05:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Optimization for CMJ in CUDA kernels 2015-03-13 12:38:14 +05:00
render Cycles: Make Background MIS building threaded 2015-03-12 13:50:11 +01:00
subd Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
util Initial compilation support with C++11 featureset enabled 2015-03-13 16:47:40 +05:00
CMakeLists.txt Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
SConscript Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00