diff options
author | Justin Clark-Casey (justincc) | 2014-08-08 23:39:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-08 23:39:40 +0100 |
commit | 91f3be71e3fb23d554a73a7670b9198269debe6a (patch) | |
tree | 1749e056a6efc7460f5ea9cd2f5a07da508e2953 | |
parent | Change default max threads if SmartThreadPool is used as the main thread pool... (diff) | |
download | opensim-SC_OLD-91f3be71e3fb23d554a73a7670b9198269debe6a.zip opensim-SC_OLD-91f3be71e3fb23d554a73a7670b9198269debe6a.tar.gz opensim-SC_OLD-91f3be71e3fb23d554a73a7670b9198269debe6a.tar.bz2 opensim-SC_OLD-91f3be71e3fb23d554a73a7670b9198269debe6a.tar.xz |
Reduce default rotation AgentUpdate output sensitivity to a setting that cuts down UDP traffic without obvious adverse effects on observed avatar rotations.
Experimentally, on the Linden Lab grid the avatar can rotate slightly before triggering AvatarUpdates, whereas this is practically impossible in OpenSimulator.
These updates allow other avatars to see rotations, though sensitivity is low since other avatars can only be seen in one of 8 body rotations.
This commit changes sensitivity from 0.01 to 0.1, which better matches LL and reduces UDP traffic which has a beneficial impact on network and CPU load.
This has no impact on rotations in the simulator itself so simulation fidelity is the same as before.
To change this setting back for test/other purposes, edit RootRotationUpdateTolerance in the [InterestManagement] section of OpenSim.ini
-rw-r--r-- | bin/OpenSimDefaults.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 1b697bb..069d238 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1742,7 +1742,7 @@ | |||
1742 | RootPositionUpdateTolerance = 0.05 | 1742 | RootPositionUpdateTolerance = 0.05 |
1743 | 1743 | ||
1744 | ; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance | 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 | 1745 | RootRotationUpdateTolerance = 0.1 |
1746 | 1746 | ||
1747 | ; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance | 1747 | ; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance |
1748 | RootVelocityUpdateTolerance = 0.001 | 1748 | RootVelocityUpdateTolerance = 0.001 |