Blender Git Commit Log
Git Commits -> Revision 3a77ea6
Revision 3a77ea6 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 1, 2014, 15:46 (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: 3a77ea644e7bdf7df5c7ea4b0fa7330df9bcb034
Parent Commit: 670ee4c
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)