terrain — Generate terrain field from mathematical noise
terrain [-w x_postings] [-n y_postings] [-s xy_postings] [-L noise_Lacunarity] [-H noise_H_value] [-O noise_octaves] [-o noise_offset] [-S noise_scale] [-V noise_Vector_scale] [-D noise_Delta] [-f noise_function] [ -c host/net format conversion off ] > file.dsp
The
terrain
program produces pseudo-terrain from procedural noise suitable for use with a
BRL-CAD dsp primitive. Noise values are computed for the grid points of the
lattice and the resultant values are output on the standard output as unsigned
shorts in network byte order. The size of the grid is specified with the
-w
and
-n
options.
-w grid_x_postingsSpecifies the number of grid points in the X dimension. Default is 256.
-n grid_y_postingsSpecifies the number of grid points in the Y dimension. Default is 256.
-cTurns of the conversion of the data from host to network format. This only has an effect on little-endian machines.
-vTurns on verbose mode. Information about which filter is running is printed.
-f noise_typeSelects the type of noise field to be used. Options include
A lunar-like surface.
Fractional Brownian motion (fBm).
Turbulence.
Turbulence inverted: 1.0 - turb(pt).
A Multi-fractal.
A Ridged multi-fractal.
-O noise_octavesSpecifies the number of octaves of noise to layer. Typical values are 2 through 8.
-L noise_LacunaritySpecifies the scaling factor between successive octaves of noise. Practical values are non-integer numbers between 1.7 and 4.0.
-H noise_H_valSpecifies the value of H in the noise equation. Usually 1.0
-S noise_scaleScales the noise uniformly in X, Y and Z dimensions by the value noise_scale. Values below 1.0 cause the noise pattern to become smaller. Values above 1.0 cause it to get bigger
-V scale_x,scale_y,scale_zAllows non-uniform scaling of the X, Y and Z dimensions. See
-S
above.
-D delta_x,delta_y,delta_zSpecifies a translation in noise space.