From c02fe98b7da0ef62fe67fb45652878181e4a297d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 6 Jul 2016 16:10:44 +0100 Subject: add test option ObjectsCullingByDistance. In future, if true, it may prevent sending objects outside view range to viewers. DO NOT SET TRUE unless testing it. Code still not completei!!! --- bin/OpenSim.ini.example | 3 +++ bin/OpenSimDefaults.ini | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 141c608..9d868a1 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -1122,6 +1122,9 @@ ;; SimpleAngularDistance, FrontBack ; UpdatePrioritizationScheme = BestAvatarResponsiveness + ; TEST OPTION KEEP AS FALSE + ; if true, don't send object updates if outside view range + ; ObjectsCullingByDistance = false [MediaOnAPrim] ;# {Enabled} {} {Enable Media-on-a-Prim (MOAP)} {true false} true diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 841a761..df92921 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -2016,6 +2016,10 @@ ReprioritizationInterval = 2000.0 RootReprioritizationDistance = 10.0 ChildReprioritizationDistance = 20.0 + + ; TEST OPTION KEEP AS FALSE + ; if true, don't send object updates if outside view range + ObjectsCullingByDistance = false ; If n > 1, only every n UDP terse updates will be sent to observers of an avatar that are in the same region ; 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). -- cgit v1.1