Blender Git Loki
Git Commits -> Revision b9fd67b
Revision b9fd67b by Joseph Eagar (render25) April 27, 2010, 02:30 (GMT) |
=Hair Dampening and Collision= Some durian features; added a new dampening mode to hair (and cloth, since they shared the same dynamics code), that blends velocities with what the velocity would be if the hair or cloth was a stiff rigid body. It's called "flexibility dampening" for now. Note that the code doesn't go through the solver directly, but this *is* an implicit solver, and integrating this sort of outside stuff is the whole point of implicit systems. Plus it works better for solving durian issues as quickly as possible (jahka: pin stiffness for hair is totally unusable btw). Also added collision for hair, extending the existing collision code. I have more reliable code then this, but it'd b a bit of work to have it co-exist with the existing collision code (the other code replaces all of the collision code, so I'd have to rework it to coexist instead). |
Commit Details:
Full Hash: b9fd67b7f665041f2536ed4076264e06f09f4abc
SVN Revision: 28452
Parent Commit: f9b9866
Lines Changed: +547, -74
13 Modified Paths:
/release/scripts/ui/properties_particle.py (+26, -5) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+13, -5) (Diff)
/release/scripts/ui/properties_physics_common.py (+2, -2) (Diff)
/release/scripts/ui/space_sequencer.py (+5, -11) (Diff)
/source/blender/blenkernel/BKE_cloth.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/cloth.c (+58, -9) (Diff)
/source/blender/blenkernel/intern/collision.c (+136, -11) (Diff)
/source/blender/blenkernel/intern/implicit.c (+99, -29) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+0, -1) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -1) (Diff)
/source/blender/blenlib/intern/math_geom.c (+193, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+6, -0) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+13, -5) (Diff)
/release/scripts/ui/properties_physics_common.py (+2, -2) (Diff)
/release/scripts/ui/space_sequencer.py (+5, -11) (Diff)
/source/blender/blenkernel/BKE_cloth.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/cloth.c (+58, -9) (Diff)
/source/blender/blenkernel/intern/collision.c (+136, -11) (Diff)
/source/blender/blenkernel/intern/implicit.c (+99, -29) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+0, -1) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -1) (Diff)
/source/blender/blenlib/intern/math_geom.c (+193, -0) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+6, -0) (Diff)