LightShare

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Added a few more links to help people figure out how LightShare works; Meta7's page is outdated for 0.7)
Line 1: Line 1:
Information and links relating to Windlight and LightShare use in OpenSimulator.
+
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 LightShare module to use Windlight settings on specific regions and to make them available to capable viewers was initially created by Meta7...  
  
* https://www.meta7.com/wiki.php?page=LightShare
+
*https://www.meta7.com/wiki.php?page=LightShare
  
The features can be used through three LightShare (ls) functions:
+
The features can be used through three LightShare (ls) functions:  
  
* lsGetWindlightScene
+
*lsGetWindlightScene  
* lsSetWindlightScene
+
*lsSetWindlightScene  
* lsSetWindlightSceneTargeted
+
*lsSetWindlightSceneTargeted
  
Default settings are shown being set in this sample script:
+
Default settings are shown being set in this sample script:  
  
* https://www.meta7.com/wiki.php?page=Default%20LightShare%20Script
+
*https://www.meta7.com/wiki.php?page=Default%20LightShare%20Script (requires manual changing from '''cmSetWindlightScene''' to '''lsSetWindlightScene'''; see also [[DefaultLightShareScript|an alternative page on this wiki]] to get a correctly working script)
  
Note that although the core functionality is available within OpenSim 0.7 onwards. A database table "regionwindlight" is used to store the settings.
+
Note that although the core functionality is available within OpenSim 0.7 onwards. A database table "[[Regionwindlight|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), and indicating in the [XEngine] section that you wish to allow the use of LightShare functions with '''AllowLightShareFunctions = true'''. This affects all regions served by the specific OpenSim.exe for which this is done.
+
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), and indicating in the [XEngine] section that you wish to allow the use of LightShare functions with '''AllowLightShareFunctions = true'''. This affects all regions served by the specific OpenSim.exe for which this is done.  
  
 
   [LightShare]
 
   [LightShare]
  ; This enables the transmission of Windlight scenes to supporting clients, such as the Meta7 viewer.
+
 ; 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.
+
 ; It has no ill effect on viewers which do not support server-side windlight settings.
  ; Currently we only have support for MySQL databases.
+
 ; Currently we only have support for MySQL databases.
  enable_windlight = true
+
enable_windlight = true
  ...
+
...
  [XEngine]
+
[XEngine]
  ; Allow the user of LightShare functions
+
 ; Allow the user of LightShare functions
  AllowLightShareFunctions = true
+
AllowLightShareFunctions = true
  
== LighShare Enabled Viewers ==
+
== 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:  
+
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:  
  
* http://imprudenceviewer.org/wiki/LightShare
+
*http://imprudenceviewer.org/wiki/LightShare

Revision as of 07:44, 28 August 2010

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), and indicating in the [XEngine] section that you wish to allow the use of LightShare functions with AllowLightShareFunctions = true. This affects all regions served by the specific OpenSim.exe for which this is done.

 [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
...
[XEngine]
 ; Allow the user of LightShare functions
AllowLightShareFunctions = 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