mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
varregion: move the compressed heighmap compression factor from
Constants into TerrainData. Save compression factor with the terrain blob in the database.
This commit is contained in:
@@ -36,8 +36,6 @@ namespace OpenSim.Framework
|
||||
public const uint RegionSize = 256;
|
||||
public const uint RegionHeight = 4096;
|
||||
|
||||
// Terrain heightmap is kept as shorts that are the float value times this compression factor
|
||||
public const float TerrainCompression = 100.0f;
|
||||
// Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum
|
||||
public const int MinRegionSize = 16;
|
||||
public const int TerrainPatchSize = 16;
|
||||
|
||||
Reference in New Issue
Block a user