From 652e4b5225cc88d7bc74dfe092d60a8363ef3189 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Wed, 22 Oct 2008 01:31:46 +0000 Subject: Point Density: Replaced 'Sharp' falloff with 'Soft'. This falloff type has a variable softness, and can get some quite smooth results. It can be useful to get smooth transitions in density when you're using particles on a large scale: http://mke3.net/blender/devel/rendering/volumetrics/pd_falloff_soft.jpg Also removed 'angular velocity' turbulence source - it wasn't doing anything useful atm --- source/blender/makesdna/DNA_texture_types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesdna/DNA_texture_types.h') diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index 95f61e73c79..c51311bb621 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -131,9 +131,10 @@ typedef struct PointDensity { short flag; short falloff_type; + float falloff_softness; float radius; short source; - short pdpad[3]; + short pdpad; struct Object *object; /* for 'Object' or 'Particle system' type - source object */ short psys_cache_space; /* cache points in worldspace, object space, ... ? */ @@ -425,7 +426,7 @@ typedef struct TexMapping { /* falloff_type */ #define TEX_PD_FALLOFF_STD 0 #define TEX_PD_FALLOFF_SMOOTH 1 -#define TEX_PD_FALLOFF_SHARP 2 +#define TEX_PD_FALLOFF_SOFT 2 #define TEX_PD_FALLOFF_CONSTANT 3 #define TEX_PD_FALLOFF_ROOT 4 @@ -441,8 +442,7 @@ typedef struct TexMapping { /* noise_influence */ #define TEX_PD_NOISE_STATIC 0 #define TEX_PD_NOISE_VEL 1 -#define TEX_PD_NOISE_ANGVEL 2 -#define TEX_PD_NOISE_TIME 3 +#define TEX_PD_NOISE_TIME 2 #endif -- cgit v1.2.3