Blender Git Commit Log

Git Commits -> Revision 887dfc2

Revision 887dfc2 by Luca Rood (cloth-improvements)
January 5, 2017, 22:48 (GMT)
Refactor/Optimization: Integrate bend springs into struct/shear

A bending spring runs along each structural and shearing spring. Taking
advantage of that, this integrates the required data for both into the
same spring struct instance. This greatly simplifies bending spring
generation code, and also reduces the memory usage for spring storage
in about 40-50%.

This change also fixes minor memory management issues.

Commit Details:

Full Hash: 887dfc298d14b994cfc3adba55f6f9a149ad31d9
Parent Commit: a2dbe9f
Lines Changed: +134, -155

3 Modified Paths:

/source/blender/blenkernel/BKE_cloth.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+107, -130) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+25, -24) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021