diff options
author | Justin Clark-Casey (justincc) | 2014-08-14 01:39:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-14 01:39:26 +0100 |
commit | 4c781db572a7b1b2e77b328bb0651820d8b3c7f3 (patch) | |
tree | e9603bf1ffa27b7667b67521804ddc16264964d7 /bin/OpenSimDefaults.ini | |
parent | Make some existing reprioritization values changeable outside the scene for t... (diff) | |
download | opensim-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 'bin/OpenSimDefaults.ini')
-rw-r--r-- | bin/OpenSimDefaults.ini | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 069d238..401abf0 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1737,6 +1737,15 @@ | |||
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 | ; If n > 1, only every n UDP terse updates will be sent to observers of an avatar that are in the same region | ||
1742 | ; Updates will always be sent to the avatar that the update addresses and if av velocity is effectively zero (to prevent drift due to missing updates). | ||
1743 | ; n > 1 will reduce UDP traffic but will lead to laggier movement observed in other avatars. | ||
1744 | RootTerseUpdatePeriod = 0 | ||
1745 | |||
1746 | ; If n > 1, only every n UDP terse updates will be sent to observers of an avatar that are in another region | ||
1747 | ; n > 1 will reduce UDP traffic but may lead to laggier movement observed in other avatars, though values up to 4 may not generate a noticeable effect. | ||
1748 | ChildTerseUpdatePeriod = 0 | ||
1740 | 1749 | ||
1741 | ; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance | 1750 | ; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance |
1742 | RootPositionUpdateTolerance = 0.05 | 1751 | RootPositionUpdateTolerance = 0.05 |