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/blenloader/intern/readfile.c
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/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 4af54832221..8f005e99053 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7908,6 +7908,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
tex->pd->noise_fac = 1.0f;
tex->pd->noise_influence = TEX_PD_NOISE_STATIC;
}
+ if (tex->pd->falloff_softness < 1.0f)
+ tex->pd->falloff_softness = 2.0f;
}
}