Blender Git Commit Log
Git Commits -> Revision 9951858
Revision 9951858 by Sebastián Barschkis (master) June 24, 2020, 14:07 (GMT) |
Fluid: Improved OpenVDB support for fluid caches This commit makes uses of the new OpenVDB IO in Mantaflow (introduced in 781f783a66ac). From now on, fluid cache files in OpenVDB format will contain a list of grids per frame (before: one .vdb file per grid per frame). Besides regular grids, particle systems are also stored using OpenVDBs PointGrid data structures. All older cache formats will remain fully functional: - Uni caches (.uni) files are still available from the UI and can be used as before - Raw caches (.raw) are no longer available from the UI, but loading them is still possible - Old OpenVDB caches (one .vdb per grid) can no longer be baked either, but loading them is still possible. It is also no longer possible to choose file formats for 'Noise' and 'Particles'. Instead there are now options to set the file format for 'Volumetric' and for 'Mesh' data. Known issues (planned to be resolved soon): - OpenVDB files are currently not taking into consideration the clipping value (FluidDomainSettings). Empty cells are therefore being written too. Depending on the scene, this can make file sizes unnecessarily large. - Domains are not being exported at their world position. Instead they are always clipped to the origin. |
Commit Details:
Full Hash: 9951858942893adeb4eef27ec8a8471a179e9c59
Parent Commit: 9fe6494
Lines Changed: +478, -1857
14 Modified Paths:
/intern/mantaflow/extern/manta_fluid_API.h (+12, -12) (Diff)
/intern/mantaflow/intern/manta_fluid_API.cpp (+6, -41) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+134, -1473) (Diff)
/intern/mantaflow/intern/MANTA_main.h (+3, -26) (Diff)
/intern/mantaflow/intern/strings/fluid_script.h (+86, -67) (Diff)
/intern/mantaflow/intern/strings/liquid_script.h (+35, -38) (Diff)
/intern/mantaflow/intern/strings/smoke_script.h (+16, -23) (Diff)
/release/scripts/startup/bl_operators/object_quick_effects.py (+0, -3) (Diff)
/release/scripts/startup/bl_ui/properties_physics_fluid.py (+32, -25) (Diff)
/source/blender/blenkernel/intern/fluid.c (+25, -48) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/editors/physics/physics_fluid.c (+13, -13) (Diff)
/source/blender/makesdna/DNA_fluid_types.h (+83, -61) (Diff)
/source/blender/makesrna/intern/rna_fluid.c (+32, -26) (Diff)
/intern/mantaflow/intern/manta_fluid_API.cpp (+6, -41) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+134, -1473) (Diff)
/intern/mantaflow/intern/MANTA_main.h (+3, -26) (Diff)
/intern/mantaflow/intern/strings/fluid_script.h (+86, -67) (Diff)
/intern/mantaflow/intern/strings/liquid_script.h (+35, -38) (Diff)
/intern/mantaflow/intern/strings/smoke_script.h (+16, -23) (Diff)
/release/scripts/startup/bl_operators/object_quick_effects.py (+0, -3) (Diff)
/release/scripts/startup/bl_ui/properties_physics_fluid.py (+32, -25) (Diff)
/source/blender/blenkernel/intern/fluid.c (+25, -48) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/editors/physics/physics_fluid.c (+13, -13) (Diff)
/source/blender/makesdna/DNA_fluid_types.h (+83, -61) (Diff)
/source/blender/makesrna/intern/rna_fluid.c (+32, -26) (Diff)