Add RootPositionUpdateTolerance, RootRotationUpdateTolerance, and RootVelocityUpdateTolerance parameters to [InterestManagement] in OpenSimDefaults.ini
These govern when AgentUpdates are sent to observers on position, rotation and velocity changes to an avatar (including the avatar themselves). Higher values reduce AgentUpdate traffic but at a certain level will degrade smoothness of avatar and perceived avatar movement.0.8-extended
parent
59a79f52b3
commit
ba5f6fdfad
|
@ -1035,6 +1035,13 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_rootReprioritizationDistance = interestConfig.GetDouble("RootReprioritizationDistance", 10.0);
|
||||
ChildReprioritizationDistance
|
||||
= interestConfig.GetDouble("ChildReprioritizationDistance", ChildReprioritizationDistance);
|
||||
|
||||
RootPositionUpdateTolerance
|
||||
= interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance);
|
||||
RootRotationUpdateTolerance
|
||||
= interestConfig.GetFloat("RootRotationUpdateTolerance", RootRotationUpdateTolerance);
|
||||
RootVelocityUpdateTolerance
|
||||
= interestConfig.GetFloat("RootVelocityUpdateTolerance", RootVelocityUpdateTolerance);
|
||||
}
|
||||
|
||||
m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", m_priorityScheme);
|
||||
|
|
|
@ -1737,6 +1737,14 @@
|
|||
RootReprioritizationDistance = 10.0
|
||||
ChildReprioritizationDistance = 20.0
|
||||
|
||||
; Send an update to clients if the difference from the last sent avatar position is greater than this tolerance
|
||||
RootPositionUpdateTolerance = 0.05
|
||||
|
||||
; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance
|
||||
RootRotationUpdateTolerance = 0.01
|
||||
|
||||
; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance
|
||||
RootVelocityUpdateTolerance = 0.001
|
||||
|
||||
[Monitoring]
|
||||
; Enable region monitoring
|
||||
|
|
Loading…
Reference in New Issue