Blender Git Loki
Git Commits -> Revision a2787c1
Revision a2787c1 by Lukas Toenne (strand_nodes) July 29, 2016, 14:35 (GMT) |
Simple contact detection method for hair editing, using the typical BVH closest point method. This method is just a placeholder, in the future it would be worthwhile to use Bullet collision detection with ghost objects for this. Also the code should eventually be abstracted a bit to make it agnostic to mesh formats, so it can be used for BMesh as well as DNA strand data or physics simulation. |
Commit Details:
Full Hash: a2787c1f747ea066a65b41344f90fae22f2b5c4a
Parent Commit: 89713f0
Lines Changed: +106, -8
8 Modified Paths:
/source/blender/blenkernel/BKE_editstrands.h (+6, -1) (Diff)
/source/blender/blenkernel/intern/editstrands.c (+75, -2) (Diff)
/source/blender/bmesh/intern/bmesh_strands_conv.c (+4, -0) (Diff)
/source/blender/bmesh/intern/bmesh_strands_conv.h (+1, -0) (Diff)
/source/blender/editors/hair/hair_edit.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/physics/BPH_strands.h (+3, -2) (Diff)
/source/blender/physics/intern/strands.cpp (+15, -1) (Diff)
/source/blender/blenkernel/intern/editstrands.c (+75, -2) (Diff)
/source/blender/bmesh/intern/bmesh_strands_conv.c (+4, -0) (Diff)
/source/blender/bmesh/intern/bmesh_strands_conv.h (+1, -0) (Diff)
/source/blender/editors/hair/hair_edit.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/physics/BPH_strands.h (+3, -2) (Diff)
/source/blender/physics/intern/strands.cpp (+15, -1) (Diff)