diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-08-28 16:55:55 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:29:21 +0300 |
commit | ba8b8ec99870e61ba7496b3c55795e5acf9bd573 (patch) | |
tree | 3d70aa0652d219d16eb0009ded98686100d0f5a7 /release | |
parent | 345c7b144d0ddeb6dbf2b7ba77ae9ac89b8c9671 (diff) |
Implemented internal hair pressure to prevent hair from collapsing in
on itself.
This uses the same voxel structure as the hair smoothing algorithm.
A slightly different method was suggested in the original paper
(Volumetric Methods for Simulation and Rendering of Hair), but this is
based on directing hair based on a target density, which is another
way of implementing global goals. Our own approach is to define a
pressure threshold above which the hair is repelled in the density
gradient direction to simulate internal pressure from collisions.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index d0b079cbf0d..d6f1095e700 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -316,6 +316,8 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel): sub.prop(cloth, "bending_stiffness", text="Bending") sub.prop(cloth, "internal_friction", slider=True) sub.prop(cloth, "collider_friction", slider=True) + sub.prop(cloth, "pressure", slider=True) + sub.prop(cloth, "pressure_threshold", slider=True) col = split.column() col.label(text="Damping:") |