Divooka Reference

Heightmap Erosion Operations

6 nodes

On this page 6

Apply Function To Height

Function

This node carries no documentation.

Signature
ApplyFunctionToHeight -> Scalar Field
    heightmap: Scalar Field
    func: Func<Number Array Array, Number, Number>
ScalarField2D ApplyFunctionToHeight(
    ScalarField2D heightmap,
    Func<double[][], double, double> func)

Parameters

nametypedefaultdescription
heightmapScalar Field—
funcFunc<Number Array Array, Number, Number>—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation

Grid Hydraulic Erode

Function

This node carries no documentation.

Signature
GridHydraulicErode -> Scalar Field
    heightmap: Scalar Field
    configuration: ErosionConfiguration
ScalarField2D GridHydraulicErode(
    ScalarField2D heightmap,
    ErosionConfiguration configuration)

Parameters

nametypedefaultdescription
heightmapScalar Field—
configurationErosionConfiguration—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation

Particle Hydraulic Erode

Function

This node carries no documentation.

Signature
ParticleHydraulicErode -> Scalar Field
    heightmap: Scalar Field
    iterations: Integer
ScalarField2D ParticleHydraulicErode(
    ScalarField2D heightmap,
    int iterations)

Parameters

nametypedefaultdescription
heightmapScalar Field—
iterationsInteger—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation

Quick Erode

Function

Erode with preset values.

Signature
QuickErode -> Scalar Field
    heightmap: Scalar Field
    erosion: ScalarField2D.ErosionType
    configuration: ErosionConfiguration
ScalarField2D QuickErode(
    ScalarField2D heightmap,
    ScalarField2D.ErosionType erosion,
    ErosionConfiguration configuration)

Parameters

nametypedefaultdescription
heightmapScalar Field—
erosionScalarField2D.ErosionType—
configurationErosionConfiguration—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation

Thermal Erode

Function

This node carries no documentation.

Signature
ThermalErode -> Scalar Field
    heightmap: Scalar Field
    iterations: Integer
    heightDifferenceThreshold: Number
    erosionFactor: Number
    numberOfThreads: Integer
ScalarField2D ThermalErode(
    ScalarField2D heightmap,
    int iterations,
    double heightDifferenceThreshold,
    double erosionFactor,
    int numberOfThreads = 1)

Parameters

nametypedefaultdescription
heightmapScalar Field—
iterationsInteger—
heightDifferenceThresholdNumber—
erosionFactorNumber—
numberOfThreadsInteger1

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation

Thermal Erode Normalized

Function

This node carries no documentation.

Signature
ThermalErodeNormalized -> Scalar Field
    heightmap: Scalar Field
    iterations: Integer
    normalizedTalus: Number
    erosionFactor: Number
    numberOfThreads: Integer
ScalarField2D ThermalErodeNormalized(
    ScalarField2D heightmap,
    int iterations,
    double normalizedTalus,
    double erosionFactor,
    int numberOfThreads = 1)

Parameters

nametypedefaultdescription
heightmapScalar Field—
iterationsInteger—
normalizedTalusNumber—
erosionFactorNumber—
numberOfThreadsInteger1

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Erosion Operations
Package
Procedural Generation