Blender Git Commit Log

Git Commits -> Revision 9231ff4

Revision 9231ff4 by Janne Karhu (master)
January 9, 2011, 19:09 (GMT)
Viscoelastic springs for sph particle fluids, original patch by Stephen Whitehorn (chickencoop)
* Viscoelastic springs between the fluid particles can simulate all kinds
of viscous and elastic substances, such as jelly and honey. This is
achieved by creating springs dynamically between neighboring particles
and adjusting their rest length based on stretching/compression.
* This nearly completes the currently intended functionality for particle
fluids. The last missing thing is a surfacing extraction algorithm,
which is needed for a proper representation of a sph fluid.
* I also cleaned up and renamed some of the fluid parameters to make the
ui a bit easier to understand.
* One addition to the patch is an option to use "initial rest length" for
the springs, which uses the lengths between the particles at the time of
spring creation as the spring rest lengths instead of interaction radius/2.
This makes the fluid keep it's original shape better (good for very
viscoelastic materials), but can create large density differences inside
the fluid (not really physically correct for a fluid).
* Viscoelastic springs are stored in point cache as extra data.

Commit Details:

Full Hash: 9231ff41604039ca55f1da4945a077cfab9e1e84
SVN Revision: 34208
Parent Commit: 84a464a
Lines Changed: +340, -63

10 Modified Paths:

/release/scripts/ui/properties_particle.py (+23, -10) (Diff)
/source/blender/blenkernel/BKE_pointcache.h (+14, -3) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+160, -18) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+58, -12) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_object_force.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+14, -1) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+46, -17) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021