diff options
author | Teravus Ovares | 2008-08-22 22:04:43 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-08-22 22:04:43 +0000 |
commit | 50bf3618a32bf72bcbd88e56610cf955737ff388 (patch) | |
tree | f12cc710f25878c47cc23de7c426fc9cebffea4d /OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | |
parent | * Allow an exception generated in ProcessOutPacket to travel up the stack (diff) | |
download | opensim-SC_OLD-50bf3618a32bf72bcbd88e56610cf955737ff388.zip opensim-SC_OLD-50bf3618a32bf72bcbd88e56610cf955737ff388.tar.gz opensim-SC_OLD-50bf3618a32bf72bcbd88e56610cf955737ff388.tar.bz2 opensim-SC_OLD-50bf3618a32bf72bcbd88e56610cf955737ff388.tar.xz |
* Homer's amazing terrain MapTileRenderer. Thanks Homer!
* By default, texture rendering is on. This may be affected by using secure assets since your region hasn't registered with the gridserver before it asks for texture assets. It might also be affected by a slow asset server, so consider this release experimental.
* Defined interface IMapTileTerrainRenderer.
* Extracted "old" shaded maptile terrain rendering into ShadedMapTileRenderer;
streamlined it a bit and added "highlight" rendering to its "shadow"
rendering.
* Added "new" terrain-texture based maptile terrain rendering
(TexturedMapTileRenderer); made TerrainUtil.InterpolatedNoise public
* Adapted MapImageModule to allow switching between those two by configuration
* Added configuration option to OpenSim.ini.example
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs index 4cb828e..def28eb 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | |||
@@ -95,7 +95,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
95 | return (x * (1.0 - z)) + (y * z); | 95 | return (x * (1.0 - z)) + (y * z); |
96 | } | 96 | } |
97 | 97 | ||
98 | private static double InterpolatedNoise(double x, double y) | 98 | public static double InterpolatedNoise(double x, double y) |
99 | { | 99 | { |
100 | int integer_X = (int) (x); | 100 | int integer_X = (int) (x); |
101 | double fractional_X = x - integer_X; | 101 | double fractional_X = x - integer_X; |
@@ -128,4 +128,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
128 | return total; | 128 | return total; |
129 | } | 129 | } |
130 | } | 130 | } |
131 | } \ No newline at end of file | 131 | } |