aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-25Comment out unused private methods.Jeff Ames3-74/+72
2008-03-18Formatting cleanup.Jeff Ames28-758/+730
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 Dague2-9/+65
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-20Minor cleanup.Jeff Ames5-5/+5
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-09Applied patch from mirceakitsune to fix #502 (lower land does the same as ↵Jeff Ames1-1/+1
raise land)
2008-02-08* Made some terrain functions faster computationally.Adam Frisby2-16/+8
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-05Converted logging to use log4net.Jeff Ames1-1/+1
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
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 Hansen2-0/+33
elevated with positive or negative values
2008-01-15* Mother of all commits:Adam Frisby1-1/+1
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2007-12-27* Optimized usingslbsa7123-39/+40
* 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 Ames23-46/+46
notice of doom
2007-12-04* Added SSL Support to HttpListenerAdam Frisby1-9/+16
* Added SSL Option to User Server to allow logins to be done via SSL. * Added sane handling for when Remote Admin Plugin configuration is not found * Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-11-25fixed order of map block requests to grid server. flipped map texture, as it ↵Brian McBee1-2/+2
was upside down.
2007-11-23Fixed Terrain rescale commandBrian McBee1-1/+1
2007-11-18cleaned up some mono compiler warningsJeff Ames2-5/+0
2007-11-01* Diuerse beavtificatemslbsa712-2/+2
2007-10-30* Optimized usingslbsa7125-408/+379
* 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-10-20* Fixed an issue whereby avatar chat distances were being calculated against ↵Adam Frisby1-3/+21
the region corner due to a zero vector. * Bonus Commit: Fixed the Raster class in libTerrain.
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa715-59/+137
2007-09-25Terrain:Adam Frisby5-56/+60
* 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-17fixing me some line endingsSean Dague1-52/+52
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 Dague23-23/+23
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