aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-14 01:39:26 +0100
committerJustin Clark-Casey (justincc)2014-08-14 01:39:26 +0100
commit4c781db572a7b1b2e77b328bb0651820d8b3c7f3 (patch)
treee9603bf1ffa27b7667b67521804ddc16264964d7 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMake some existing reprioritization values changeable outside the scene for t... (diff)
downloadopensim-SC-4c781db572a7b1b2e77b328bb0651820d8b3c7f3.zip
opensim-SC-4c781db572a7b1b2e77b328bb0651820d8b3c7f3.tar.gz
opensim-SC-4c781db572a7b1b2e77b328bb0651820d8b3c7f3.tar.bz2
opensim-SC-4c781db572a7b1b2e77b328bb0651820d8b3c7f3.tar.xz
Make RootTerseUpdatePeriod and ChildTerseUpdatePeriod configurable in [InterestManagement] in OpenSim.ini for experimental purposes.
If n > 1 for RootTerseUpdatePeriod only every n terse update is actually sent to observers on same region, unless velocity is effectively zero (to stop av drift). If n > 1 for ChildTerseUpdatePeriod only every n terse update is sent to observers in other regions, unless velocity is effectively zero. Defaults are same as before (all packets are sent). Tradeoff is reduction of UDP traffic vs fidelity of observed av mvmt. Increasing n > 1 leads to jerky observed mvmt immediateley for root, though not on child, where experimentally have gone to n = 4 before jerkiness is noticeable.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 2762312..a43de29 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1034,6 +1034,9 @@ namespace OpenSim.Region.Framework.Scenes
1034 ChildReprioritizationDistance 1034 ChildReprioritizationDistance
1035 = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); 1035 = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance);
1036 1036
1037 RootTerseUpdatePeriod = interestConfig.GetInt("RootTerseUpdatePeriod", RootTerseUpdatePeriod);
1038 ChildTerseUpdatePeriod = interestConfig.GetInt("ChildTerseUpdatePeriod", ChildTerseUpdatePeriod);
1039
1037 RootPositionUpdateTolerance 1040 RootPositionUpdateTolerance
1038 = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance); 1041 = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance);
1039 RootRotationUpdateTolerance 1042 RootRotationUpdateTolerance