aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby2008-04-301-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.
* * Added String(FileExtension) property to ITerrainLoader to allow us to ↵Adam Frisby2008-04-271-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.
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-221-6/+4
| | | | | | | | | | | some exceptional code ;-) i've added TerrainException and have modified TerrainModule to now throw TerrainExceptions. cheers, dr scofield
* * Committing new terrain plugin effects system. Loads DLLs in /bin/Terrain/ ↵Adam Frisby2008-04-221-10/+73
| | | | | | | as terrain module extensions. Committing sample plugin library. * prebuild.xml changes.
* From: Dr Scofield <hud@zurich.ibm.com>Sean Dague2008-04-211-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
* * Terrain Module code has been reformatted to comply with guidelines.Adam Frisby2008-04-211-275/+367
| | | | | * Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
* * Added ITerrainModule interface to Terrain Module, and registered ↵Adam Frisby2008-04-171-1/+2
| | | | accordingly in Scene.
* * Various terrain engine fixesAdam Frisby2008-04-061-71/+144
| | | | | | * Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
* * Fix for terrain issue whereby loading or manipulating a terrain item from ↵Adam Frisby2008-03-311-0/+2
| | | | the console would not cause the terrain to be saved to the Scene. (Mantis #845)
* * Quick fix. Re-enabled some code which registers the Terrain Module's ↵Adam Frisby2008-03-301-1/+1
| | | | Commander with the scene (whoops).
* **Big ass update warning**Adam Frisby2008-03-301-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.
* Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW2008-03-291-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.
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* * Fixed 'flatten area' brush, so it now has a 'force' instead of instantly ↵Adam Frisby2008-03-141-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.
* * Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.Adam Frisby2008-03-121-1/+1
|
* * Updated Terrain ModuleAdam Frisby2008-03-121-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.
* * Fix to the OlsenSphere brush to make it more powerful.Adam Frisby2008-03-091-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.
* * New terrainmodule paint brush "Olsen Erosion"Adam Frisby2008-03-091-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.
* * Small optimisation on Weathering paint brush.Adam Frisby2008-03-081-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.
* * Slight tweak for the above.Adam Frisby2008-03-081-0/+1
|
* * By popular demand, implemented "script terrain fill <val>"Adam Frisby2008-03-081-0/+6
|
* * Implemented 'Revert' channel in Terrain Module.Adam Frisby2008-03-081-0/+20
| | | | | | * Added Revert Area, flood brush. * Added Revert Sphere, paint brush.
* * Made a change to the loading mechanism to fix it's operation.Adam Frisby2008-03-081-1/+6
|
* * Default terrain is now a little more interesting than a flat 0m plane.Adam Frisby2008-03-081-0/+11
|
* * Fix for exception in landmanager crash.Adam Frisby2008-03-061-2/+0
|
* * Disabled ancient TerrainEngine.Adam Frisby2008-03-061-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.
* * New Terrain Module (disabled, search for 'usingTerrainModule = false' to ↵Adam Frisby2008-03-051-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.
* * Removed and sorted using clauses in a number of files.Adam Frisby2008-03-031-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
* * Committing file loaders - forgot yesterday.Adam Frisby2008-02-271-2/+3
|
* make trunk compile again. I think Adam forgot to check in some filesSean Dague2008-02-261-2/+2
|
* * Implemented - Terragen File Format Loader for new Terrain Module.Adam Frisby2008-02-261-0/+35
|
* * Hooked up replacment TerrainModule, raising land will now be weird as both ↵Adam Frisby2008-02-261-5/+87
| | | | modules are technically active. Beta software, yada yada yada. Will disable one of them by the end of the day.
* * Reimplementing Terrain as Region ModulesAdam Frisby2008-02-261-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.
* Minor cleanup.Jeff Ames2008-02-201-7/+1
|
* Update svn properties.Jeff Ames2008-02-151-132/+132
|
* * Removed some catch-all-ignores from UDPServer in an attempt to look for #305.Adam Frisby2008-02-141-0/+132
* Minor work towards abstracting terrain.