diff options
author | Justin Clark-Casey (justincc) | 2012-09-06 22:12:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-06 22:12:05 +0100 |
commit | 8f02fd926e14dfad7f5eb77a67a6701f449511e0 (patch) | |
tree | 08e15f6bb44ff84027c278c51bb55a22951d5ecd /bin/OpenSimDefaults.ini | |
parent | Added missing configs, and deleted the [Profile] part on the Hypergrind config. (diff) | |
download | opensim-SC_OLD-8f02fd926e14dfad7f5eb77a67a6701f449511e0.zip opensim-SC_OLD-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.gz opensim-SC_OLD-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.bz2 opensim-SC_OLD-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.xz |
If reusing dynamic textures, do not reuse small data length textures that fall below current viewer discard level 2 thresholds.
Viewer LL 3.3.4 and before sometimes fail to properly redisplay dynamic textures that have a small data length compared to pixel size when pulled from cache.
This appears to happen when the data length is smaller than the estimate discard level 2 size the viewer uses when making this GetTexture request.
This commit works around this by always regenerating dynamic textures that fall below this threshold rather than reusing them if ReuseDynamicTextures = true
This can be controlled by the [Textures] ReuseDynamicLowDataTextures config setting which defaults to false.
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSimDefaults.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 42b295f..dbd3e3a 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -703,6 +703,13 @@ | |||
703 | ; Default is false. | 703 | ; Default is false. |
704 | ReuseDynamicTextures = false | 704 | ReuseDynamicTextures = false |
705 | 705 | ||
706 | ; If true, then textures generated dynamically that have a low data size relative to their pixel size are not reused | ||
707 | ; This is to workaround an apparent LL 3.3.4 and earlier viewer bug where such textures are not redisplayed properly when pulled from the viewer cache. | ||
708 | ; Only set this to true if you are sure that all the viewers using your simulator will not suffer from this problem. | ||
709 | ; This setting only has an affect is ReuseDynamicTextures = true | ||
710 | ; Default is false | ||
711 | ReuseDynamicLowDataTextures = false | ||
712 | |||
706 | 713 | ||
707 | [ODEPhysicsSettings] | 714 | [ODEPhysicsSettings] |
708 | ; ## | 715 | ; ## |