API / geotoolkit3d / Constants / HeightMapElevationValueMode

Enumeration: HeightMapElevationValueMode

geotoolkit3d.Constants.HeightMapElevationValueMode

Enum for the different interpretation modes of the heightmap texture colors.

Table of contents

Enumeration Members

Contents

Enumeration Members

BlackAndWhite

BlackAndWhite = 0

Black and white value mode:
the texture has only grayscale colors, black - 0.0, white - 1.0


Normal

Normal = 2

Normal value mode:
color on canvas depends on alpha-channel (see https://www.mapzen.com/blog/elevation/ File formats section)


Terrarium

Terrarium = 1

Terrarium value mode:
the texture colors are in the Terrarium format (see https://www.mapzen.com/blog/elevation/ File formats section)
(Decoding RGB colors as (red * 256 + green + blue / 256) - 32768 (in meters, projection EPSG:3857).