From ac4793dd0d7942846b76d307c3d048e9b316954f Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 10 Sep 2020 21:27:22 +1000 Subject: Various map generation tweaks. Fix up Warp3DCachedImageModule to work with my directory structure. Remove some excess code from it. Clean up maptile directory creation code. When the generate map command is given, generate the map. The month check seems a bit dodgy, but I'll let it ride for now. --- bin/OpenSimDefaults.ini | 26 +++++++++++++------------- bin/config-include/SimBalanced.ini | 2 +- bin/config-include/SimDefault.ini | 6 +++--- 3 files changed, 17 insertions(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 1852438..e49fae9 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -433,7 +433,7 @@ ; The module to use in order to generate map images. ; MapImageModule is the default. Warp3DImageModule is an alternative experimental module that can ; generate better images. - MapImageModule = "Warp3DImageModule" + MapImageModule = "Warp3DCachedImageModule" ; World map blacklist timeout in seconds ;BlacklistTimeout = 600 @@ -459,18 +459,18 @@ ; Attempt to render meshes and sculpties on the map RenderMeshes = false - - ; warp3D rendering height limits for prims (relative to rez position not bounding box) - ; prims above RenderMaxHeight are excluded - ; valid values: 100 to 4086 - ;RenderMaxHeight = 4086 - - ; prims below RenderMinHeight are excluded - ; valid values: -100 to RenderMaxHeight - 10 - ;RenderMinHeight = -100 - + + ; warp3D rendering height limits for prims (relative to rez position not bounding box) + ; prims above RenderMaxHeight are excluded + ; valid values: 100 to 4086 + RenderMaxHeight = 4086 + + ; prims below RenderMinHeight are excluded + ; valid values: -100 to RenderMaxHeight - 10 + RenderMinHeight = -100 + ; Show NPCs as green world map dots - ;ShowNPCs = true + ShowNPCs = false ; where to store cached map tiles. CacheDirectory = "${Paths|CachePath}/MapImageCache" @@ -479,7 +479,7 @@ enablePosition = true ; Refresh the cached map tile once a month. - ;RefreshEveryMonth = true + RefreshEveryMonth = false ;# {MapColorWater} {} {Water color for textured and shaded maps} {"#1D475F"} ; MapColorWater = "#3399FF" diff --git a/bin/config-include/SimBalanced.ini b/bin/config-include/SimBalanced.ini index fbf778f..f650ce5 100644 --- a/bin/config-include/SimBalanced.ini +++ b/bin/config-include/SimBalanced.ini @@ -168,7 +168,7 @@ ; The module to use in order to generate map images. ; MapImageModule is the default. Warp3DImageModule is an alternative experimental module that can ; generate better images. - MapImageModule = "Warp3DImageModule" + MapImageModule = "Warp3DCachedImageModule" ; World map blacklist timeout in seconds ;BlacklistTimeout = 600 diff --git a/bin/config-include/SimDefault.ini b/bin/config-include/SimDefault.ini index 3f2e713..5413d9d 100644 --- a/bin/config-include/SimDefault.ini +++ b/bin/config-include/SimDefault.ini @@ -165,7 +165,7 @@ ; The module to use in order to generate map images. ; MapImageModule is the default. Warp3DImageModule is an alternative experimental module that can ; generate better images. - MapImageModule = "MapImageModule" + MapImageModule = "Warp3DCachedImageModule" ; World map blacklist timeout in seconds ;BlacklistTimeout = 600 @@ -187,10 +187,10 @@ TexturePrims = true ; Only texture prims that have a diagonal size greater than this number - TexturePrimSize = 48 + TexturePrimSize = 1 ; Attempt to render meshes and sculpties on the map - RenderMeshes = false + RenderMeshes = true ;UseAntiAliasing = true -- cgit v1.1