remove the noise part on the PinHeadIsland. why to want something that

does not compress well on island?
avinationmerge
UbitUmarov 2015-08-21 00:47:44 +01:00
parent f6a59f74ab
commit 6555bbffaa
1 changed files with 2 additions and 1 deletions

View File

@ -402,7 +402,8 @@ namespace OpenSim.Region.Framework.Scenes
{ {
for (int y = 0; y < Height; y++) for (int y = 0; y < Height; y++)
{ {
h = (float)TerrainUtil.PerlinNoise2D(x, y, 2, 0.125) * 10; // h = (float)TerrainUtil.PerlinNoise2D(x, y, 2, 0.125) * 10;
h = 1.0f;
float spherFacA = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 50) * 0.01d); float spherFacA = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 50) * 0.01d);
float spherFacB = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 100) * 0.001d); float spherFacB = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 100) * 0.001d);
if (h < spherFacA) if (h < spherFacA)