Blender Git Commit Log

Git Commits -> Revision 4b04fad

April 15, 2015, 15:35 (GMT)
Smoke: Don't allocate arrays needed for hi-res simulation if smoke is baked to file

There used to be quite huge 3D arrays stored in memory which are only needed for
simulation steps and not used at all if the smoke is baked to file. That memory
is unmanaged by blender and not visible in the info space header and in practice
they could easily be gigabytes for hires smoke.

This commit only addressed hires smoke since it's the more important at this
point, and non-hires smoke wouldn't have such noticeable benefit.

In the case of tornado file it gives around 20% memory saving (which is about
26GB vs. 33GB on later frames of 01.03.02.A3 shot.

Commit Details:

Full Hash: 4b04fad0a99d45d962c54ae3db8a11da79f44753
Parent Commit: 5155c16
Lines Changed: +45, -31

5 Modified Paths:

/intern/smoke/extern/smoke_API.h (+1, -1) (Diff)
/intern/smoke/intern/smoke_API.cpp (+2, -2) (Diff)
/intern/smoke/intern/WTURBULENCE.cpp (+37, -26) (Diff)
/intern/smoke/intern/WTURBULENCE.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021