aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-30* Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby1-734/+0
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.
2008-04-27* Added String(FileExtension) property to ITerrainLoader to allow us to ↵Adam Frisby1-3/+16
determine which file extension this loader is capable of handling. * Added ITerrainLoader import capability to Terrain Plugins module - this allows you to write new terrain format plugins without modifying the terrain module directly.
2008-04-22From: Dr Scofield <hud@zurich.ibm.com>Sean Dague1-6/+4
some exceptional code ;-) i've added TerrainException and have modified TerrainModule to now throw TerrainExceptions. cheers, dr scofield
2008-04-22* Committing new terrain plugin effects system. Loads DLLs in /bin/Terrain/ ↵Adam Frisby1-10/+73
as terrain module extensions. Committing sample plugin library. * prebuild.xml changes.
2008-04-21From: Dr Scofield <hud@zurich.ibm.com>Sean Dague1-2/+7
the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
2008-04-21* Terrain Module code has been reformatted to comply with guidelines.Adam Frisby1-275/+367
* Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
2008-04-17* Added ITerrainModule interface to Terrain Module, and registered ↵Adam Frisby1-1/+2
accordingly in Scene.
2008-04-06* Various terrain engine fixesAdam Frisby1-71/+144
* Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
2008-03-31* Fix for terrain issue whereby loading or manipulating a terrain item from ↵Adam Frisby1-0/+2
the console would not cause the terrain to be saved to the Scene. (Mantis #845)
2008-03-30* Quick fix. Re-enabled some code which registers the Terrain Module's ↵Adam Frisby1-1/+1
Commander with the scene (whoops).
2008-03-30**Big ass update warning**Adam Frisby1-38/+143
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-29Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW1-1/+49
sort it out when he gets time. Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-14* Fixed 'flatten area' brush, so it now has a 'force' instead of instantly ↵Adam Frisby1-141/+8
flattening the selected area. * Noise, and Noise-Area brushes now use Perlin noise, more closely simulating the method LL uses officially. * TerrainModule has been cleaned up slightly. * TerrainUtil class has several new functions related to seeded noise generation. * Extracted ITerrainEffect, ITerrainFloodEffect, ITerrainLoader, ITerrainPaintableEffect, TerrainChannel to seperate files.
2008-03-12* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.Adam Frisby1-1/+1
2008-03-12* Updated Terrain ModuleAdam Frisby1-3/+3
* Terrain Area-of-Effect brushes now should work properly. * Updated the scale / effect of various brushes. Small & Medium brushes should now actually do something.
2008-03-09* Fix to the OlsenSphere brush to make it more powerful.Adam Frisby1-0/+1
* W.I.P: Hydraulic Erosion (Spherical) paintbrush - code is all there, but some work is required on the initial parameters to get it to function correctly. Replaces the smooth brush when `newbrushes` is switched on.
2008-03-09* New terrainmodule paint brush "Olsen Erosion"Adam Frisby1-0/+1
* Implements the Optimised Erosion routine defined by Jacob Olsen in the paper 'Procedural Terrain Generation' (http://www.oddlabs.com/download/terrain_generation.pdf) * Replaces the 'flatten' brush when 'newbrushes' is enabled.
2008-03-08* Small optimisation on Weathering paint brush.Adam Frisby1-0/+10
* Added "script terrain newbrushes <true|false>" to enable experimental terraforming brushes. Presently the 'revert' brush is replaced with the Weathering brush, when enabled.
2008-03-08* Slight tweak for the above.Adam Frisby1-0/+1
2008-03-08* By popular demand, implemented "script terrain fill <val>"Adam Frisby1-0/+6
2008-03-08* Implemented 'Revert' channel in Terrain Module.Adam Frisby1-0/+20
* Added Revert Area, flood brush. * Added Revert Sphere, paint brush.
2008-03-08* Made a change to the loading mechanism to fix it's operation.Adam Frisby1-1/+6
2008-03-08* Default terrain is now a little more interesting than a flat 0m plane.Adam Frisby1-0/+11
2008-03-06* Fix for exception in landmanager crash.Adam Frisby1-2/+0
2008-03-06* Disabled ancient TerrainEngine.Adam Frisby1-7/+87
* 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-4/+36
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-03-03* Removed and sorted using clauses in a number of files.Adam Frisby1-15/+64
* Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader
2008-02-27* Committing file loaders - forgot yesterday.Adam Frisby1-2/+3
2008-02-26make trunk compile again. I think Adam forgot to check in some filesSean Dague1-2/+2
2008-02-26* Implemented - Terragen File Format Loader for new Terrain Module.Adam Frisby1-0/+35
2008-02-26* Hooked up replacment TerrainModule, raising land will now be weird as both ↵Adam Frisby1-5/+87
modules are technically active. Beta software, yada yada yada. Will disable one of them by the end of the day.
2008-02-26* Reimplementing Terrain as Region ModulesAdam Frisby1-0/+10
* New method involves interfaces for ** Terrain Paint Brushes (ie raise brush, lower brush, etc) ** Terrain Flood Brushes (ie raise area, lower area, etc) ** Terrain Effects (ie erosion, etc) [= W.I.P, not committed] * Provided sample implementation for Raise Paint and Raise Area brushes.
2008-02-20Minor cleanup.Jeff Ames1-7/+1
2008-02-15Update svn properties.Jeff Ames1-132/+132
2008-02-14* Removed some catch-all-ignores from UDPServer in an attempt to look for #305.Adam Frisby1-1/+2
* Minor work towards abstracting terrain.
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-104/+131
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-05Converted logging to use log4net.Jeff Ames1-10/+8
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-01-05Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.Tedd Hansen1-1/+1
Some debug info for startup added to find bugs. ++
2007-12-31Set svn:eol-style and svn:ignore.Jeff Ames1-105/+105
2007-12-30Comments + fix = in theory stand alone script server + "RemoteSevrver" ↵Tedd Hansen1-2/+2
ScriptEngine (as opposed to "DotNetEngine") should work for a single region. It will however not work because it doesn't have two-way communication.
2007-12-30server->script event path almost ready for remote scriptengine (translation ↵Tedd Hansen1-0/+3
table between local script ID and remote script ID missing)
2007-12-30Added ScriptEngine.RemoteServer moduleTedd Hansen1-124/+102
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-1/+2
2007-12-27* Optimized usingslbsa711-1/+1
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-10-30* Optimized usingslbsa711-21/+12
* Shortened type references * Removed redundant 'this' qualifier
2007-10-19changes to pass nini config object to the modules that getSean Dague1-132/+133
loaded so that they may read out any bits they are interested in
2007-10-10* Gave ModuleLoader some good lovin'lbsa711-132/+132
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin * Made LogBase thread-safe (or at least not thread-ignorant) * Ignored some genned files
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-132/+132
will happen on the windows side now that eol-style is correct