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.ini0.8-extended
parent
ba5f6fdfad
commit
70ca01283e
|
@ -1741,7 +1741,7 @@
|
||||||
RootPositionUpdateTolerance = 0.05
|
RootPositionUpdateTolerance = 0.05
|
||||||
|
|
||||||
; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance
|
; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance
|
||||||
RootRotationUpdateTolerance = 0.01
|
RootRotationUpdateTolerance = 0.1
|
||||||
|
|
||||||
; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance
|
; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance
|
||||||
RootVelocityUpdateTolerance = 0.001
|
RootVelocityUpdateTolerance = 0.001
|
||||||
|
|
Loading…
Reference in New Issue