diff options
author | Joseph Eagar <joeedh@gmail.com> | 2011-05-01 07:57:53 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2011-05-01 07:57:53 +0400 |
commit | 9736061c07491286021b039d1307b3951496cf3b (patch) | |
tree | 87a054b6cf014b4170770653bbfc020e1a549b6a /release | |
parent | 4734a3321516283d1f2557818ddeb155aa34c56b (diff) |
=trunk=
Made some improvements to the point density texture. Added support
for tweaking the falloff with a custom curve. Also coded new
falloff types based on the age or velocity of particles.
Also added a test break check to the volumetric shade cache code,
to avoid nasty hangups from the preview render (on render, exit,
etc).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_texture.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index bc0dbc3c170..be46eb5dca6 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -721,6 +721,15 @@ class TEXTURE_PT_pointdensity(TextureButtonsPanel, bpy.types.Panel): col.prop(pd, "falloff", text="") if pd.falloff == 'SOFT': col.prop(pd, "falloff_soft") + if pd.falloff == "PARTICLE_VELOCITY": + col.prop(pd, "falloff_speed_scale") + + col.prop(pd, "use_falloff_curve") + + if pd.use_falloff_curve: + col = layout.column() + col.label(text="Falloff Curve") + col.template_curve_mapping(pd, "falloff_curve", brush=False) class TEXTURE_PT_pointdensity_turbulence(TextureButtonsPanel, bpy.types.Panel): |