Commit Graph

55 Commits

Author SHA1 Message Date
lbsa71
efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Adam Frisby
8b6dd623bd * Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27 05:20:03 +00:00
Teravus Ovares
94d8976140 * Hack to make sim saving terrain more friendly to larger parcel selection modifications 2007-12-17 04:28:36 +00:00
Teravus Ovares
e4276f566d * Beating on the head that is terrain editing.
* SelectAABB + Radio Button Action + 'brush size' + Apply works now.
* There's something wrong with the byte for brush size that causes it to be unpredictable sometimes causing massive spikes. This appears to have always been this way, however it's more noticeable now that you can apply the effect to a selection of terrain.
2007-12-15 23:44:57 +00:00
Jeff Ames
af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Brian McBee
6ed34cc27e fixed order of map block requests to grid server. flipped map texture, as it was upside down. 2007-11-25 03:14:43 +00:00
lbsa71
67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
Adam Frisby
6804f9affb * Added static mutex to terrain load-tile to prevent file IO locking issues. 2007-10-25 15:17:42 +00:00
Adam Frisby
569ba9eb9a Terrain:
* Attempted fix for lag/pause when doing lots of updates.
* Some naming fixes to libTerrain.
* Refactored terrain bitmap generation into a common call for both world map and export.

General:
* Switched some calls to Console.WriteLine to use MainLog.Warn/Verbose/Notice.
2007-09-25 11:48:43 +00:00
lbsa71
2219ccc5b0 * Fixed Culture-variant parsing of config options 2007-09-25 01:20:30 +00:00
Adam Frisby
4e01aa4879 * Added time dilation property to Scene
* Default Terrain algorithm now produces something slightly less mountainous.
* Fixed lolcat
2007-09-24 16:39:26 +00:00
Dalien Talbot
7a9f5ed6b3 Fix the terrain heightmap load from images (tested PNG and GIF). 2007-09-13 13:09:14 +00:00
Sean Dague
ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
MW
8e3b2392d1 Start of trying to make Region/Scene more modular.
Added preliminary IRegionModule interface.
Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way.
Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. 
Moved most of the code from  Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. 
Stopped Child agents showing up as part of the "show users" command.
2007-08-28 14:21:17 +00:00
Adam Frisby
4177f5c485 * Applied dalien's terrain help patch (thanks!) 2007-08-17 22:57:46 +00:00
Adam Frisby
d2e48c8014 * Added new terrain-sim <simname> <terrain commands...> function to run terrain commands on a specific sim.
* Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
2007-08-17 22:44:34 +00:00
Adam Frisby
4a9e40ea47 * Added support for the IMG-format loader to terrain's load-tile function. 2007-08-16 23:29:28 +00:00
MW
6bfe911af3 Rotated the terrain textures that are created for world map by 90 degree as somehow they had got out of sync with the terrain. 2007-08-08 14:50:44 +00:00
Brian McBee
b55e01b939 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last try at getting the X and Y all set straight.
2007-08-06 20:53:45 +00:00
Brian McBee
565dee5e0a OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last array with X and Y flipped. Terrain load-tile should be working now.
2007-08-06 19:13:10 +00:00
Brian McBee
86da47dc4e OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
This time I think I have BOTH terrain rotation AND terraforming working. Could those of you with large terrain maps please test this thoroughly?
2007-08-06 18:14:48 +00:00
Brian McBee
73dadb4821 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Backing out previous change to GetHeights1D. Terrain should now load with the correct rotation, but terraforming is now broken again.
2007-08-06 17:45:57 +00:00
Brian McBee
bb60d87538 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
2007-08-04 14:13:02 +00:00
MW
dde8aafb8a More work on the AllNewSceneObject* classes. 2007-08-03 11:44:30 +00:00
Adam Frisby
cd2a411afe * Terrain load variables now work. HiRAW exporter works wonderfully. :D 2007-08-02 20:51:06 +00:00
Adam Frisby
ed0704d527 * Fixed several issues with Terrain
* RAW/HiRAW export modes now work again
* Filename variables (such as %x%) now work correctly when loading or saving multiple tiles.
2007-08-02 20:25:28 +00:00
Adam Frisby
fcafbc9a4a * Added new "terrain add" command. 2007-08-02 20:07:35 +00:00
Adam Frisby
9e97aa20b4 * Fixed Issue#249 - Terrain reverting without baking crashes the simulator. 2007-08-01 23:12:59 +00:00
Adam Frisby
38cd3bf185 * Fixed terrain fill command
* Added "terrain smooth" command
* Added "terrain clip" command
2007-08-01 22:53:05 +00:00
Adam Frisby
04d40b71d4 * Fixed an assorted group of bugs with tiled terrain import. 2007-08-01 22:45:05 +00:00
Adam Frisby
a2d71904f1 * Added load-tile terrain command to correspond with previous commit. 2007-08-01 21:51:02 +00:00
Adam Frisby
61017d10d8 * F32 Terrain load function written to support loading tiles from a larger heightmap. 2007-08-01 21:46:48 +00:00
Adam Frisby
d2c7bd3fff * Terrain engine now knows the region coordinates - this can be later used to allow loading of single terrain files for multiple regions. 2007-08-01 21:27:58 +00:00
Adam Frisby
c33b29a105 * Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)
* Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
2007-07-29 06:23:07 +00:00
Adam Frisby
cd88a4914d * Assorted terrain fixes 2007-07-25 10:08:16 +00:00
Adam Frisby
d8997b59d3 * Terrain should now send just updated patches. 2007-07-24 05:22:33 +00:00
Adam Frisby
a60b2654ed * 1 line commit: Erosion functions should taint the terrain. 2007-07-23 15:47:14 +00:00
Adam Frisby
14879fead9 * Bonus commit, added a "terrain fill" command to fill a terrain with a specific height value. 2007-07-23 05:31:58 +00:00
Adam Frisby
b8da9c3a64 * Major style changes in libTerrain.Channel - now uses .NET-style naming syntax.
* Issue#218 - Updated mySQL region table.
2007-07-23 05:29:52 +00:00
Adam Frisby
98b4701647 * Aerobic erosion now uses Navier Stokes algorithms for wind calculations. 2007-07-22 02:48:53 +00:00
Adam Frisby
65f69b9a12 * Enabled hydraulic erosion command. 2007-07-21 23:48:48 +00:00
Adam Frisby
f84937367f * Deleted libTerrain-BSD.dll
* Added libTerrain to BasicTerrain directly as a subfolder
2007-07-21 22:25:42 +00:00
Adam Frisby
4eb8ca49a9 * Renamed terrain functions to match OpenSim naming styles.
* Added capability to support minimum/maximum terrain limits (from the last 'bake')
2007-07-21 22:20:22 +00:00
Adam Frisby
1f17275a20 * Fixed an issue whereby extremely tall terrains would be unable to output a gradient map.
* Renamed several terrain variable names for clarity.
2007-07-21 22:08:19 +00:00
Adam Frisby
32aacd4f36 * Issue#209 - Terrain Hills Patch (Thanks Babblefrog)
* Issue#208 - Region crossing should be using External host (Thanks Babblefrog)
* Issue#207 - Prebuild.xml contains path errors (Thanks Gareth)
2007-07-21 07:23:00 +00:00
Sean Dague
2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
Adam Frisby
2dea3dbd6b * Terrain now uses the new StorageManager. 2007-07-15 15:51:09 +00:00
lbsa71
a04f968f8c * libterrain now builds again 2007-07-14 21:26:20 +00:00
lbsa71
9b6b6d05d4 * Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
2007-07-03 14:37:29 +00:00
Adam Frisby
315a49e7fd You can now substitute %name% in the filename argument for terrain save & load commands to input the sims name. Useful for sugilite regions where you are running multiple sims in a single instance and need to get them to load or save in a pattern. (Needs cleaning & expansion) 2007-07-02 23:52:18 +00:00