summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-12-08 05:40:36 +0000
committerparamat <mat.gregory@virginmedia.com>2015-12-15 04:18:19 +0000
commitc26eb87aec7438d167fa2f460a3f412db09c0ac5 (patch)
tree0dfafc32c1f82da3b136283f09bc37239b75c56f /builtin/settingtypes.txt
parentaed10765f208aedf324128972c74ecc033bb5035 (diff)
downloadminetest-c26eb87aec7438d167fa2f460a3f412db09c0ac5.tar.gz
minetest-c26eb87aec7438d167fa2f460a3f412db09c0ac5.tar.bz2
minetest-c26eb87aec7438d167fa2f460a3f412db09c0ac5.zip
Mgfractal: Add 3D and 4D fractals
3D Mandelbrot/Mandelbar 3D Christmas Tree 3D Mandelbulb 3D Cosine Mandelbulb 4D Mandelbulb Plus corresponding julia set for each Add credits for formulas Rename parameter 'formula' to 'fractal' Speed optimisations
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt51
1 files changed, 31 insertions, 20 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 4a714e1aa..62f817062 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -970,49 +970,60 @@ mgflat_np_cave2 (Mapgen flat cave2 noise parameters) noise_params 0, 12, (128, 1
[***Mapgen fractal]
-# Choice of 8 4-dimensional fractals.
-# 1 = "Roundy" mandelbrot set.
-# 2 = "Roundy" julia set.
-# 3 = "Squarry" mandelbrot set.
-# 4 = "Squarry" julia set.
-# 5 = "Mandy Cousin" mandelbrot set.
-# 6 = "Mandy Cousin" julia set.
-# 7 = "Variation" mandelbrot set.
-# 8 = "Variation" julia set.
-mgfractal_formula (Mapgen fractal formula) int 1 1 8
+# Choice of 18 fractals from 9 formulas.
+# 1 = 4D "Roundy" mandelbrot set.
+# 2 = 4D "Roundy" julia set.
+# 3 = 4D "Squarry" mandelbrot set.
+# 4 = 4D "Squarry" julia set.
+# 5 = 4D "Mandy Cousin" mandelbrot set.
+# 6 = 4D "Mandy Cousin" julia set.
+# 7 = 4D "Variation" mandelbrot set.
+# 8 = 4D "Variation" julia set.
+# 9 = 3D "Mandelbrot/Mandelbar" mandelbrot set.
+# 10 = 3D "Mandelbrot/Mandelbar" julia set.
+# 11 = 3D "Christmas Tree" mandelbrot set.
+# 12 = 3D "Christmas Tree" julia set.
+# 13 = 3D "Mandelbulb" mandelbrot set.
+# 14 = 3D "Mandelbulb" julia set.
+# 15 = 3D "Cosine Mandelbulb" mandelbrot set.
+# 16 = 3D "Cosine Mandelbulb" julia set.
+# 17 = 4D "Mandelbulb" mandelbrot set.
+# 18 = 4D "Mandelbulb" julia set.
+mgfractal_fractal (Mapgen fractal fractal) int 1 1 18
# Iterations of the recursive function.
-# Controls scale of finest detail.
+# Controls the amount of fine detail.
mgfractal_iterations (Mapgen fractal iterations) int 11
# Approximate (X,Y,Z) scale of fractal in nodes.
mgfractal_scale (Mapgen fractal scale) v3f (4096.0, 1024.0, 4096.0)
-# (X,Y,Z) offset of fractal from world centre.
+# (X,Y,Z) offset of fractal from world centre in units of 'scale'.
# Used to move a suitable spawn area of low land close to (0, 0).
-# The default is suitable for mandelbrot sets, it needs to be edited for julia sets,
-# do this by greatly reducing 'scale' and setting 'offset' initially to (0, 0, 0).
+# The default is suitable for mandelbrot sets, it needs to be edited for julia sets.
# Range roughly -2 to 2. Multiply by 'scale' for offset in nodes.
mgfractal_offset (Mapgen fractal offset) v3f (1.79, 0.0, 0.0)
-# W co-ordinate of the generated 3D slice of the 4D shape.
-# Alters the generated 3D shape.
+# W co-ordinate of the generated 3D slice of a 4D fractal.
+# Determines which 3D slice of the 4D shape is generated.
+# Has no effect on 3D fractals.
# Range roughly -2 to 2.
mgfractal_slice_w (Mapgen fractal slice w) float 0.0
-# Julia set only: X value determining the 4D shape.
+# Julia set only: X component of hypercomplex constant determining julia shape.
# Range roughly -2 to 2.
mgfractal_julia_x (Mapgen fractal julia x) float 0.33
-# Julia set only: Y value determining the 4D shape.
+# Julia set only: Y component of hypercomplex constant determining julia shape.
# Range roughly -2 to 2.
mgfractal_julia_y (Mapgen fractal julia y) float 0.33
-# Julia set only: Z value determining the 4D shape.
+# Julia set only: Z component of hypercomplex constant determining julia shape.
# Range roughly -2 to 2.
mgfractal_julia_z (Mapgen fractal julia z) float 0.33
-# Julia set only: W value determining the 4D shape.
+# Julia set only: W component of hypercomplex constant determining julia shape.
+# Has no effect on 3D fractals.
# Range roughly -2 to 2.
mgfractal_julia_w (Mapgen fractal julia w) float 0.33