summaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.cpp
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-06-21 03:48:24 +0100
committerparamat <mat.gregory@virginmedia.com>2016-06-24 02:17:51 +0100
commit9997e2030c86b938d1889ee71522bc26d01226e6 (patch)
treeced789cfdd7c37fa323e0b03557ff9862ad81487 /src/mapgen_fractal.cpp
parentfa0bbbf96df17f0d7911274ea85e5c049c20d07b (diff)
downloadminetest-9997e2030c86b938d1889ee71522bc26d01226e6.tar.gz
minetest-9997e2030c86b938d1889ee71522bc26d01226e6.tar.bz2
minetest-9997e2030c86b938d1889ee71522bc26d01226e6.zip
Mgflat/fractal/v7/valleys: Denser 3D noise tunnels
Reduce spread from 96 to primes 61 and 67 (either side of 64) Prime spreads help to keep 3D noise periodic features unaligned 'cave width' 0.2 to preserve tunnel width Reduce octaves to 3 to improve network structure
Diffstat (limited to 'src/mapgen_fractal.cpp')
-rw-r--r--src/mapgen_fractal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp
index c47a7bfdc..9e4c210dc 100644
--- a/src/mapgen_fractal.cpp
+++ b/src/mapgen_fractal.cpp
@@ -86,7 +86,7 @@ MapgenFractal::~MapgenFractal()
MapgenFractalParams::MapgenFractalParams()
{
spflags = 0;
- cave_width = 0.3;
+ cave_width = 0.2;
fractal = 1;
iterations = 11;
scale = v3f(4096.0, 1024.0, 4096.0);
@@ -99,8 +99,8 @@ MapgenFractalParams::MapgenFractalParams()
np_seabed = NoiseParams(-14, 9, v3f(600, 600, 600), 41900, 5, 0.6, 2.0);
np_filler_depth = NoiseParams(0, 1.2, v3f(150, 150, 150), 261, 3, 0.7, 2.0);
- np_cave1 = NoiseParams(0, 12, v3f(96, 96, 96), 52534, 4, 0.5, 2.0);
- np_cave2 = NoiseParams(0, 12, v3f(96, 96, 96), 10325, 4, 0.5, 2.0);
+ np_cave1 = NoiseParams(0, 12, v3f(61, 61, 61), 52534, 3, 0.5, 2.0);
+ np_cave2 = NoiseParams(0, 12, v3f(67, 67, 67), 10325, 3, 0.5, 2.0);
}