Blender Git Commit Log
Git Commits -> Revision 2ef2f08
Revision 2ef2f08 by Sergey Sharybin (master) March 13, 2015, 12:39 (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: 2ef2f085fb743c12d1cabd71d42dd00334de696b
Parent Commit: 0e18a56
Lines Changed: +25, -5