TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Heightmap.Scale

Short Name:
  • class Heightmap.Scale
Derived From:
Fields:

A heightmap that wraps another heightmap and scales it to the given size. It is both possible to shrink and enlarge the wrapped heightmap.

Shrinking is performed by igoring certain raster rows and columns. Enlarging is performed by apllying Catmull-Rom interpolation.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required heightmap Heightmap
# != null
 

The heightmap to scale.

required size number
# > 0
 

The new heightmap size (i.e. cubemap edge length), in samples. Must be a power of two, plus one.

external id Dataset.Id    

Returns a unique identifier for this dataset.

external metadata Dataset.Info    

Returns dataset metadata information.

external georef Tinman.Georef    

Returns georeferencing information.

external info Heightmap.Info    

Holds detail information about this heightmap.