Blender Git Loki
Git Commits -> Revision fb30d56
Revision fb30d56 by Lukas Toenne (temp_merge_gooseberry_hair) January 19, 2015, 16:40 (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: fb30d567d32650239b0794d3c6319cde439b989f
Parent Commit: 03c1d44
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)