Blender Git Loki

Git Commits -> Revision b6f0f8a

Revision b6f0f8a by Luca Rood (master)
August 31, 2018, 14:39 (GMT)
Cloth: Implement angular bending springs

This implements angular bending springs for cloth simulation. This also
adds shearing springs for n-gons.

This angular spring implementation does not include Jacobian matrices,
as the springs can exist between polygons of different vertex counts,
rendering their relationships asymmetrical, and thus impossible to solve
with the current implementation. This means that the bending component
is solved explicitly. However, this is usually not a big problem, as
bending springs contribute less to instability than structural springs.

The the old linear bending model can still be used, and is the default for
existing files, to keep compatibility. However, the new angular bending
model is the default for any new simulation.

This commit makes small breaking changes, in that shearing springs are
now created on n-gons (also in linear bending mode), while n-gons were
previously ignored.

Reviewed By: brecht

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

Commit Details:

Full Hash: b6f0f8a5b5a4871603755d4413e47f054ecd5b68
Parent Commit: e3d31b8
Lines Changed: +495, -128

5 Modified Paths:

/source/blender/blenkernel/BKE_cloth.h (+17, -11) (Diff)
/source/blender/blenkernel/intern/cloth.c (+326, -91) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+25, -10) (Diff)
/source/blender/physics/intern/implicit.h (+4, -1) (Diff)
/source/blender/physics/intern/implicit_blender.c (+123, -15) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021