Blender Git Loki

Git Commits -> Revision 0f65250

Revision 0f65250 by Sergey Sharybin (master)
February 19, 2015, 13:18 (GMT)
Cycles: Reduce memory used by background light update

Simple change: just get rid of intermediate data a bit earlier, before
final pixels array is being allocated. This gives around 30% of memory
save during light update (this is about 60meg in the frank sheep file
i'm using here).

This isn't really visible by artists a lot, because actual spike happens
on BVH construction. But it doesn't mean we shouldn't be accurate with
memory usage in other areas.

Commit Details:

Full Hash: 0f652501c7b5d0c5d73bf22b9aa56f6a5a645a4b
Parent Commit: 27d1446
Lines Changed: +2, -0

1 Modified Path:

/intern/cycles/render/light.cpp (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021