API / geotoolkit3d / Constants / HeightMapElevationValueMode
geotoolkit3d.Constants.HeightMapElevationValueMode
Enum for the different interpretation modes of the heightmap texture colors.
Enumeration Members
Enumeration Members
• BlackAndWhite = 0
Black and white value mode:
the texture has only grayscale colors, black - 0.0, white - 1.0
• Normal = 2
Normal value mode:
color on canvas depends on alpha-channel (see https://www.mapzen.com/blog/elevation/ File formats section)
• 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).