diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-18 11:06:25 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:01 +0300 |
commit | 226beb986690046adfdf10a3ed72034fa322ccdb (patch) | |
tree | a9dfd0f16c58d70566368cb9b0c3e695e06e44d9 /release | |
parent | bbae8f88b8f305a8ed85cab718d2a66b476da3c1 (diff) |
Added basic filtering feature for velocity smoothing.
This is part of the original method from "Volumetric Methods for
Simulation and Rendering of Hair". The current filter is a simple box
filter. Other energy-preserving filters such as gaussian filtering
can be implemented later.
The filter size is currently given as a cell count. This is not ideal,
rather it should use a geometrical length value, but this is too
abstract for proper artistical use. Eventually defining the whole grid
in terms of spatial size might work better (possibly using an external
object).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 8afd2d02170..5b52475218d 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -323,6 +323,7 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel): sub.separator() sub.prop(cloth, "voxel_resolution") + sub.prop(cloth, "voxel_filter_size") col = split.column() col.label(text="Damping:") |