Divooka Reference

Heightmap Visualization Routines

20 nodes

On this page 20

Apply Color Ramp

Function

Overload 1 of 4

Signature
ApplyColorRamp(heightmap: Scalar Field) -> Pixel Image
PixelImage ApplyColorRamp(ScalarField2D heightmap)

This node carries no documentation.

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image

Overload 2 of 4

Signature
ApplyColorRamp -> Pixel Image
    sourceField: Scalar Field
    colorStops: IReadOnlyList<Color Stop>
PixelImage ApplyColorRamp(
    ScalarField2D sourceField,
    IReadOnlyList<ColorStop> colorStops)

Applies full range color ramp on a source field.

Parameters

nametypedefaultdescription
sourceFieldScalar Field—Source heightmap, mask, etc.
colorStopsIReadOnlyList<Color Stop>—

Returns

resultPixel Image

Overload 3 of 4

Signature
ApplyColorRamp -> Pixel Image
    sourceField: Scalar Field
    colorRamp: Color Ramp
PixelImage ApplyColorRamp(
    ScalarField2D sourceField,
    ColorRamp colorRamp)

Applies a normalized color ramp to a source field using its own min/max range.

Parameters

nametypedefaultdescription
sourceFieldScalar Field—
colorRampColor Ramp—

Returns

resultPixel Image

Overload 4 of 4

Signature
ApplyColorRamp -> Pixel Image
    sourceField: Scalar Field
    colorRamp: Color Ramp
    minimumValue: Number
    maximumValue: Number
PixelImage ApplyColorRamp(
    ScalarField2D sourceField,
    ColorRamp colorRamp,
    double minimumValue,
    double maximumValue)

Applies a normalized color ramp to a source field using an explicit value range.

Parameters

nametypedefaultdescription
sourceFieldScalar Field—
colorRampColor Ramp—
minimumValueNumber—
maximumValueNumber—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Apply Shaded Color Ramp

Function

This node carries no documentation.

Overload 1 of 2

Signature
ApplyShadedColorRamp -> Pixel Image
    heightmap: Scalar Field
    shadeStrength: Number
PixelImage ApplyShadedColorRamp(
    ScalarField2D heightmap,
    double shadeStrength = 0.5)

Parameters

nametypedefaultdescription
heightmapScalar Field—
shadeStrengthNumber0.5

Returns

resultPixel Image

Overload 2 of 2

Signature
ApplyShadedColorRamp -> Pixel Image
    heightmap: Scalar Field
    colorStops: IReadOnlyList<Color Stop>
    shadeStrength: Number
    azimuthDegrees: Number
    altitudeDegrees: Number
PixelImage ApplyShadedColorRamp(
    ScalarField2D heightmap,
    IReadOnlyList<ColorStop> colorStops,
    double shadeStrength = 0.5,
    double azimuthDegrees = 315,
    double altitudeDegrees = 45)

Parameters

nametypedefaultdescription
heightmapScalar Field—
colorStopsIReadOnlyList<Color Stop>—
shadeStrengthNumber0.5
azimuthDegreesNumber315
altitudeDegreesNumber45

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Bake Shadow Map

Function

Overload 1 of 2

Signature
BakeShadowMap -> Pixel Image
    heightmap: Scalar Field
    sunDirection: Vector3
    resolutionScale: Integer
    sunSize: Number
    softShadowSamples: Integer
    parallelCompute: Truth
PixelImage BakeShadowMap(
    ScalarField2D heightmap,
    Vector3 sunDirection,
    int resolutionScale = 1,
    double sunSize = 0,
    int softShadowSamples = 32,
    bool parallelCompute = false)

Bakes a grayscale shadow map from a terrain scalar field.

Parameters

nametypedefaultdescription
heightmapScalar Field—Source terrain height field.
sunDirectionVector3—Direction from a terrain point toward the sun. For example, Vector3.UnitZ represents a sun directly overhead.
resolutionScaleInteger1Output resolution multiplier. Values greater than one currently use bilinear height sampling to evaluate the higher-resolution output pixels.
sunSizeNumber0Angular radius of the sun in degrees. Zero produces sharp shadows.
softShadowSamplesInteger32Number of sun-disc samples used when Sun Size is greater than zero.
parallelComputeTruthFalseEnables row-level parallel processing. Gives big speed up on multi-core CPUs.

Returns

resultPixel Image

Overload 2 of 2

Signature
BakeShadowMap -> Pixel Image
    heightmap: Scalar Field
    geographicCoordinate: Geographic Coordinate
    dateTime: DateTimeOffset
    resolutionScale: Integer
    sunSize: Number
    softShadowSamples: Integer
    parallelCompute: Truth
    heightmapYPointsNorth: Truth
PixelImage BakeShadowMap(
    ScalarField2D heightmap,
    GeographicCoordinate geographicCoordinate,
    DateTimeOffset dateTime,
    int resolutionScale = 1,
    double sunSize = 0,
    int softShadowSamples = 32,
    bool parallelCompute = false,
    bool heightmapYPointsNorth = true)

Bakes a grayscale Earth sunlight shadow map for a geographic location and date.

Parameters

nametypedefaultdescription
heightmapScalar Field—Source terrain height field.
geographicCoordinateGeographic Coordinate—Geographic location represented by the terrain.
dateTimeDateTimeOffset—Absolute date and time for which the Sun direction is calculated. The supplied UTC offset is honored.
resolutionScaleInteger1Output resolution multiplier. Values greater than one currently use bilinear height sampling to evaluate the higher-resolution output pixels.
sunSizeNumber0Angular radius of the sun in degrees. Zero produces sharp shadows. The real Sun has an approximate angular radius of 0.27 degrees.
softShadowSamplesInteger32Number of sun-disc samples used when Sun Size is greater than zero.
parallelComputeTruthFalseEnables row-level parallel processing. Gives big speed up on multi-core CPUs.
heightmapYPointsNorthTruthTrueTrue when increasing heightmap Y coordinates point north. Set to false for conventional north-up raster (DEM) data where row indices increase southward.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Bake Visibility Map

Function

Overload 1 of 2

Signature
BakeVisibilityMap -> Scalar Field
    heightmap: Scalar Field
    camera: Camera Specification
ScalarField2D BakeVisibilityMap(
    ScalarField2D heightmap,
    HeightmapCameraVisibilityMapBaker.CameraSpecification camera)

Bakes a terrain visibility mask using default bake settings.

Parameters

nametypedefaultdescription
heightmapScalar Field—Source terrain height field.
cameraCamera Specification—Camera used to determine terrain visibility.

Returns

resultScalar Field

Overload 2 of 2

Signature
BakeVisibilityMap -> Scalar Field
    heightmap: Scalar Field
    camera: Camera Specification
    settings: Visibility Map Bake Settings
ScalarField2D BakeVisibilityMap(
    ScalarField2D heightmap,
    HeightmapCameraVisibilityMapBaker.CameraSpecification camera,
    HeightmapCameraVisibilityMapBaker.VisibilityMapBakeSettings settings)

Bakes a terrain visibility mask using detailed bake settings.

Parameters

nametypedefaultdescription
heightmapScalar Field—Source terrain height field.
cameraCamera Specification—Camera used to determine terrain visibility.
settingsVisibility Map Bake Settings—Visibility baking configuration.

Returns

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

Configure Visibility Camera

Function

Configures the camera a visibility map is baked for: where it stands, where it looks, and how wide it sees.

Signature
ConfigureVisibilityCamera -> Camera Specification
    position: Vector3d
    forward: Vector3d
    horizontalFieldOfView: Number
    verticalFieldOfView: Number
    farPlane: Number
HeightmapCameraVisibilityMapBaker.CameraSpecification ConfigureVisibilityCamera(
    Vector3d position,
    Vector3d forward,
    double horizontalFieldOfView = 90,
    double verticalFieldOfView = 60,
    double farPlane = 10000)

Parameters

nametypedefaultdescription
positionVector3d—Where the camera stands, in terrain world space: rows run along +X and columns along +Y at the heightmap's physical scale, and heights are Z. To see the terrain from above, stand higher than its highest point.
forwardVector3d—The direction the camera looks. Looking across a terrain from its corner is a positive X and Y with a negative Z.
horizontalFieldOfViewNumber90How wide the camera sees, in degrees.
verticalFieldOfViewNumber60How tall the camera sees, in degrees.
farPlaneNumber10000How far the camera sees, in world units.

Returns

resultCamera Specification

Remarks

The camera's properties can only be set as it is constructed, and nodes cannot construct a type that way yet, so without this tool no graph could hand the baker a camera at all - Terrain Visibility Map failed every run with "Value cannot be null. (Parameter 'camera')". It is the same stand-in HeightmapGenerator.ConfigureHeightmapNoiseSettings is for noise settings. A perspective camera whose up is the terrain's up, which is what a person standing on or above a terrain is.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Generate Biome Texture

Function

Generates a biome texture image based on the heightmap data.

Signature
GenerateBiomeTexture(heightmap: Scalar Field) -> Pixel Image
PixelImage GenerateBiomeTexture(ScalarField2D heightmap)

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Generate Biome Texture Gradient

Function

This node carries no documentation.

Signature
GenerateBiomeTextureGradient(heightmap: Scalar Field) -> Pixel Image
PixelImage GenerateBiomeTextureGradient(ScalarField2D heightmap)

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Generate Normal Map Pixel Image

Function

Generates a tangent-space normal map from a heightmap.

Signature
GenerateNormalMapPixelImage -> Pixel Image
    heightmap: Scalar Field
    normalStrength: Number
    usePhysicalScale: Truth
    invertGreen: Truth
PixelImage GenerateNormalMapPixelImage(
    ScalarField2D heightmap,
    double normalStrength = 1,
    bool usePhysicalScale = false,
    bool invertGreen = false)

Parameters

nametypedefaultdescription
heightmapScalar Field—Source heightmap.
normalStrengthNumber1Strength of the horizontal normal components.
usePhysicalScaleTruthFalseWhether gradient calculation uses the heightmap's PhysicalScale.
invertGreenTruthFalseInverts the tangent-space Y/green channel for consumers using the opposite normal-map convention.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Get Mask Range

Function

This node carries no documentation.

Signature
GetMaskRange(mask: Scalar Field) -> HeightmapVisualizationRoutines.MaskRange
HeightmapVisualizationRoutines.MaskRange GetMaskRange(ScalarField2D mask)

Parameters

nametypedefaultdescription
maskScalar Field—

Returns

resultHeightmapVisualizationRoutines.MaskRange
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Overlay Contours

Function

This node carries no documentation.

Signature
OverlayContours -> Pixel Image
    baseImage: Pixel Image
    heightmap: Scalar Field
    interval: Number
    lineColor: Optional Color
    opacity: Number
PixelImage OverlayContours(
    PixelImage baseImage,
    ScalarField2D heightmap,
    double interval,
    ColorElement? lineColor,
    double opacity = 1)

Parameters

nametypedefaultdescription
baseImagePixel Image—
heightmapScalar Field—
intervalNumber—
lineColorOptional Color—
opacityNumber1

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Render Shaded Surface Pixel Image

Function

Renders a scalar field as a lit height surface using color-ramp tint, normal-based diffuse lighting, specular highlights, fresnel tint, and optional crest foam.

Overload 1 of 2

Signature
RenderShadedSurfacePixelImage(sourceField: Scalar Field) -> Pixel Image
PixelImage RenderShadedSurfacePixelImage(ScalarField2D sourceField)

Parameters

nametypedefaultdescription
sourceFieldScalar Field—

Returns

resultPixel Image

Overload 2 of 2

Signature
RenderShadedSurfacePixelImage -> Pixel Image
    sourceField: Scalar Field
    settings: HeightmapVisualizationRoutines.SurfaceShadingSettings
PixelImage RenderShadedSurfacePixelImage(
    ScalarField2D sourceField,
    HeightmapVisualizationRoutines.SurfaceShadingSettings settings)

Parameters

nametypedefaultdescription
sourceFieldScalar Field—
settingsHeightmapVisualizationRoutines.SurfaceShadingSettings—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Contour Map

Function

This node carries no documentation.

Signature
ToContourMap -> Pixel Image
    heightmap: Scalar Field
    interval: Number
    lineColor: Optional Color
    backgroundColor: Optional Color
PixelImage ToContourMap(
    ScalarField2D heightmap,
    double interval = 0.1,
    ColorElement? lineColor,
    ColorElement? backgroundColor)

Parameters

nametypedefaultdescription
heightmapScalar Field—
intervalNumber0.1
lineColorOptional Color—
backgroundColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Grayscale Pixel Image

Function

Overload 1 of 2

Signature
ToGrayscalePixelImage -> Pixel Image
    sourceField: Scalar Field
    minimumValue: Number
    maximumValue: Number
    invert: Truth
PixelImage ToGrayscalePixelImage(
    ScalarField2D sourceField,
    double minimumValue,
    double maximumValue,
    bool invert = false)

Converts a scalar field to grayscale using an explicit fixed value range.
Values outside the range are clamped.

Parameters

nametypedefaultdescription
sourceFieldScalar Field—
minimumValueNumber—
maximumValueNumber—
invertTruthFalse

Returns

resultPixel Image

Overload 2 of 2

Signature
ToGrayscalePixelImage(heightmap: Scalar Field) -> Pixel Image
PixelImage ToGrayscalePixelImage(ScalarField2D heightmap)

This node carries no documentation.

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Heatmap

Function

This node carries no documentation.

Signature
ToHeatmap(heightmap: Scalar Field) -> Pixel Image
PixelImage ToHeatmap(ScalarField2D heightmap)

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Hillshade

Function

This node carries no documentation.

Signature
ToHillshade -> Pixel Image
    heightmap: Scalar Field
    azimuthDegrees: Number
    altitudeDegrees: Number
    verticalExaggeration: Number
PixelImage ToHillshade(
    ScalarField2D heightmap,
    double azimuthDegrees = 315,
    double altitudeDegrees = 45,
    double verticalExaggeration = 1)

Parameters

nametypedefaultdescription
heightmapScalar Field—
azimuthDegreesNumber315
altitudeDegreesNumber45
verticalExaggerationNumber1

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Normal Map

Function

This node carries no documentation.

Signature
ToNormalMap(heightmap: Scalar Field) -> Pixel Image
PixelImage ToNormalMap(ScalarField2D heightmap)

Parameters

nametypedefaultdescription
heightmapScalar Field—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Slope Map

Function

This node carries no documentation.

Signature
ToSlopeMap -> Pixel Image
    heightmap: Scalar Field
    maxSlopeDegrees: Number
PixelImage ToSlopeMap(
    ScalarField2D heightmap,
    double maxSlopeDegrees = 60)

Parameters

nametypedefaultdescription
heightmapScalar Field—
maxSlopeDegreesNumber60

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

To Voxel Space Image

Function

Overload 1 of 4

Signature
ToVoxelSpaceImage -> Pixel Image
    heightmap: Scalar Field
    width: Integer
    height: Integer
    camera: VoxelCamera
PixelImage ToVoxelSpaceImage(
    ScalarField2D heightmap,
    int width,
    int height,
    VoxelCamera camera)

Renders a VoxelSpace-style first-person terrain view into a PixelImage.
Camera X/Y are in heightmap pixel coordinates. Camera Height is in normalized 0..255 height units.

Parameters

nametypedefaultdescription
heightmapScalar Field—
widthInteger—
heightInteger—
cameraVoxelCamera—

Returns

resultPixel Image

Overload 2 of 4

Signature
ToVoxelSpaceImage -> Pixel Image
    heightmap: Scalar Field
    colorMap: Pixel Image
    width: Integer
    height: Integer
    camera: VoxelCamera
PixelImage ToVoxelSpaceImage(
    ScalarField2D heightmap,
    PixelImage colorMap,
    int width,
    int height,
    VoxelCamera camera)

Renders a VoxelSpace-style first-person terrain view into a PixelImage.
Camera X/Y are in heightmap pixel coordinates. Camera Height is in normalized 0..255 height units.

Parameters

nametypedefaultdescription
heightmapScalar Field—
colorMapPixel Image—
widthInteger—
heightInteger—
cameraVoxelCamera—

Returns

resultPixel Image

Overload 3 of 4

Signature
ToVoxelSpaceImage -> Pixel Image
    heightmap: Scalar Field
    width: Integer
    height: Integer
    cameraX: Low Accuracy Number
    cameraY: Low Accuracy Number
    cameraHeight: Low Accuracy Number
    angle: Low Accuracy Number
    horizon: Optional Low Accuracy Number
    distance: Low Accuracy Number
PixelImage ToVoxelSpaceImage(
    ScalarField2D heightmap,
    int width,
    int height,
    float cameraX,
    float cameraY,
    float cameraHeight = 100f,
    float angle = 0f,
    float? horizon,
    float distance = 1000f)

Convenience overload that creates a camera from common parameters.
Camera X/Y are in heightmap pixel coordinates. Camera Height is in normalized 0..255 height units.

Parameters

nametypedefaultdescription
heightmapScalar Field—
widthInteger—
heightInteger—
cameraXLow Accuracy Number—
cameraYLow Accuracy Number—
cameraHeightLow Accuracy Number100
angleLow Accuracy Number0
horizonOptional Low Accuracy Number—
distanceLow Accuracy Number1000

Returns

resultPixel Image

Remarks

Similar to Divooka.Terrains.VoxelSpaceRenderer.Renderers.VoxelRenderer.

Overload 4 of 4

Signature
ToVoxelSpaceImage -> Pixel Image
    heightmap: Scalar Field
    colorMap: Pixel Image
    width: Integer
    height: Integer
    cameraX: Low Accuracy Number
    cameraY: Low Accuracy Number
    cameraHeight: Low Accuracy Number
    angle: Low Accuracy Number
    horizon: Optional Low Accuracy Number
    distance: Low Accuracy Number
PixelImage ToVoxelSpaceImage(
    ScalarField2D heightmap,
    PixelImage colorMap,
    int width,
    int height,
    float cameraX,
    float cameraY,
    float cameraHeight = 100f,
    float angle = 0f,
    float? horizon,
    float distance = 1000f)

Convenience overload with explicit color map.
Camera X/Y are in heightmap pixel coordinates. Camera Height is in normalized 0..255 height units.

Parameters

nametypedefaultdescription
heightmapScalar Field—
colorMapPixel Image—
widthInteger—
heightInteger—
cameraXLow Accuracy Number—
cameraYLow Accuracy Number—
cameraHeightLow Accuracy Number100
angleLow Accuracy Number0
horizonOptional Low Accuracy Number—
distanceLow Accuracy Number1000

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Visualize Hypsometric Pixel Image

Function

An alternative color theme.

Signature
VisualizeHypsometricPixelImage -> Pixel Image
    heightmap: Scalar Field
    invert: Truth
    seaLevel: Low Accuracy Number
    ramp: IReadOnlyList<Color Stop>
PixelImage VisualizeHypsometricPixelImage(
    ScalarField2D heightmap,
    bool invert = false,
    float seaLevel = 0.35f,
    IReadOnlyList<ColorStop> ramp)

Parameters

nametypedefaultdescription
heightmapScalar Field—
invertTruthFalse
seaLevelLow Accuracy Number0.35
rampIReadOnlyList<Color Stop>—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation

Write Shaded Surface To Pixels

Function

Renders a row-major float height field directly into a tightly packed RGBA byte buffer.
Intended for realtime preview paths that should avoid PixelImage/ScalarField2D allocation per frame.

Overload 1 of 2

Signature
WriteShadedSurfaceToPixels
    sourceRowMajor: Low Accuracy Number Array
    width: Integer
    height: Integer
    physicalScale: Number
    pixels: Byte Array
    settings: HeightmapVisualizationRoutines.SurfaceShadingSettings
void WriteShadedSurfaceToPixels(
    float[] sourceRowMajor,
    int width,
    int height,
    double physicalScale,
    byte[] pixels,
    HeightmapVisualizationRoutines.SurfaceShadingSettings settings)

Parameters

nametypedefaultdescription
sourceRowMajorLow Accuracy Number Array—
widthInteger—
heightInteger—
physicalScaleNumber—
pixelsByte Array—
settingsHeightmapVisualizationRoutines.SurfaceShadingSettings—

Remarks

TODO: This function modifies incoming source. Refactor to return output instead.

Overload 2 of 2

Signature
WriteShadedSurfaceToPixels
    source: Low Accuracy Number Array Array
    width: Integer
    height: Integer
    physicalScale: Number
    pixels: Byte Array
    settings: HeightmapVisualizationRoutines.SurfaceShadingSettings
void WriteShadedSurfaceToPixels(
    float[][] source,
    int width,
    int height,
    double physicalScale,
    byte[] pixels,
    HeightmapVisualizationRoutines.SurfaceShadingSettings settings)

Parameters

nametypedefaultdescription
sourceLow Accuracy Number Array Array—
widthInteger—
heightInteger—
physicalScaleNumber—
pixelsByte Array—
settingsHeightmapVisualizationRoutines.SurfaceShadingSettings—

Remarks

TODO: This function modifies incoming source. Refactor to return output instead.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Heightmap Visualization Routines
Package
Procedural Generation