aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-25Comment out unused private methods.Jeff Ames1-26/+22
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-03-06* Disabled ancient TerrainEngine.Adam Frisby1-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.
2008-03-05* New Terrain Module (disabled, search for 'usingTerrainModule = false' to ↵Adam Frisby1-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.
2008-02-29From: Mike Pitman <pitman@us.ibm.com>Sean Dague1-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.
2008-02-17Thank you very much, ChrisDown for a patch toCharles Krinke1-1/+1
remove unnecessary terrain stores at region startup
2008-02-13* Patch from Dr Schofld's (IBM). In his own wordsJustin Clarke Casey1-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
2008-02-08change counter from 3 => 2 based on feedback from mirceakitsune on mantisSean Dague1-1/+1
http://opensimulator.org/mantis/bug_view_page.php?bug_id=490
2008-02-06* Allow terrain load-tile for RAW filesJustin Clarke Casey1-1/+57
* Patch from Sophie Lee [webmage] - IBM. Thanks very much!
2008-02-06* Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby1-3/+3
for later removal/replacement.
2008-02-05Cut down on the number of packets sent during terraforming. Terraforming ↵Brian McBee1-7/+15
should be much more responsive.
2008-01-29* No more massive spires and massive pits when editing land using Select + ↵Teravus Ovares1-1/+11
tool + amount + apply;
2008-01-22* Renamed a number of TerrainEngine functions to conform naming standards ↵Adam Frisby1-11/+11
better.
2008-01-16Added (experimental) terrain elevate command to allow whole terrain to be ↵Tedd Hansen1-0/+15
elevated with positive or negative values
2007-12-27* Optimized usingslbsa711-17/+18
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* Added osTerrainSetHeight(int x, int y, double val) to LSL commandsAdam Frisby1-0/+15
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-17* Hack to make sim saving terrain more friendly to larger parcel selection ↵Teravus Ovares1-0/+5
modifications
2007-12-15* Beating on the head that is terrain editing.Teravus Ovares1-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.
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-11-25fixed order of map block requests to grid server. flipped map texture, as it ↵Brian McBee1-2/+2
was upside down.
2007-10-30* Optimized usingslbsa711-78/+91
* Shortened type references * Removed redundant 'this' qualifier
2007-10-25* Added static mutex to terrain load-tile to prevent file IO locking issues.Adam Frisby1-20/+31
2007-09-25Terrain:Adam Frisby1-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.
2007-09-25* Fixed Culture-variant parsing of config optionslbsa711-2/+4
2007-09-24* Added time dilation property to SceneAdam Frisby1-0/+4
* Default Terrain algorithm now produces something slightly less mountainous. * Fixed lolcat
2007-09-13Fix the terrain heightmap load from images (tested PNG and GIF).Dalien Talbot1-1/+2
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-08-28Start of trying to make Region/Scene more modular. MW1-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.
2007-08-17* Applied dalien's terrain help patch (thanks!)Adam Frisby1-1/+9
2007-08-17* Added new terrain-sim <simname> <terrain commands...> function to run ↵Adam Frisby1-1/+4
terrain commands on a specific sim. * Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
2007-08-16* Added support for the IMG-format loader to terrain's load-tile function.Adam Frisby1-0/+41
2007-08-08Rotated the terrain textures that are created for world map by 90 degree as ↵MW1-1/+1
somehow they had got out of sync with the terrain.
2007-08-06OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee1-2/+2
One last try at getting the X and Y all set straight.
2007-08-06OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee1-1/+1
One last array with X and Y flipped. Terrain load-tile should be working now.
2007-08-06OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee1-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?
2007-08-06OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee1-1/+18
Backing out previous change to GetHeights1D. Terrain should now load with the correct rotation, but terraforming is now broken again.
2007-08-04OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.csBrian McBee1-1/+1
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
2007-08-03More work on the AllNewSceneObject* classes.MW1-1/+1
2007-08-02* Terrain load variables now work. HiRAW exporter works wonderfully. :DAdam Frisby1-5/+8
2007-08-02* Fixed several issues with TerrainAdam Frisby1-8/+13
* RAW/HiRAW export modes now work again * Filename variables (such as %x%) now work correctly when loading or saving multiple tiles.
2007-08-02* Added new "terrain add" command.Adam Frisby1-0/+5
2007-08-01* Fixed Issue#249 - Terrain reverting without baking crashes the simulator.Adam Frisby1-0/+1
2007-08-01* Fixed terrain fill commandAdam Frisby1-0/+11
* Added "terrain smooth" command * Added "terrain clip" command
2007-08-01* Fixed an assorted group of bugs with tiled terrain import.Adam Frisby1-6/+6
2007-08-01* Added load-tile terrain command to correspond with previous commit.Adam Frisby1-0/+13
2007-08-01* F32 Terrain load function written to support loading tiles from a larger ↵Adam Frisby1-0/+42
heightmap.
2007-08-01* Terrain engine now knows the region coordinates - this can be later used ↵Adam Frisby1-1/+11
to allow loading of single terrain files for multiple regions.
2007-07-29* Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)Adam Frisby1-1/+1
* Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
2007-07-25* Assorted terrain fixesAdam Frisby1-2/+8
2007-07-24* Terrain should now send just updated patches.Adam Frisby1-0/+16