Blender Git Loki

Git Commits -> Revision e09d0c0

Revision e09d0c0 by Sebastián Barschkis (master)
November 25, 2020, 22:18 (GMT)
Fluid: Updated Mantaflow source files

This update introduces two improvements from the Mantaflow repository:

(1) Improved particle sampling:
- Liquid and secondary particles are sampled more predictably. With all parameters being equal, baked particles will be computed at the exact same position during every bake.
- Before, this was not guaranteed.

(2) Sparse grid caching:
- While saving grid data to disk, grids will from now on be saved in a sparse structure whenever possible (e.g. density, flame but not levelsets).
- With the sparse optimization grid cells with a value under the 'Empty Space' value (already present in domain settings) will not be cached.
- The main benefits of this optimization are: Smaller cache sizes and faster playback of simulation data in the viewport.
- This optimization works 'out-of-the-box'. There is no option in the UI to enable it.
- For now, only smoke simulation grids will take advantage of this optimization.

Commit Details:

Full Hash: e09d0c0d077cff79b55ce32ec5124d5faa73e2e7
Parent Commit: f7223d5
Lines Changed: +275, -131

13 Modified Paths:

/extern/mantaflow/preprocessed/fileio/iovdb.cpp (+93, -27) (Diff)
/extern/mantaflow/preprocessed/fileio/mantaio.cpp (+16, -4) (Diff)
/extern/mantaflow/preprocessed/fileio/mantaio.h (+3, -1) (Diff)
/extern/mantaflow/preprocessed/gitinfo.h (+1, -1) (Diff)
/extern/mantaflow/preprocessed/grid.cpp (+15, -14) (Diff)
/extern/mantaflow/preprocessed/grid.h (+23, -7) (Diff)
/extern/mantaflow/preprocessed/particle.cpp (+8, -2) (Diff)
/extern/mantaflow/preprocessed/particle.h (+28, -12) (Diff)
/extern/mantaflow/preprocessed/plugin/flip.cpp (+8, -8) (Diff)
/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp (+44, -21) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+1, -0) (Diff)
/intern/mantaflow/intern/strings/fluid_script.h (+5, -4) (Diff)
/intern/mantaflow/intern/strings/smoke_script.h (+30, -30) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021