aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-09-24 16:39:26 +0000
committerAdam Frisby2007-09-24 16:39:26 +0000
commit4e01aa4879381a6b6230ea63b52c513656a2896f (patch)
treeaf82ae54f0792381e410142d876fc23aaa5eaf30 /OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
parent* Fixed an issue where it chose the smaller rather than larger of the two num... (diff)
downloadopensim-SC-4e01aa4879381a6b6230ea63b52c513656a2896f.zip
opensim-SC-4e01aa4879381a6b6230ea63b52c513656a2896f.tar.gz
opensim-SC-4e01aa4879381a6b6230ea63b52c513656a2896f.tar.bz2
opensim-SC-4e01aa4879381a6b6230ea63b52c513656a2896f.tar.xz
* Added time dilation property to Scene
* Default Terrain algorithm now produces something slightly less mountainous. * Fixed lolcat
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index fe6eefb..6454bdc 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -1128,6 +1128,10 @@ namespace OpenSim.Region.Terrain
1128 heightmap.HillsSpheres(200, 20, 40, true, true, false); 1128 heightmap.HillsSpheres(200, 20, 40, true, true, false);
1129 heightmap.Normalise(); 1129 heightmap.Normalise();
1130 heightmap *= 60.0; // Raise to 60m 1130 heightmap *= 60.0; // Raise to 60m
1131 heightmap.Clip(0.0, 25.0);
1132 heightmap.Pertubation(2.5);
1133 heightmap.Smooth(35.0);
1134 heightmap.Normalise(0.0, 21.0);
1131 } 1135 }
1132 1136
1133 tainted++; 1137 tainted++;