Blender Git Commit Log
Git Commits -> Revision b1f9799
Revision b1f9799 by Alexander Gavrilov (master) June 12, 2020, 15:19 (GMT) |
Cloth: implement support for a hydrostatic pressure gradient. When a fluid is put under influence of gravity or acceleration, it forms an internal pressure gradient, which causes observable effects like buoyancy. Since now cloth has support for simulating pressure changes caused by fluid compression or expansion, it makes sense to also support the effects of gravity. This is intended for better simulation of objects filled or surrounded by fluids, especially when constrained by collisions or pinned vertices, and should result in more realistic shapes. Obviously, this doesn't actually simulate fluid dynamics; instead it is assumed that the fluid immediately adapts to changes in the shape or acceleration of the object without friction or turbulence, and instantly reaches a new static equilibrium. Differential Revision: https://developer.blender.org/D6442 |
Commit Details:
Full Hash: b1f97995084253305f708f55dc5bd3b4c3acb301
Parent Commit: 0981b55
Lines Changed: +294, -98
11 Modified Paths:
/release/scripts/startup/bl_ui/properties_physics_cloth.py (+4, -1) (Diff)
/source/blender/blenkernel/BKE_cloth.h (+4, -3) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+49, -13) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_pointcache_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+24, -8) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+157, -63) (Diff)
/source/blender/physics/intern/implicit.h (+5, -2) (Diff)
/source/blender/physics/intern/implicit_blender.c (+45, -7) (Diff)
/source/blender/blenkernel/BKE_cloth.h (+4, -3) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+49, -13) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_pointcache_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+24, -8) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+157, -63) (Diff)
/source/blender/physics/intern/implicit.h (+5, -2) (Diff)
/source/blender/physics/intern/implicit_blender.c (+45, -7) (Diff)