aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Added String(FileExtension) property to ITerrainLoader to allow us to ↵Adam Frisby2008-04-278-6/+46
| | | | | | | 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.
* doh, forgot that hg diffs don't do the adds correctly to svnSean Dague2008-04-221-0/+46
|
* 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
* Update svn properties.Jeff Ames2008-04-211-7/+7
|
* * Terrain Module code has been reformatted to comply with guidelines.Adam Frisby2008-04-2135-591/+678
| | | | | * Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
* * Added "svn load" command to correspond "svn save". Will grab the latest ↵Adam Frisby2008-04-171-1/+1
| | | | | | | revision. * TODO: Specific revision support.
* * Added ITerrainModule interface to Terrain Module, and registered ↵Adam Frisby2008-04-172-1/+11
| | | | accordingly in Scene.
* * Added a directory for the SVN module. More about to come.* SVNBackupModuleAdam Frisby2008-04-171-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.
* Update svn properties. Add copyright info to some source files.Jeff Ames2008-04-171-2/+28
|
* * Quick patch before I start on a bigger projectAdam Frisby2008-04-151-7/+12
| | | | | | * Renamed ITerrainTemp to IMapImageGenerator * Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
* * Added some comments to terrain module.Adam Frisby2008-04-132-3/+57
| | | | | * Fixed a range issue in the GenericSystemDrawing saving mechanism.
* * Updated MapImageModule to support primitives showing on the world map ↵Adam Frisby2008-04-111-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.
* Update svn properties.Jeff Ames2008-04-068-593/+593
|
* * Whoops, forgot to include all the new terrain file loaders and things.Adam Frisby2008-04-068-0/+593
| | | | | | | | | | * Added MapImageModule for handling world-map * Added new DefaultTerrainGenerator.cs * Added BMP loader * Added GIF loader * Added PNG loader * Added TIFF loader
* * Various terrain engine fixesAdam Frisby2008-04-064-88/+193
| | | | | | * Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
* Set default terrain to complete flat terrain (at 26 height). Even flat ↵MW2008-04-021-6/+7
| | | | terrain as default seems better than the messed up terrain I was getting.
* * 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-306-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.
* Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW2008-03-292-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.
* Comment out unused private methods.Jeff Ames2008-03-251-32/+33
|
* Fix a few compiler warnings.Jeff Ames2008-03-251-2/+0
|
* Formatting cleanup.Jeff Ames2008-03-1824-633/+632
|
* Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames2008-03-182-3/+55
|
* * Fix for Justincc's bug report #768 - Terrain looks rather phallic.Adam Frisby2008-03-141-3/+6
|
* Update svn properties.Jeff Ames2008-03-145-265/+265
|
* * Fixed 'flatten area' brush, so it now has a 'force' instead of instantly ↵Adam Frisby2008-03-1410-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.
* * Switched Noise 'Flood Area' brush to use Perlin rather than random noise.Adam Frisby2008-03-122-2/+64
| | | | | * Fixed a bug with the Smooth Area brush.
* * Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.Adam Frisby2008-03-122-1/+4
|
* Update svn properties.Jeff Ames2008-03-121-51/+51
|
* * 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.
* * Refactored some terrain brushes to move out some common functions into ↵Adam Frisby2008-03-1210-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.
* * Fix for hydraulic erosion brush. Still not working as planned, but getting ↵Adam Frisby2008-03-091-9/+19
| | | | closer. Bugs may be due to the water distribution pattern.
* Update svn properties.Jeff Ames2008-03-091-339/+339
|
* * Fix to the OlsenSphere brush to make it more powerful.Adam Frisby2008-03-093-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.
* Update svn properties.Jeff Ames2008-03-091-223/+223
|
* * New terrainmodule paint brush "Olsen Erosion"Adam Frisby2008-03-092-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.
* Update svn properties.Jeff Ames2008-03-093-378/+378
|
* * Small optimisation on Weathering paint brush.Adam Frisby2008-03-082-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.
* * Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.Adam Frisby2008-03-081-2/+1
|
* * Added Thermal Weathering paint brush to Terrain Module.Adam Frisby2008-03-081-0/+243
|
* * 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-083-0/+155
| | | | | | * 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.