diff options
author | Melanie | 2010-10-05 23:49:21 +0100 |
---|---|---|
committer | Melanie | 2010-10-05 23:49:21 +0100 |
commit | 5d613231920dd513dfa8c5328c7ce1bfd59a359b (patch) | |
tree | f4eeabcc176b2aedd2050562a75439fa8ce567a1 /OpenSim | |
parent | Revert an accidental default value change (diff) | |
download | opensim-SC-5d613231920dd513dfa8c5328c7ce1bfd59a359b.zip opensim-SC-5d613231920dd513dfa8c5328c7ce1bfd59a359b.tar.gz opensim-SC-5d613231920dd513dfa8c5328c7ce1bfd59a359b.tar.bz2 opensim-SC-5d613231920dd513dfa8c5328c7ce1bfd59a359b.tar.xz |
Add the view generating method to the image generator interface
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ITerrain.cs | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs index 9e6e366..8408bf9 100644 --- a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs +++ b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs | |||
@@ -545,5 +545,10 @@ namespace OpenSim.Region.CoreModules.World.LegacyMap | |||
545 | 545 | ||
546 | return returnpt; | 546 | return returnpt; |
547 | } | 547 | } |
548 | |||
549 | public Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height) | ||
550 | { | ||
551 | return null; | ||
552 | } | ||
548 | } | 553 | } |
549 | } | 554 | } |
diff --git a/OpenSim/Region/Framework/Interfaces/ITerrain.cs b/OpenSim/Region/Framework/Interfaces/ITerrain.cs index 8aacb35..38cf020 100644 --- a/OpenSim/Region/Framework/Interfaces/ITerrain.cs +++ b/OpenSim/Region/Framework/Interfaces/ITerrain.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Framework; | 28 | using OpenSim.Framework; |
29 | using OpenMetaverse; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 32 | { |
@@ -74,6 +75,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
74 | public interface IMapImageGenerator | 75 | public interface IMapImageGenerator |
75 | { | 76 | { |
76 | System.Drawing.Bitmap CreateMapTile(); | 77 | System.Drawing.Bitmap CreateMapTile(); |
78 | System.Drawing.Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height); | ||
77 | byte[] WriteJpeg2000Image(); | 79 | byte[] WriteJpeg2000Image(); |
78 | } | 80 | } |
79 | } | 81 | } |