Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2008-10-22 05:31:46 +0400
committerMatt Ebb <matt@mke3.net>2008-10-22 05:31:46 +0400
commit652e4b5225cc88d7bc74dfe092d60a8363ef3189 (patch)
treec5db813623395967538650fe685917e8b09f5124 /source/blender/makesdna/DNA_texture_types.h
parent6f656f6482adfa93b010b364cac41a449b8fdc91 (diff)
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
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h8
1 files changed, 4 insertions, 4 deletions
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