27 using OpenSim.Framework;
28 using OpenSim.Region.Framework.Interfaces;
29 using OpenSim.Region.Framework.Scenes;
35 #region ITerrainEffect Members
40 for (x = 0; x < map.Width; x++)
42 for (y = 0; y < map.Height; y++)
44 map[x, y] = TerrainUtil.PerlinNoise2D(x, y, 3, 0.25) * 10;
45 double spherFac = TerrainUtil.SphericalFactor(x, y, map.Width / 2, map.Height / 2, 50) * 0.01;
46 if (map[x, y] < spherFac)