Blender Git Loki
Git Commits -> Revision 6320749
February 26, 2015, 20:07 (GMT) |
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 |
Commit Details:
Full Hash: 6320749361f59ed9942d08e1a99db75c358b6ecd
Parent Commit: 79a5c97
Lines Changed: +24, -4