Package com.massifmaps.components
Class TerrainFlattenMode
java.lang.Object
com.massifmaps.components.TerrainFlattenMode
How far a flattened terrain goes back towards a plain 2D map.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe accepted values of this constant namespace. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe whole way: a flat map decodes, culls and draws as if no terrain were configured.
The price is a re-decode at each switch, paid while the map is already flat.static final intRendering only: the terrain passes, the drape and the elevation fetches are dropped,
but the tiles keep the terrain subdivision they were decoded with. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TERRAIN_FLATTEN_MODE_RENDER
public static final int TERRAIN_FLATTEN_MODE_RENDERRendering only: the terrain passes, the drape and the elevation fetches are dropped,
but the tiles keep the terrain subdivision they were decoded with. Switching costs
nothing and is instant, and a flat map still carries a 3D map's triangles.- See Also:
-
TERRAIN_FLATTEN_MODE_FULL
public static final int TERRAIN_FLATTEN_MODE_FULLThe whole way: a flat map decodes, culls and draws as if no terrain were configured.
The price is a re-decode at each switch, paid while the map is already flat.- See Also:
-
-
Constructor Details
-
TerrainFlattenMode
public TerrainFlattenMode()
-