Short Name:
|
Derived From:
|
Fields: |
This class wraps another rectangular heightmap (see (w|h)
below), pads it to the size (s|s)
and adds a smooth border falloff towards the right and bottom heightmap edges:
(0|0) +---------+----+-----+ Y- | | | | | | | | | X- --O-- X+ | | | | | +---------+ | | Y+ | (w|h) | | |--------------+ | w := heightmap width, minus one | (w+f|h+f) | h := height height, minus one | | s := 1 + 2^ceiling(log2(max(w + f,h + f))) +--------------------+ f := border fallof (s|s)
This is to avoid sharp edges at the heightmap border which would cause unnecessary triangles during tessellation.
The following table lists all fields of this config type.
Field | Type | Constraint | Default | |
---|---|---|---|---|
required
|
heightmap
|
Heightmap
|
# != null |
|
The heightmap to wrap. |
||||
required
|
falloff
|
number
|
# >= 0 |
|
The width and height of the border region, i.e. the transition between the edge samples of the wrapped heightmap and the specified border sample. |
||||
optional
|
sample
|
Sample
|
null |
|
The heightmap sample to use for the border region. |
||||
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. |