Improved force field effects on hair strands.
authorLukas Tönne <lukas.toenne@gmail.com>
Tue, 16 Dec 2014 18:40:29 +0000 (19:40 +0100)
committerLukas Tönne <lukas.toenne@gmail.com>
Tue, 20 Jan 2015 08:30:09 +0000 (09:30 +0100)
commit5c7adf5be25552d4d9847bc99b25207880573005
treebc833e90ae9dbce438cd390554a07b7da89ecab3
parent658fc3ddbc0e0a8b1ea7c10a62c6cc2e208c9461
Improved force field effects on hair strands.

The previous calculation was modulated with the angle between the wind
direction and the segments, which leads to very oscillating behavior.

Now the formula includes an estimate for the geometric cross section
of a hair segment based on the incident angle and the hair thickness
(currently just the particle size). This gives a more stable behavior
and more realistic response to wind.

Conflicts:
source/blender/blenkernel/intern/particle_system.c
source/blender/physics/intern/BPH_mass_spring.cpp
source/blender/blenkernel/BKE_cloth.h
source/blender/blenkernel/intern/particle_system.c
source/blender/physics/intern/BPH_mass_spring.cpp
source/blender/physics/intern/implicit.h
source/blender/physics/intern/implicit_blender.c