[Opensim-users] lightshare on future version and new requeriments for viewers

Leal Duarte ajlduarte at sapo.pt
Fri Jun 12 10:36:36 UTC 2020


Hi.

     - Lightshare lludp protocol will be removed on next opensim version.

     Lightshare scripts should still work, but will operate on the 
region environment ( creating simple day setting)

     old viewers without windlight api will no longer get region 
environment.

     region environment change notification was based on lightshare. 
That will no longer work. A new message will be sent via event 
capability. (below)


     -New required event message (events capability): WindLightRefresh 
processing

     this is actually not new. It was introduced long ago by Aurora team 
for their fork, so it is already supported by several viewers. 
(firestorm for example)

     it has a integer argument**"Interpolate", On reception viewers 
should fetch the environment from region (via caps) and if interpolate 
is 0 apply it immediately, otherwise interpolate to it with that 
interpolation time in seconds  ( or a default one if that is not possible)

     it llsl xml form is

         <key>message</key> 
<string>WindLightRefresh</string><key>body</key><map><key>Interpolate</key><integer>0</integer></map> 


we may extent it, adding for example region env version (REV) and 
current parcel env version (PEV) to be defined, and if useful for viewers.

     -New required EstateChangeInfo capability field: "override_environment"

         Viewers should send this boolean field with the requested value 
for "parcel owners may override environment" on region override_environment

( next version may still not have parcels environment, but this will be 
needed)


---

     This new code will change environment in ways it may not work on 
older viewers or  be  different. In same cases we may be able to 
mitigate that, not all. Older Windlight settings and UI may do nothing 
on the new code.

     This is new code in early work stage, so still easy to redefine 
some of this things, according to your feedback

      a very untested and unsafe region is running the new code ( git 
branch uglysky) : osgrid ubittestDt


     Regards,

     Ubit (Leal Duarte)







More information about the Opensim-users mailing list