# Tutorials and Tables

Section Content:

## POV-Ray's f_ridged_mf() function

POV-Ray 3.5 supplies a user defined function called f_ridged_mf() that generates a ridged multifractal pattern. This pattern is extremely versatile, it can be used for structures ranging from pointy mountain ridges to water wave strutures and a lot of other things. It is a most useful and flexible patterns.

There are 6 parameters influencing the style of the function:

1. H
2. Lacunarity
3. Octaves
4. Offset
5. Gain
6. noise

The noise generator does not make any principal changes, therefore it is left at 2 in all samples.

To reduce the number of required samples and to make things easier to understand i also kept octaves at 7, it's effect is probably well known from the use of turbulence, if not you can have a look at the turbulence samples. All other parameters are varied in the following pictures.

pigment {
function { f_ridged_mf(xyz, H, Lacunarity, Octaves, Offset, Gain, 2}
color_map {
...
}
}

color_map used:

The file size of the tables is about 120-160k.

A Version for easier navigation with javascript ist also available.

Lacunarity: H=0.01 H=0.1 H=0.5 H=1.0 H=2.0 H=5.0
0.1 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
0.5 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
1.0 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
2.0 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
5.0 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
10.0 offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1
offset:
-1..0 / 0..1