LightShare

From OpenSimulator

Revision as of 04:09, 27 August 2010 by Aiaustin (Talk | contribs)

Jump to: navigation, search

Information and links relating to Windlight and LightShare use in OpenSimulator.

The LightShare module to use Windlight settings on specific regions and to make them available to capable viewers was initially created by Meta7...

The features can be used through three LightShare (ls) functions:

  • lsGetWindlightScene
  • lsSetWindlightScene
  • lsSetWindlightSceneTargeted

Default settings are shown being set in this sample script:

Note that although the core functionality is available within OpenSim 0.7 onwards. A database table "regionwindlight" is used to store the settings.

LightShare is enabled by setting the [LightShare] section of OpenSim.ini for the OpenSim.exe serving the regions you wish to enable using using enable_windlight = true (rather than the default of false).

 [XEngine]
 ; Allow the user of LightShare functions
 AllowLightShareFunctions = true
 ...
 [LightShare]
 ; This enables the transmission of Windlight scenes to supporting clients, such as the Meta7 viewer.
 ; It has no ill effect on viewers which do not support server-side windlight settings.
 ; Currently we only have support for MySQL databases.
 enable_windlight = true;

LighShare Enabled Viewers

A special viewer is needed to receive Windlight settings broadcast by a region through the LightShare mechanism. E.g, Imprudence. LightShare support is disabled by default in Imprudence. To enable it, open the "Preferences > Advanced" tab, and change the "Allow region Windlight settings (LightShare)" option. More details of the options are at:

Personal tools
General
About This Wiki