aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-1/+1
| | | | | | | * Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
* * New Terrain Module (disabled, search for 'usingTerrainModule = false' to ↵Adam Frisby2008-03-051-2/+7
| | | | | | | | | | | reenable) * *Much* faster terraforming (woot!) * New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example) * New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times. * New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in. * Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
* From: Mike Pitman <pitman@us.ibm.com>Sean Dague2008-02-291-9/+3
| | | | | | | | | | | Below is a patch for the smooth tool. I factored out the essential computations and placed it in a channel method to work similar to raise and lower. It now performs about the same rate as raise and lower.
* Thank you very much, ChrisDown for a patch toCharles Krinke2008-02-171-1/+1
| | | | | remove unnecessary terrain stores at region startup
* * Patch from Dr Schofld's (IBM). In his own wordsJustin Clarke Casey2008-02-131-3/+3
| | | | | | | | | | | | | all TerrainEngine.LoadFromFileX(string filename) methods don't set the dirty bits in heightmap.diff[,] in contrast to the TerrainEngine.LoadFromFileX(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY) cousins. this has the unpleasant drawback that the Scene.SendTerrainUpdate(bool) will not send layer data to the client. the attached patch fixes all LoadFromFileX(.) methods. Thanks! * Also small build fix for AvatarFactoryModule
* change counter from 3 => 2 based on feedback from mirceakitsune on mantisSean Dague2008-02-081-1/+1
| | | | | | http://opensimulator.org/mantis/bug_view_page.php?bug_id=490
* * Allow terrain load-tile for RAW filesJustin Clarke Casey2008-02-061-1/+57
| | | | | | * Patch from Sophie Lee [webmage] - IBM. Thanks very much!
* * Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby2008-02-061-3/+3
| | | | for later removal/replacement.
* Cut down on the number of packets sent during terraforming. Terraforming ↵Brian McBee2008-02-051-7/+15
| | | | should be much more responsive.
* * No more massive spires and massive pits when editing land using Select + ↵Teravus Ovares2008-01-291-1/+11
| | | | tool + amount + apply;
* * Renamed a number of TerrainEngine functions to conform naming standards ↵Adam Frisby2008-01-221-11/+11
| | | | better.
* Added (experimental) terrain elevate command to allow whole terrain to be ↵Tedd Hansen2008-01-161-0/+15
| | | | elevated with positive or negative values
* * Optimized usingslbsa712007-12-271-17/+18
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby2007-12-271-0/+15
| | | | | * Added osTerrainGetHeight(int x, int y) to LSL commands
* * Hack to make sim saving terrain more friendly to larger parcel selection ↵Teravus Ovares2007-12-171-0/+5
| | | | modifications
* * Beating on the head that is terrain editing.Teravus Ovares2007-12-151-9/+79
| | | | | | * 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.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-2/+2
| | | | notice of doom
* fixed order of map block requests to grid server. flipped map texture, as it ↵Brian McBee2007-11-251-2/+2
| | | | was upside down.
* * Optimized usingslbsa712007-10-301-78/+91
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* * Added static mutex to terrain load-tile to prevent file IO locking issues.Adam Frisby2007-10-251-20/+31
|
* Terrain:Adam Frisby2007-09-251-45/+47
| | | | | | | | | | | * 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.
* * Fixed Culture-variant parsing of config optionslbsa712007-09-251-2/+4
|
* * Added time dilation property to SceneAdam Frisby2007-09-241-0/+4
| | | | | | * Default Terrain algorithm now produces something slightly less mountainous. * Fixed lolcat
* Fix the terrain heightmap load from images (tested PNG and GIF).Dalien Talbot2007-09-131-1/+2
|
* mass update of urls in source code to new websiteSean Dague2007-09-101-1/+1
|
* Start of trying to make Region/Scene more modular. MW2007-08-281-0/+71
| | | | | | | | | 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.
* * Applied dalien's terrain help patch (thanks!)Adam Frisby2007-08-171-1/+9
|
* * Added new terrain-sim <simname> <terrain commands...> function to run ↵Adam Frisby2007-08-171-1/+4
| | | | | | | terrain commands on a specific sim. * Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
* * Added support for the IMG-format loader to terrain's load-tile function.Adam Frisby2007-08-161-0/+41
|
* Rotated the terrain textures that are created for world map by 90 degree as ↵MW2007-08-081-1/+1
| | | | somehow they had got out of sync with the terrain.
* OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee2007-08-061-2/+2
| | | | | | One last try at getting the X and Y all set straight.
* OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee2007-08-061-1/+1
| | | | | | One last array with X and Y flipped. Terrain load-tile should be working now.
* OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee2007-08-061-43/+26
| | | | | This time I think I have BOTH terrain rotation AND terraforming working. Could those of you with large terrain maps please test this thoroughly?
* OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee2007-08-061-1/+18
| | | | | | Backing out previous change to GetHeights1D. Terrain should now load with the correct rotation, but terraforming is now broken again.
* OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee2007-08-041-1/+1
| | | | | Fix for terraforming: now works across the region, not just when x=y! Wahoo!
* More work on the AllNewSceneObject* classes.MW2007-08-031-1/+1
|
* * Terrain load variables now work. HiRAW exporter works wonderfully. :DAdam Frisby2007-08-021-5/+8
|
* * Fixed several issues with TerrainAdam Frisby2007-08-021-8/+13
| | | | | | * RAW/HiRAW export modes now work again * Filename variables (such as %x%) now work correctly when loading or saving multiple tiles.
* * Added new "terrain add" command.Adam Frisby2007-08-021-0/+5
|
* * Fixed Issue#249 - Terrain reverting without baking crashes the simulator.Adam Frisby2007-08-011-0/+1
|
* * Fixed terrain fill commandAdam Frisby2007-08-011-0/+11
| | | | | | * Added "terrain smooth" command * Added "terrain clip" command
* * Fixed an assorted group of bugs with tiled terrain import.Adam Frisby2007-08-011-6/+6
|
* * Added load-tile terrain command to correspond with previous commit.Adam Frisby2007-08-011-0/+13
|
* * F32 Terrain load function written to support loading tiles from a larger ↵Adam Frisby2007-08-011-0/+42
| | | | heightmap.
* * Terrain engine now knows the region coordinates - this can be later used ↵Adam Frisby2007-08-011-1/+11
| | | | to allow loading of single terrain files for multiple regions.
* * Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)Adam Frisby2007-07-291-1/+1
| | | | | * Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
* * Assorted terrain fixesAdam Frisby2007-07-251-2/+8
|
* * Terrain should now send just updated patches.Adam Frisby2007-07-241-0/+16
|
* * 1 line commit: Erosion functions should taint the terrain.Adam Frisby2007-07-231-0/+1
|
* * Bonus commit, added a "terrain fill" command to fill a terrain with a ↵Adam Frisby2007-07-231-0/+5
| | | | specific height value.