L3DT users' wiki
Large 3D terrain generator

Heightfield:Generator:Perlin filter

Filter info

Description Generate a heightfield using Perlin noise.
Author Aaron
Plugin ZG_perlin

Looks like

:plugins:calc:zeograph:filters:hf_gen_perlin.png

Input pins

This filter has no input pins.

Output pins

Name Type Description
hMap hvar A handle to the perlin heightmap created by the filter.

Options

The filter options window for the Perlin filter looks like:

:plugins:calc:zeograph:filters:hf_gen_perlin_options.png

The options are as follows:

Option name Data type Description
Width int The desired width of the map (east-west), in pixels.
Height int The desired height of the map (south-north), in pixels.
HorizScale float The desired horizontal spacing between map pixels, in metres.
FeatureScale float The pixel size of the largest noise octave relative to the output map width/height. Low values give bumpy terrain, and large values give 'continental' terrain. A value of ~0.5 is typical.
nOctaves int The number of noise octaves applied to the map. A low value gives smooth terrain, a large value gives rough terrain (but is slower to generate).
Persistence float The noise octave amplitude propagation coefficient. A value of ~0.5 is typical. Larger values give rougher terrain.
NoiseKey int A number used to seed the pseudorandom number generator used by the Perlin generator.

To edit any of the values, double left-click the mouse on them.

Comments

Mosaic perlin maps?

To make mosaic perlin maps, first create the heightfield using Map:CreateMosaic, then pass the map to Heightfield:Generator:Perlin2. The Perlin2 filter behaves in much the same way as this filter, except that its settings are exposed as input pins rather than options.

 
plugins/calc/zeograph/filters/hf_gen_perlin.txt · Last modified: 2017/08/31 06:32 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki