diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 24 |
2 files changed, 23 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index da99d4f..8268235 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1035,6 +1035,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
1035 | m_rootReprioritizationDistance = interestConfig.GetDouble("RootReprioritizationDistance", 10.0); | 1035 | m_rootReprioritizationDistance = interestConfig.GetDouble("RootReprioritizationDistance", 10.0); |
1036 | ChildReprioritizationDistance | 1036 | ChildReprioritizationDistance |
1037 | = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); | 1037 | = interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance); |
1038 | |||
1039 | RootPositionUpdateTolerance | ||
1040 | = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance); | ||
1041 | RootRotationUpdateTolerance | ||
1042 | = interestConfig.GetFloat("RootRotationUpdateTolerance", RootRotationUpdateTolerance); | ||
1043 | RootVelocityUpdateTolerance | ||
1044 | = interestConfig.GetFloat("RootVelocityUpdateTolerance", RootVelocityUpdateTolerance); | ||
1038 | } | 1045 | } |
1039 | 1046 | ||
1040 | m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", m_priorityScheme); | 1047 | m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", m_priorityScheme); |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 3f0be2e..708a094 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1729,15 +1729,23 @@ | |||
1729 | 1729 | ||
1730 | 1730 | ||
1731 | [InterestManagement] | 1731 | [InterestManagement] |
1732 | ; This section controls how state updates are prioritized for each client | 1732 | ; This section controls how state updates are prioritized for each client |
1733 | ; Valid values are BestAvatarResponsiveness, Time, Distance, | 1733 | ; Valid values are BestAvatarResponsiveness, Time, Distance, |
1734 | ; SimpleAngularDistance, and FrontBack | 1734 | ; SimpleAngularDistance, and FrontBack |
1735 | UpdatePrioritizationScheme = BestAvatarResponsiveness | 1735 | UpdatePrioritizationScheme = BestAvatarResponsiveness |
1736 | ReprioritizationEnabled = true | 1736 | ReprioritizationEnabled = true |
1737 | ReprioritizationInterval = 2000.0 | 1737 | ReprioritizationInterval = 2000.0 |
1738 | RootReprioritizationDistance = 10.0 | 1738 | RootReprioritizationDistance = 10.0 |
1739 | ChildReprioritizationDistance = 20.0 | 1739 | ChildReprioritizationDistance = 20.0 |
1740 | |||
1741 | ; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance | ||
1742 | RootPositionUpdateTolerance = 0.05 | ||
1743 | |||
1744 | ; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance | ||
1745 | RootRotationUpdateTolerance = 0.01 | ||
1740 | 1746 | ||
1747 | ; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance | ||
1748 | RootVelocityUpdateTolerance = 0.001 | ||
1741 | 1749 | ||
1742 | [Monitoring] | 1750 | [Monitoring] |
1743 | ; Enable region monitoring | 1751 | ; Enable region monitoring |