Divooka Reference

Interactive Heightmap Viewers

3 nodes

On this page 3

Make Interactive Heightmap Viewers

Function

This node carries no documentation.

Signature
HeightmapInteractiveViewers() -> Interactive Heightmap Viewers
HeightmapInteractiveViewers HeightmapInteractiveViewers()

Returns

Interactive Heightmap ViewersInteractive Heightmap Viewers
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Interactive Heightmap Viewers
Package
Procedural Generation

Show Heightmap Mesh Viewer

Function

Opens the terrain as a lit mesh at its native resolution, with its colour and, where given, its normal and roughness maps: wire Bake Terrain Surface's Normal and Roughness in to see the materials' relief.

Signature
ShowHeightmapMeshViewer
    _host: IDivookaEngineHostEnvironment
    title: Text
    field: Scalar Field
    diffuse: Pixel Image
    normal: Pixel Image
    roughness: Pixel Image
    water: Scalar Field
void ShowHeightmapMeshViewer(
    IDivookaEngineHostEnvironment _host,
    string title,
    ScalarField2D field,
    PixelImage diffuse,
    PixelImage normal,
    PixelImage roughness,
    ScalarField2D water)

Parameters

nametypedefaultdescription
_hostIDivookaEngineHostEnvironment—
titleText—
fieldScalar Field—
diffusePixel Image—
normalPixel Image—A tangent-space normal map over the terrain, green up the image (OpenGL convention), as Bake Terrain Surface makes.
roughnessPixel Image—Roughness over the terrain, white rough.
waterScalar Field—The water surface in metres, NaN on dry ground, as Terrain Water's Fill gives it in Surface Elevation: the same that went into Quick Texture or Bake Terrain Surface, so the water they colour lies level.
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Interactive Heightmap Viewers
Package
Procedural Generation

Show Heightmap Voxel Viewer

Function

This node carries no documentation.

Signature
ShowHeightmapVoxelViewer
    _host: IDivookaEngineHostEnvironment
    title: Text
    field: Scalar Field
    diffuse: Pixel Image
void ShowHeightmapVoxelViewer(
    IDivookaEngineHostEnvironment _host,
    string title,
    ScalarField2D field,
    PixelImage diffuse)

Parameters

nametypedefaultdescription
_hostIDivookaEngineHostEnvironment—
titleText—
fieldScalar Field—
diffusePixel Image—
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Interactive Heightmap Viewers
Package
Procedural Generation