aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.Terrain.BasicTerrain/TerrainEngine.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
index e766f71..a0f37f9 100644
--- a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
@@ -120,6 +120,7 @@ namespace OpenSim.Terrain
120 resultText += "terrain seed <seed> - sets the random seed value to <seed>\n"; 120 resultText += "terrain seed <seed> - sets the random seed value to <seed>\n";
121 resultText += "terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64' or 'IMG'\n"; 121 resultText += "terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64' or 'IMG'\n";
122 resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'\n"; 122 resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'\n";
123 resultText += "terrain save grdmap <filename> <gradient map> - creates a PNG snapshot of the region using a named gradient map\n";
123 resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; 124 resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n";
124 resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; 125 resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n";
125 resultText += "terrain erode thermal <talus> <rounds> <carry>\n"; 126 resultText += "terrain erode thermal <talus> <rounds> <carry>\n";
@@ -190,6 +191,10 @@ namespace OpenSim.Terrain
190 writeToFileF64(args[2]); 191 writeToFileF64(args[2]);
191 break; 192 break;
192 193
194 case "grdmap":
195 exportImage(args[2], args[3]);
196 break;
197
193 default: 198 default:
194 resultText = "Unknown image or data format"; 199 resultText = "Unknown image or data format";
195 return false; 200 return false;