Blender Git Loki
Git Commits -> Revision 1ed88bb
Revision 1ed88bb by Lukas Toenne (master) January 20, 2015, 08:29 (GMT) |
Partial response force for hair collisions. This implements a penalty force as well as a repulsion force to avoid further penetration, as suggested in "Simulating Complex Hair with Robust Collision Handling" (http://graphics.snu.ac.kr/publications/2005-choe-HairSim/Choe_2005_SCA.pdf) Friction forces are still missing. More problematic is handling of moving colliders, when face swap places with the hair vertex and a collision is missed, putting the vertex inside the mesh volume. Larger margins might help, but ultimately using Bullet collision detection is probably more reliable and failsafe. |
Commit Details:
Full Hash: 1ed88bb24e13f7d911de708e5b2479a937734183
Parent Commit: d8cf12f
Lines Changed: +169, -57
6 Modified Paths:
/source/blender/blenkernel/BKE_effect.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/collision.c (+129, -52) (Diff)
/source/blender/blenkernel/intern/effect.c (+25, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/collision.c (+129, -52) (Diff)
/source/blender/blenkernel/intern/effect.c (+25, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+7, -0) (Diff)