Blender Git Commit Log

Git Commits -> Revision a5c4a44

Revision a5c4a44 by Sebastián Barschkis (master)
March 4, 2020, 17:46 (GMT)
Fluid: Bounding boxes for effector objects

This commit adds bounding box support for emission objects - similarly to flow objects. Before, each effector object had to iterate over the entire domain. Bake times of scenes with multiple obstacles improved significantly with this optimization.

Other improvements that were implemented alongside the bbox feature:
- Option for subframe sampling for effector objects
- Option to enable / disable effectors (can be animated)
- Optimization for static objects. If a flow or effector object does not move and the adaptive domain is not in use, the bake time will be optimized further by reusing the flow / effector grids from the previous frame (no recalculation).

Commit Details:

Full Hash: a5c4a44df67ed69844a433179629d861cf10f438
Parent Commit: 3c74d45
Lines Changed: +845, -436

10 Modified Paths:

/intern/mantaflow/extern/manta_fluid_API.h (+2, -0) (Diff)
/intern/mantaflow/intern/manta_fluid_API.cpp (+8, -0) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+5, -0) (Diff)
/intern/mantaflow/intern/MANTA_main.h (+10, -0) (Diff)
/intern/mantaflow/intern/strings/fluid_script.h (+2, -0) (Diff)
/intern/mantaflow/intern/strings/liquid_script.h (+1, -0) (Diff)
/intern/mantaflow/intern/strings/smoke_script.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/fluid.c (+787, -430) (Diff)
/source/blender/makesdna/DNA_fluid_types.h (+10, -1) (Diff)
/source/blender/makesrna/intern/rna_fluid.c (+19, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021