Blender Git Commit Log

Git Commits -> Revision ec9edd3

Revision ec9edd3 by Pablo Dobarro (master)
October 13, 2020, 19:53 (GMT)
Sculpt: Use plasticity for softbody influence

Previously the softbody strength property was controlling the strength
of the constraints that pin all vertices to the original location. This
was causing problems when the forces were trying to deform the vertices
too much, like when using gravity or grab brushes.

Now softbody is implemented with plasticity, which creates constraints to
a separate coordinates array. These coordinates are deformed with the
simulation, and the plasticity parameter controls how much the
simulation moves the coordinates (plasticity 0), or the coordinates move
the simulation back to its previous position (plasticity 1).

This creates much better and predictable results and adding softbody
plasticity to the brushes can increase its control and the stability of
the simulation.

Reviewed By: sergey, zeddb

Differential Revision: https://developer.blender.org/D9187

Commit Details:

Full Hash: ec9edd36ca1f8f73373435a7941abff77df53719
Parent Commit: 9722e36
Lines Changed: +81, -22

5 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+6, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+64, -13) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+7, -5) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021