aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain (unfollow)
Commit message (Collapse)AuthorFilesLines
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-21Update svn properties.Jeff Ames1-7/+7
2008-04-21* Terrain Module code has been reformatted to comply with guidelines.Adam Frisby35-591/+678
* Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
2008-04-17* Added "svn load" command to correspond "svn save". Will grab the latest ↵Adam Frisby1-1/+1
revision. * TODO: Specific revision support.
2008-04-17* Added ITerrainModule interface to Terrain Module, and registered ↵Adam Frisby2-1/+11
accordingly in Scene.
2008-04-17* Added a directory for the SVN module. More about to come.* SVNBackupModuleAdam Frisby1-1/+1
* See OpenSim.ini.example settings for how to use * Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim. * Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list. * It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files. * Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17Update svn properties. Add copyright info to some source files.Jeff Ames1-2/+28
2008-04-15* Quick patch before I start on a bigger projectAdam Frisby1-7/+12
* Renamed ITerrainTemp to IMapImageGenerator * Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
2008-04-13* Added some comments to terrain module.Adam Frisby2-3/+57
* Fixed a range issue in the GenericSystemDrawing saving mechanism.
2008-04-11* Updated MapImageModule to support primitives showing on the world map ↵Adam Frisby1-1/+43
image. As MapImageModule is of unknown use, this may or may not be reflected on the world map. See the ShadeBuildings function in MapImageModule for reference.
2008-04-06Update svn properties.Jeff Ames8-593/+593
2008-04-06* Whoops, forgot to include all the new terrain file loaders and things.Adam Frisby8-0/+593
* Added MapImageModule for handling world-map * Added new DefaultTerrainGenerator.cs * Added BMP loader * Added GIF loader * Added PNG loader * Added TIFF loader
2008-04-06* Various terrain engine fixesAdam Frisby4-88/+193
* Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
2008-04-02Set default terrain to complete flat terrain (at 26 height). Even flat ↵MW1-6/+7
terrain as default seems better than the messed up terrain I was getting.
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 Frisby6-38/+211
* 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/ ↵MW2-1/+57
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-25Comment out unused private methods.Jeff Ames1-32/+33
2008-03-25Fix a few compiler warnings.Jeff Ames1-2/+0
2008-03-18Formatting cleanup.Jeff Ames24-633/+632
2008-03-18Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames2-3/+55
2008-03-14* Fix for Justincc's bug report #768 - Terrain looks rather phallic.Adam Frisby1-3/+6
2008-03-14Update svn properties.Jeff Ames5-265/+265
2008-03-14* Fixed 'flatten area' brush, so it now has a 'force' instead of instantly ↵Adam Frisby10-213/+336
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* Switched Noise 'Flood Area' brush to use Perlin rather than random noise.Adam Frisby2-2/+64
* Fixed a bug with the Smooth Area brush.
2008-03-12* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.Adam Frisby2-1/+4
2008-03-12Update svn properties.Jeff Ames1-51/+51
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-12* Refactored some terrain brushes to move out some common functions into ↵Adam Frisby10-122/+79
TerrainUtil class. More needs doing. * Adjusted strength of brushes to Math.Pow(2,size), this should in theory work closer to how it was before.
2008-03-09* Fix for hydraulic erosion brush. Still not working as planned, but getting ↵Adam Frisby1-9/+19
closer. Bugs may be due to the water distribution pattern.
2008-03-09Update svn properties.Jeff Ames1-339/+339
2008-03-09* Fix to the OlsenSphere brush to make it more powerful.Adam Frisby3-1/+341
* 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-09Update svn properties.Jeff Ames1-223/+223
2008-03-09* New terrainmodule paint brush "Olsen Erosion"Adam Frisby2-0/+224
* 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-09Update svn properties.Jeff Ames3-378/+378
2008-03-08* Small optimisation on Weathering paint brush.Adam Frisby2-4/+14
* 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* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.Adam Frisby1-2/+1
2008-03-08* Added Thermal Weathering paint brush to Terrain Module.Adam Frisby1-0/+243
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 Frisby3-0/+155
* 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 Frisby6-14/+46
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-04Added copyright heaaders. Minor cleanup.Jeff Ames14-18/+18
2008-03-03* Removed a bunch of compiler warnings.Adam Frisby1-1/+0
2008-03-03Updated svn properties.Jeff Ames10-890/+890