Windlight and LightShare in Opensim 0.7

classic Classic list List threaded Threaded
38 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Windlight and LightShare in Opensim 0.7

aiaustin
I have been reading about Windlight settings and how they can be
broadcast from a region to a suitable viewer such as Imprudence.

Is this enabled in the current release versions 0.7.0.1 or just in
the development/master builds?

I ask as I tried enabling lightshare on an Opensim.exe as it is
included in Opensim.ini.example... and the tried to compile a test
script that is provided by the Meta7 folks.  But I get a compile
errors saying that the 3 functions which can get and set the region
settings - "The name 'cmSetWindlightScene' does not exist in the
current context"

cmGetWindlightScene
cmSetWindlightScene
cmSetWindlightScenetargeted

Or possibly these functions were renamed when incorporated into
opensim as a module?

I found Wiki pages here and there, but not a proper intro on the
OpenSim wiki. E.g.
      http://imprudenceviewer.org/wiki/LightShare

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
Hi Ai,

The functions were renamed and are prefixed 'ls' instead of 'cm'. Also the module is in core, but the databases aren't; you'll need to run a sql script to create the tablespaces for you. Here's that script:



-- MySQL dump 10.13  Distrib 5.1.42, for Win32 (ia32)
--
-- Host: localhost    Database: osg2
-- ------------------------------------------------------
-- Server version       5.1.42-community

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `regionwindlight`
--

DROP TABLE IF EXISTS `regionwindlight`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `regionwindlight` (
  `region_id` varchar(36) NOT NULL DEFAULT '000000-0000-0000-000000000000',
  `water_color_r` float(9,6) unsigned NOT NULL DEFAULT '4.000000',
  `water_color_g` float(9,6) unsigned NOT NULL DEFAULT '38.000000',
  `water_color_b` float(9,6) unsigned NOT NULL DEFAULT '64.000000',
  `water_fog_density_exponent` float(3,1) unsigned NOT NULL DEFAULT '4.0',
  `underwater_fog_modifier` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `reflection_wavelet_scale_1` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `reflection_wavelet_scale_2` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `reflection_wavelet_scale_3` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `fresnel_scale` float(3,2) unsigned NOT NULL DEFAULT '0.40',
  `fresnel_offset` float(3,2) unsigned NOT NULL DEFAULT '0.50',
  `refract_scale_above` float(3,2) unsigned NOT NULL DEFAULT '0.03',
  `refract_scale_below` float(3,2) unsigned NOT NULL DEFAULT '0.20',
  `blur_multiplier` float(4,3) unsigned NOT NULL DEFAULT '0.040',
  `big_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.05',
  `big_wave_direction_y` float(3,2) NOT NULL DEFAULT '-0.42',
  `little_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.11',
  `little_wave_direction_y` float(3,2) NOT NULL DEFAULT '-1.16',
  `normal_map_texture` varchar(36) NOT NULL DEFAULT '822ded49-9a6c-f61c-cb89-6df54f42cdf4',
  `horizon_r` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `horizon_g` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `horizon_b` float(3,2) unsigned NOT NULL DEFAULT '0.32',
  `horizon_i` float(3,2) unsigned NOT NULL DEFAULT '0.32',
  `haze_horizon` float(3,2) unsigned NOT NULL DEFAULT '0.19',
  `blue_density_r` float(3,2) unsigned NOT NULL DEFAULT '0.12',
  `blue_density_g` float(3,2) unsigned NOT NULL DEFAULT '0.22',
  `blue_density_b` float(3,2) unsigned NOT NULL DEFAULT '0.38',
  `blue_density_i` float(3,2) unsigned NOT NULL DEFAULT '0.38',
  `haze_density` float(3,2) unsigned NOT NULL DEFAULT '0.70',
  `density_multiplier` float(3,2) unsigned NOT NULL DEFAULT '0.18',
  `distance_multiplier` float(4,1) unsigned NOT NULL DEFAULT '0.8',
  `max_altitude` int(4) unsigned NOT NULL DEFAULT '1605',
  `sun_moon_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.24',
  `sun_moon_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.26',
  `sun_moon_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.30',
  `sun_moon_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.30',
  `sun_moon_position` float(4,3) unsigned NOT NULL DEFAULT '0.317',
  `ambient_r` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_g` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_b` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_i` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `east_angle` float(3,2) unsigned NOT NULL DEFAULT '0.00',
  `sun_glow_focus` float(3,2) unsigned NOT NULL DEFAULT '0.10',
  `sun_glow_size` float(3,2) unsigned NOT NULL DEFAULT '1.75',
  `scene_gamma` float(4,2) unsigned NOT NULL DEFAULT '1.00',
  `star_brightness` float(3,2) unsigned NOT NULL DEFAULT '0.00',
  `cloud_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
  `cloud_density` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_coverage` float(3,2) unsigned NOT NULL DEFAULT '0.27',
  `cloud_scale` float(3,2) unsigned NOT NULL DEFAULT '0.42',
  `cloud_detail_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_detail_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
  `cloud_detail_density` float(3,2) unsigned NOT NULL DEFAULT '0.12',
  `cloud_scroll_x` float(4,2) NOT NULL DEFAULT '0.20',
  `cloud_scroll_x_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `cloud_scroll_y` float(4,2) NOT NULL DEFAULT '0.01',
  `cloud_scroll_y_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `draw_classic_clouds` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`region_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `regionwindlight`
--

LOCK TABLES `regionwindlight` WRITE;
/*!40000 ALTER TABLE `regionwindlight` DISABLE KEYS */;
/*!40000 ALTER TABLE `regionwindlight` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2010-06-17 21:18:04





Hope that helps :)
James/Hiro Protagonist
SimHost.com


On Thu, Aug 26, 2010 at 11:35 AM, Ai Austin <[hidden email]> wrote:
I have been reading about Windlight settings and how they can be broadcast from a region to a suitable viewer such as Imprudence.

Is this enabled in the current release versions 0.7.0.1 or just in the development/master builds?

I ask as I tried enabling lightshare on an Opensim.exe as it is included in Opensim.ini.example... and the tried to compile a test script that is provided by the Meta7 folks.  But I get a compile errors saying that the 3 functions which can get and set the region settings - "The name 'cmSetWindlightScene' does not exist in the current context"

cmGetWindlightScene
cmSetWindlightScene
cmSetWindlightScenetargeted

Or possibly these functions were renamed when incorporated into opensim as a module?

I found Wiki pages here and there, but not a proper intro on the OpenSim wiki. E.g.
    http://imprudenceviewer.org/wiki/LightShare

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

Marck-2
That regionwindlight table was automatically created when I installed OpenSim 0.7-release, if I remember correctly. At least, I never created it manually, and yet I see it in the database.

James Stallings II wrote:

> Hi Ai,
>
> The functions were renamed and are prefixed 'ls' instead of 'cm'. Also
> the module is in core, but the databases aren't; you'll need to run a
> sql script to create the tablespaces for you. Here's that script:
>
>
>
> -- MySQL dump 10.13  Distrib 5.1.42, for Win32 (ia32)
> --
> -- Host: localhost    Database: osg2
> -- ------------------------------------------------------
> -- Server version       5.1.42-community
>
> /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
> /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
> /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
> /*!40101 SET NAMES utf8 */;
> /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
> /*!40103 SET TIME_ZONE='+00:00' */;
> /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
> /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
> FOREIGN_KEY_CHECKS=0 */;
> /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
> /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
>
> --
> -- Table structure for table `regionwindlight`
> --
>
> DROP TABLE IF EXISTS `regionwindlight`;
> /*!40101 SET @saved_cs_client     = @@character_set_client */;
> /*!40101 SET character_set_client = utf8 */;
> CREATE TABLE `regionwindlight` (
>    `region_id` varchar(36) NOT NULL DEFAULT '000000-0000-0000-000000000000',
>    `water_color_r` float(9,6) unsigned NOT NULL DEFAULT '4.000000',
>    `water_color_g` float(9,6) unsigned NOT NULL DEFAULT '38.000000',
>    `water_color_b` float(9,6) unsigned NOT NULL DEFAULT '64.000000',
>    `water_fog_density_exponent` float(3,1) unsigned NOT NULL DEFAULT '4.0',
>    `underwater_fog_modifier` float(3,2) unsigned NOT NULL DEFAULT '0.25',
>    `reflection_wavelet_scale_1` float(3,1) unsigned NOT NULL DEFAULT '2.0',
>    `reflection_wavelet_scale_2` float(3,1) unsigned NOT NULL DEFAULT '2.0',
>    `reflection_wavelet_scale_3` float(3,1) unsigned NOT NULL DEFAULT '2.0',
>    `fresnel_scale` float(3,2) unsigned NOT NULL DEFAULT '0.40',
>    `fresnel_offset` float(3,2) unsigned NOT NULL DEFAULT '0.50',
>    `refract_scale_above` float(3,2) unsigned NOT NULL DEFAULT '0.03',
>    `refract_scale_below` float(3,2) unsigned NOT NULL DEFAULT '0.20',
>    `blur_multiplier` float(4,3) unsigned NOT NULL DEFAULT '0.040',
>    `big_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.05',
>    `big_wave_direction_y` float(3,2) NOT NULL DEFAULT '-0.42',
>    `little_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.11',
>    `little_wave_direction_y` float(3,2) NOT NULL DEFAULT '-1.16',
>    `normal_map_texture` varchar(36) NOT NULL DEFAULT
> '822ded49-9a6c-f61c-cb89-6df54f42cdf4',
>    `horizon_r` float(3,2) unsigned NOT NULL DEFAULT '0.25',
>    `horizon_g` float(3,2) unsigned NOT NULL DEFAULT '0.25',
>    `horizon_b` float(3,2) unsigned NOT NULL DEFAULT '0.32',
>    `horizon_i` float(3,2) unsigned NOT NULL DEFAULT '0.32',
>    `haze_horizon` float(3,2) unsigned NOT NULL DEFAULT '0.19',
>    `blue_density_r` float(3,2) unsigned NOT NULL DEFAULT '0.12',
>    `blue_density_g` float(3,2) unsigned NOT NULL DEFAULT '0.22',
>    `blue_density_b` float(3,2) unsigned NOT NULL DEFAULT '0.38',
>    `blue_density_i` float(3,2) unsigned NOT NULL DEFAULT '0.38',
>    `haze_density` float(3,2) unsigned NOT NULL DEFAULT '0.70',
>    `density_multiplier` float(3,2) unsigned NOT NULL DEFAULT '0.18',
>    `distance_multiplier` float(4,1) unsigned NOT NULL DEFAULT '0.8',
>    `max_altitude` int(4) unsigned NOT NULL DEFAULT '1605',
>    `sun_moon_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.24',
>    `sun_moon_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.26',
>    `sun_moon_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.30',
>    `sun_moon_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.30',
>    `sun_moon_position` float(4,3) unsigned NOT NULL DEFAULT '0.317',
>    `ambient_r` float(3,2) unsigned NOT NULL DEFAULT '0.35',
>    `ambient_g` float(3,2) unsigned NOT NULL DEFAULT '0.35',
>    `ambient_b` float(3,2) unsigned NOT NULL DEFAULT '0.35',
>    `ambient_i` float(3,2) unsigned NOT NULL DEFAULT '0.35',
>    `east_angle` float(3,2) unsigned NOT NULL DEFAULT '0.00',
>    `sun_glow_focus` float(3,2) unsigned NOT NULL DEFAULT '0.10',
>    `sun_glow_size` float(3,2) unsigned NOT NULL DEFAULT '1.75',
>    `scene_gamma` float(4,2) unsigned NOT NULL DEFAULT '1.00',
>    `star_brightness` float(3,2) unsigned NOT NULL DEFAULT '0.00',
>    `cloud_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.41',
>    `cloud_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.41',
>    `cloud_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.41',
>    `cloud_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.41',
>    `cloud_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
>    `cloud_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
>    `cloud_density` float(3,2) unsigned NOT NULL DEFAULT '1.00',
>    `cloud_coverage` float(3,2) unsigned NOT NULL DEFAULT '0.27',
>    `cloud_scale` float(3,2) unsigned NOT NULL DEFAULT '0.42',
>    `cloud_detail_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
>    `cloud_detail_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
>    `cloud_detail_density` float(3,2) unsigned NOT NULL DEFAULT '0.12',
>    `cloud_scroll_x` float(4,2) NOT NULL DEFAULT '0.20',
>    `cloud_scroll_x_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
>    `cloud_scroll_y` float(4,2) NOT NULL DEFAULT '0.01',
>    `cloud_scroll_y_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
>    `draw_classic_clouds` tinyint(1) unsigned NOT NULL DEFAULT '1',
>    PRIMARY KEY (`region_id`)
> ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
> /*!40101 SET character_set_client = @saved_cs_client */;
>
> --
> -- Dumping data for table `regionwindlight`
> --
>
> LOCK TABLES `regionwindlight` WRITE;
> /*!40000 ALTER TABLE `regionwindlight` DISABLE KEYS */;
> /*!40000 ALTER TABLE `regionwindlight` ENABLE KEYS */;
> UNLOCK TABLES;
> /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
>
> /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
> /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
> /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
> /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
> /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
> /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
> /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
>
> -- Dump completed on 2010-06-17 21:18:04
>
>
>
>
>
> Hope that helps :)
> James/Hiro Protagonist
> SimHost.com
>
>
> On Thu, Aug 26, 2010 at 11:35 AM, Ai Austin <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I have been reading about Windlight settings and how they can be
>     broadcast from a region to a suitable viewer such as Imprudence.
>
>     Is this enabled in the current release versions 0.7.0.1 or just in
>     the development/master builds?
>
>     I ask as I tried enabling lightshare on an Opensim.exe as it is
>     included in Opensim.ini.example... and the tried to compile a test
>     script that is provided by the Meta7 folks.  But I get a compile
>     errors saying that the 3 functions which can get and set the region
>     settings - "The name 'cmSetWindlightScene' does not exist in the
>     current context"
>
>     cmGetWindlightScene
>     cmSetWindlightScene
>     cmSetWindlightScenetargeted
>
>     Or possibly these functions were renamed when incorporated into
>     opensim as a module?
>
>     I found Wiki pages here and there, but not a proper intro on the
>     OpenSim wiki. E.g.
>     http://imprudenceviewer.org/wiki/LightShare
>
>     _______________________________________________
>     Opensim-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
>
> --
> ===================================
> http://osgrid.org
> http://twitter.com/jstallings2
> http://www.linkedin.com/pub/5/770/a49
>
>
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
Aha,

This must be a fairly recent development. My 0.7 test install is tracking HEAD on the master branch, and didn't have it in place as of around two weeks ago. It is good hearing that this has been done though, windlight was low-hanging fruit of a very good flavor and should not be left to rot on the vine XD

Cheers!
James

On Thu, Aug 26, 2010 at 2:09 PM, Marck <[hidden email]> wrote:
That regionwindlight table was automatically created when I installed OpenSim 0.7-release, if I remember correctly. At least, I never created it manually, and yet I see it in the database.

James Stallings II wrote:
Hi Ai,

The functions were renamed and are prefixed 'ls' instead of 'cm'. Also
the module is in core, but the databases aren't; you'll need to run a
sql script to create the tablespaces for you. Here's that script:



-- MySQL dump 10.13  Distrib 5.1.42, for Win32 (ia32)
--
-- Host: localhost    Database: osg2
-- ------------------------------------------------------
-- Server version       5.1.42-community

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `regionwindlight`
--

DROP TABLE IF EXISTS `regionwindlight`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `regionwindlight` (
  `region_id` varchar(36) NOT NULL DEFAULT '000000-0000-0000-000000000000',
  `water_color_r` float(9,6) unsigned NOT NULL DEFAULT '4.000000',
  `water_color_g` float(9,6) unsigned NOT NULL DEFAULT '38.000000',
  `water_color_b` float(9,6) unsigned NOT NULL DEFAULT '64.000000',
  `water_fog_density_exponent` float(3,1) unsigned NOT NULL DEFAULT '4.0',
  `underwater_fog_modifier` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `reflection_wavelet_scale_1` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `reflection_wavelet_scale_2` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `reflection_wavelet_scale_3` float(3,1) unsigned NOT NULL DEFAULT '2.0',
  `fresnel_scale` float(3,2) unsigned NOT NULL DEFAULT '0.40',
  `fresnel_offset` float(3,2) unsigned NOT NULL DEFAULT '0.50',
  `refract_scale_above` float(3,2) unsigned NOT NULL DEFAULT '0.03',
  `refract_scale_below` float(3,2) unsigned NOT NULL DEFAULT '0.20',
  `blur_multiplier` float(4,3) unsigned NOT NULL DEFAULT '0.040',
  `big_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.05',
  `big_wave_direction_y` float(3,2) NOT NULL DEFAULT '-0.42',
  `little_wave_direction_x` float(3,2) NOT NULL DEFAULT '1.11',
  `little_wave_direction_y` float(3,2) NOT NULL DEFAULT '-1.16',
  `normal_map_texture` varchar(36) NOT NULL DEFAULT
'822ded49-9a6c-f61c-cb89-6df54f42cdf4',
  `horizon_r` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `horizon_g` float(3,2) unsigned NOT NULL DEFAULT '0.25',
  `horizon_b` float(3,2) unsigned NOT NULL DEFAULT '0.32',
  `horizon_i` float(3,2) unsigned NOT NULL DEFAULT '0.32',
  `haze_horizon` float(3,2) unsigned NOT NULL DEFAULT '0.19',
  `blue_density_r` float(3,2) unsigned NOT NULL DEFAULT '0.12',
  `blue_density_g` float(3,2) unsigned NOT NULL DEFAULT '0.22',
  `blue_density_b` float(3,2) unsigned NOT NULL DEFAULT '0.38',
  `blue_density_i` float(3,2) unsigned NOT NULL DEFAULT '0.38',
  `haze_density` float(3,2) unsigned NOT NULL DEFAULT '0.70',
  `density_multiplier` float(3,2) unsigned NOT NULL DEFAULT '0.18',
  `distance_multiplier` float(4,1) unsigned NOT NULL DEFAULT '0.8',
  `max_altitude` int(4) unsigned NOT NULL DEFAULT '1605',
  `sun_moon_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.24',
  `sun_moon_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.26',
  `sun_moon_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.30',
  `sun_moon_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.30',
  `sun_moon_position` float(4,3) unsigned NOT NULL DEFAULT '0.317',
  `ambient_r` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_g` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_b` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `ambient_i` float(3,2) unsigned NOT NULL DEFAULT '0.35',
  `east_angle` float(3,2) unsigned NOT NULL DEFAULT '0.00',
  `sun_glow_focus` float(3,2) unsigned NOT NULL DEFAULT '0.10',
  `sun_glow_size` float(3,2) unsigned NOT NULL DEFAULT '1.75',
  `scene_gamma` float(4,2) unsigned NOT NULL DEFAULT '1.00',
  `star_brightness` float(3,2) unsigned NOT NULL DEFAULT '0.00',
  `cloud_color_r` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_g` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_b` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_color_i` float(3,2) unsigned NOT NULL DEFAULT '0.41',
  `cloud_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
  `cloud_density` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_coverage` float(3,2) unsigned NOT NULL DEFAULT '0.27',
  `cloud_scale` float(3,2) unsigned NOT NULL DEFAULT '0.42',
  `cloud_detail_x` float(3,2) unsigned NOT NULL DEFAULT '1.00',
  `cloud_detail_y` float(3,2) unsigned NOT NULL DEFAULT '0.53',
  `cloud_detail_density` float(3,2) unsigned NOT NULL DEFAULT '0.12',
  `cloud_scroll_x` float(4,2) NOT NULL DEFAULT '0.20',
  `cloud_scroll_x_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `cloud_scroll_y` float(4,2) NOT NULL DEFAULT '0.01',
  `cloud_scroll_y_lock` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `draw_classic_clouds` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`region_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `regionwindlight`
--

LOCK TABLES `regionwindlight` WRITE;
/*!40000 ALTER TABLE `regionwindlight` DISABLE KEYS */;
/*!40000 ALTER TABLE `regionwindlight` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2010-06-17 21:18:04





Hope that helps :)
James/Hiro Protagonist
SimHost.com


On Thu, Aug 26, 2010 at 11:35 AM, Ai Austin <[hidden email]
<mailto:[hidden email]>> wrote:

   I have been reading about Windlight settings and how they can be
   broadcast from a region to a suitable viewer such as Imprudence.

   Is this enabled in the current release versions 0.7.0.1 or just in
   the development/master builds?

   I ask as I tried enabling lightshare on an Opensim.exe as it is
   included in Opensim.ini.example... and the tried to compile a test
   script that is provided by the Meta7 folks.  But I get a compile
   errors saying that the 3 functions which can get and set the region
   settings - "The name 'cmSetWindlightScene' does not exist in the
   current context"

   cmGetWindlightScene
   cmSetWindlightScene
   cmSetWindlightScenetargeted

   Or possibly these functions were renamed when incorporated into
   opensim as a module?

   I found Wiki pages here and there, but not a proper intro on the
   OpenSim wiki. E.g.
   http://imprudenceviewer.org/wiki/LightShare

   _______________________________________________
   Opensim-users mailing list
   [hidden email] <mailto:[hidden email]>
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

aiaustin
In reply to this post by aiaustin
Thanks James and Marck. I confirm that I have the regionwindlight
table in my database with all the fields, but no content yet and I
did not do anything to cerate it.

I also noted the function names.  Are there more than the 3 I noted?

Details such as I have gleaned them are at:
http://opensimulator.org/wiki/LightShare


>That regionwindlight table was automatically created when I
>installed OpenSim 0.7-release, if I remember correctly. At least, I
>never created it manually, and yet I see it in the database.
>
>James Stallings II wrote:
> > Hi Ai,
> >
> > The functions were renamed and are prefixed 'ls' instead of 'cm'. Also
> > the module is in core, but the databases aren't; you'll need to run a
> > sql script to create the tablespaces for you. Here's that script:

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
Yep I got my info from the meta7 pages; that looks like the three functions I know about too.

note: I've yet to be able to 'get' the windlight parameters from the region, but haven't really had a need to (yet).

Will fiddle with that later and report back at that time.       :)

Cheers
James/Hiro
SimHost.com


On Thu, Aug 26, 2010 at 2:41 PM, Ai Austin <[hidden email]> wrote:
Thanks James and Marck. I confirm that I have the regionwindlight table in my database with all the fields, but no content yet and I did not do anything to cerate it.

I also noted the function names.  Are there more than the 3 I noted?

Details such as I have gleaned them are at: http://opensimulator.org/wiki/LightShare



That regionwindlight table was automatically created when I installed OpenSim 0.7-release, if I remember correctly. At least, I never created it manually, and yet I see it in the database.

James Stallings II wrote:
> Hi Ai,
>
> The functions were renamed and are prefixed 'ls' instead of 'cm'. Also
> the module is in core, but the databases aren't; you'll need to run a
> sql script to create the tablespaces for you. Here's that script:

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

aiaustin
In reply to this post by aiaustin
I amended the testscripts to use lsSetWindlightScene and have
enable_windlight = true; in the [LightShare] section of my
OpenSim.exe and rebooted that region server.

But when I try to execuite the scriot it gives this error to te script console:

      LightShare Set Defaults: LightShare functions are not enabled.

Is there something else that must be turned on somewhere?

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
Yep, osFunctions and the appropriate (if arbitrary) scripting danger level.

On Thu, Aug 26, 2010 at 3:10 PM, Ai Austin <[hidden email]> wrote:
I amended the testscripts to use lsSetWindlightScene and have enable_windlight = true; in the [LightShare] section of my OpenSim.exe and rebooted that region server.

But when I try to execuite the scriot it gives this error to te script console:

    LightShare Set Defaults: LightShare functions are not enabled.

Is there something else that must be turned on somewhere?


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

aiaustin
In reply to this post by aiaustin
James wrote:
>Yep, osFunctions and the appropriate (if arbitrary) scripting danger level.

I have this set on and VeryHigh.  Is that not enough?

We should add the three ls functions into the threat level list at
http://opensimulator.org/wiki/Threat_level
and also note what is needed on the Wiki page at
http://opensimulator.org/wiki/LightShare
It may also be worth adding a comment line into the [LightShare]
section to say what is needed in these two dependent variables.


     AllowOSFunctions = true

     ; http://opensimulator.org/wiki/OSSL_Enabling_Functions
     ; http://opensimulator.org/wiki/Threat_level
     ; Threat level to allow, one of:
     ;        None, VeryLow, Low, Moderate, High, VeryHigh, Severe
     OSFunctionThreatLevel = VeryHigh

     ; See http://opensimulator.org/wiki/ModSendCommand
     ; Allow the user of mod* functions. This allows a script to pass
     ; a message to a region module via the modSendCommand() function
     ; Default is false
     AllowMODFunctions = false


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

aiaustin
In reply to this post by aiaustin
I tried adding in a specific allow_ls... line for my avatarUUID in
the [XEngine] section of OpenSim.ini , but that had no effect
either.  same error message.


     Allow_lsGetWindlightScene = UUID
     Allow_lsSetWindlightScene =  UUID
     Allow_lsSetWindlightSceneTargeted = UUID

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
I think I have mine set on Severe Ai :) (note caps)

On Thu, Aug 26, 2010 at 3:52 PM, Ai Austin <[hidden email]> wrote:
I tried adding in a specific allow_ls... line for my avatarUUID in the [XEngine] section of OpenSim.ini , but that had no effect either.  same error message.


   Allow_lsGetWindlightScene = UUID
   Allow_lsSetWindlightScene =  UUID
   Allow_lsSetWindlightSceneTargeted = UUID


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

justincc
In reply to this post by aiaustin
On 26/08/10 21:52, Ai Austin wrote:
> I tried adding in a specific allow_ls... line for my avatarUUID in the
> [XEngine] section of OpenSim.ini , but that had no effect either. same
> error message.
>
>
> Allow_lsGetWindlightScene = UUID
> Allow_lsSetWindlightScene = UUID
> Allow_lsSetWindlightSceneTargeted = UUID

In OpenSim.ini.example, there's a setting right beneath AllowOSFunctions

     ; Allow the user of LightShare functions
     AllowLightShareFunctions = false

Try setting this to true if you haven't already :)

As an aside, there are some Lightshare patches in mantis as

http://opensimulator.org/mantis/view.php?id=4884
http://opensimulator.org/mantis/view.php?id=4885

Would be nice to have some opinions on these.

--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

James Stallings II
Heya Justin,

That first patch looks like a winner and explains why I had difficulties retrieving the current sun/,oon position ;)

The second one looks like a good patch too, maybe not perfect but certainly improves the situation.

Cheers!
James/Hiro
SimHost.com

On Thu, Aug 26, 2010 at 4:03 PM, Justin Clark-Casey <[hidden email]> wrote:
On 26/08/10 21:52, Ai Austin wrote:
I tried adding in a specific allow_ls... line for my avatarUUID in the
[XEngine] section of OpenSim.ini , but that had no effect either. same
error message.


Allow_lsGetWindlightScene = UUID
Allow_lsSetWindlightScene = UUID
Allow_lsSetWindlightSceneTargeted = UUID

In OpenSim.ini.example, there's a setting right beneath AllowOSFunctions

   ; Allow the user of LightShare functions
   AllowLightShareFunctions = false

Try setting this to true if you haven't already :)

As an aside, there are some Lightshare patches in mantis as

http://opensimulator.org/mantis/view.php?id=4884
http://opensimulator.org/mantis/view.php?id=4885

Would be nice to have some opinions on these.

--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

aiaustin
In reply to this post by aiaustin
At 05:01 27/08/2010, [hidden email] wrote:
>From: Justin Clark-Casey <[hidden email]>
>In OpenSim.ini.example, there's a setting right beneath AllowOSFunctions
>
>      ; Allow the user of LightShare functions
>      AllowLightShareFunctions = false
>
>Try setting this to true if you haven't already :)

Thanks Justin, I had missed that setting in my merge of the 0.7
settings into my setup.  I added that to the Wiki page too at
http://opensimulator.org/wiki/LightShare

The lsSetWindLightScene script now doer run on a suitably enabled
region, and I can see the data base entry beign create din the
regionswindlight table.  BUT the UUID of the region is set to the
null UUID.  I manually altered the data base to the region UUID, and
that had no effect.  In fact when I next canged the settings with
lsSetWindLightScene it just created another null UUID region entry in
regionswindlight. I assume that is wrong?  Should I Mantis that?

I am using Imrudence and have the settings on to tell me when
windlight settings change for a region, and I do see the pop up
indicating that.  But nothing alters when I try to set a red sea and
sky as a tests.  That may either be the problem above with the null
UUID, or some other issue to be addressed to make this work.

>On 26/08/10 21:52, Ai Austin wrote:
> > I tried adding in a specific allow_ls... line for my avatarUUID in the
> > [XEngine] section of OpenSim.ini , but that had no effect either. same
> > error message.
> >
> >
> > Allow_lsGetWindlightScene = UUID
> > Allow_lsSetWindlightScene = UUID
> > Allow_lsSetWindlightSceneTargeted = UUID

I would note that this is an instance where a UUID linked allowance
of these functions would be most useful, rather than a simple turn it
on and off for anyone to use.


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

Gwyneth Llewelyn
In reply to this post by James Stallings II
I wonder if there is a correct reference of the equivalent settings between the Windlight XML files from, say, Imprudence, and the actual parameters that are required to be set using the LSL functions? I tried to document them on the OpenSim wiki, but there are a lot of parameters that are very hard to figure out :(

As a side note, did anyone working on this look at Katharine Berry's most excellent implementation on shareable Windlight settings? She does it very, very simply: a patch on the viewer that recognises a notecard with the required XML settings and ending in .sl as being "Windlight" settings. Since it's a notecard, it's easily shared. Since it's XML, you always get the correct parameters in the right order *and* you also get a version number, in case LL changes the XML format, so you can make things backwards compatible. All that LightShare would need to do is to automatically send a notecard to the user's inventory (named, say, sim-name.sl) and have the viewer automatically switch to those settings (like it works under LightShare).

Granted, doing it from within LSL has the advantage of doing awesome special effects changing the settings from within the sim (e.g. I can imagine a game or something turning the sky bright red for a few seconds if someone achieves a certain level or so; or changing water textures/waves to simulate tides)...

Just a thought... while I struggle with figuring out the settings :-)

- Gwyn

On 2010/08/26, at 22:14, James Stallings II wrote:

Heya Justin,

That first patch looks like a winner and explains why I had difficulties retrieving the current sun/,oon position ;)

The second one looks like a good patch too, maybe not perfect but certainly improves the situation.

Cheers!
James/Hiro
SimHost.com

On Thu, Aug 26, 2010 at 4:03 PM, Justin Clark-Casey <[hidden email]> wrote:
On 26/08/10 21:52, Ai Austin wrote:
I tried adding in a specific allow_ls... line for my avatarUUID in the
[XEngine] section of OpenSim.ini , but that had no effect either. same
error message.


Allow_lsGetWindlightScene = UUID
Allow_lsSetWindlightScene = UUID
Allow_lsSetWindlightSceneTargeted = UUID

In OpenSim.ini.example, there's a setting right beneath AllowOSFunctions

   ; Allow the user of LightShare functions
   AllowLightShareFunctions = false

Try setting this to true if you haven't already :)

As an aside, there are some Lightshare patches in mantis as

http://opensimulator.org/mantis/view.php?id=4884
http://opensimulator.org/mantis/view.php?id=4885

Would be nice to have some opinions on these.

--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users

--

"I'm not building a game. I'm building a new country."

  -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08




_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
--
"I'm not building a game. I'm building a new country."
  -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08
Reply | Threaded
Open this post in threaded view
|

Re: Windlight and LightShare in Opensim 0.7

Karen Palen
Well personally I would be happy if I could simply lead the sky and water settings for my mars sim without having to make my users reset the parameter after every logon!

Even setting the "mars.xml" sky as "Default.xml" in the viewer does not always work!

Mantis on Tuesday - AFTER the demo! :-)

Karen

On Thu, Sep 2, 2010 at 12:03 PM, Gwyneth Llewelyn <[hidden email]> wrote:
I wonder if there is a correct reference of the equivalent settings between the Windlight XML files from, say, Imprudence, and the actual parameters that are required to be set using the LSL functions? I tried to document them on the OpenSim wiki, but there are a lot of parameters that are very hard to figure out :(

As a side note, did anyone working on this look at Katharine Berry's most excellent implementation on shareable Windlight settings? She does it very, very simply: a patch on the viewer that recognises a notecard with the required XML settings and ending in .sl as being "Windlight" settings. Since it's a notecard, it's easily shared. Since it's XML, you always get the correct parameters in the right order *and* you also get a version number, in case LL changes the XML format, so you can make things backwards compatible. All that LightShare would need to do is to automatically send a notecard to the user's inventory (named, say, sim-name.sl) and have the viewer automatically switch to those settings (like it works under LightShare).

Granted, doing it from within LSL has the advantage of doing awesome special effects changing the settings from within the sim (e.g. I can imagine a game or something turning the sky bright red for a few seconds if someone achieves a certain level or so; or changing water textures/waves to simulate tides)...

Just a thought... while I struggle with figuring out the settings :-)

- Gwyn

On 2010/08/26, at 22:14, James Stallings II wrote:

Heya Justin,

That first patch looks like a winner and explains why I had difficulties retrieving the current sun/,oon position ;)

The second one looks like a good patch too, maybe not perfect but certainly improves the situation.

Cheers!
James/Hiro
SimHost.com

On Thu, Aug 26, 2010 at 4:03 PM, Justin Clark-Casey <[hidden email]> wrote:
On 26/08/10 21:52, Ai Austin wrote:
I tried adding in a specific allow_ls... line for my avatarUUID in the
[XEngine] section of OpenSim.ini , but that had no effect either. same
error message.


Allow_lsGetWindlightScene = UUID
Allow_lsSetWindlightScene = UUID
Allow_lsSetWindlightSceneTargeted = UUID

In OpenSim.ini.example, there's a setting right beneath AllowOSFunctions

   ; Allow the user of LightShare functions
   AllowLightShareFunctions = false

Try setting this to true if you haven't already :)

As an aside, there are some Lightshare patches in mantis as

http://opensimulator.org/mantis/view.php?id=4884
http://opensimulator.org/mantis/view.php?id=4885

Would be nice to have some opinions on these.

--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
===================================
http://osgrid.org
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users

--

"I'm not building a game. I'm building a new country."

  -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08




_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users



_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Configure an OpenSim to use the ROBUST services

j_jamesk
Hi Folks

My friend and I are working on setting up Opensim in grid mode (robust), so
everything seems to be working okay when accessed the grid from the lan
using -loginuri http://XXXXXX.dyndns.org:8002 for the login url but when I
try to access the grid from an external location it hanging :

[14:11]  Logging in. Viewer may appear frozen.  Please wait.
[14:11]  Logging in...
[14:11]  Processing Response...
[14:11]  Initializing World...
[14:11]  Initializing multimedia...
[14:11]  Decoding images...
[14:11]  Waiting for region handshake...
[14:11]  MOTD: United we stand, divided we fall.

with a message that there was a problem while trying to connect.

Ports 9000-9010 tcp and udp are open on both router and xp firewall, so my
next line of thought was the region.ini
there is no mention (that i can find) that says you can't still using the
9000 range in the region.ini when in grid mode, here is an example of the
region.ini, do you have to specify an InternalAddress if your going to
access the grid from an external network

[Europe 1]
RegionUUID = "397fd0f8-4279-48d6-8ce2-573d915630dd"
Location = "4168,4665"
InternalAddress = "0.0.0.0"
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = "XXXXXX.dyndns.org"


Thanks in advance for the help.

James

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Configure an OpenSim to use the ROBUST services

Ben Faust
  Have you tried using your server's IP address for the internal
address? On our stand-alone, that's what we have there...

On 9/3/2010 5:42 PM, [hidden email] wrote:

> Hi Folks
>
> My friend and I are working on setting up Opensim in grid mode
> (robust), so everything seems to be working okay when accessed the
> grid from the lan using -loginuri http://XXXXXX.dyndns.org:8002 for
> the login url but when I try to access the grid from an external
> location it hanging :
>
> [14:11]  Logging in. Viewer may appear frozen.  Please wait.
> [14:11]  Logging in...
> [14:11]  Processing Response...
> [14:11]  Initializing World...
> [14:11]  Initializing multimedia...
> [14:11]  Decoding images...
> [14:11]  Waiting for region handshake...
> [14:11]  MOTD: United we stand, divided we fall.
>
> with a message that there was a problem while trying to connect.
>
> Ports 9000-9010 tcp and udp are open on both router and xp firewall,
> so my next line of thought was the region.ini
> there is no mention (that i can find) that says you can't still using
> the 9000 range in the region.ini when in grid mode, here is an example
> of the region.ini, do you have to specify an InternalAddress if your
> going to access the grid from an external network
>
> [Europe 1]
> RegionUUID = "397fd0f8-4279-48d6-8ce2-573d915630dd"
> Location = "4168,4665"
> InternalAddress = "0.0.0.0"
> InternalPort = 9000
> AllowAlternatePorts = False
> ExternalHostName = "XXXXXX.dyndns.org"
>
>
> Thanks in advance for the help.
>
> James
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
>

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Configure an OpenSim to use the ROBUST services

Karen Palen
In reply to this post by j_jamesk
Did you forward the ports to the internal IP address in your router?

Diva has done a great job at describing the steps: http://wiki.github.com/diva/d2/dns

Karen

On Fri, Sep 3, 2010 at 2:42 PM, <[hidden email]> wrote:
Hi Folks

My friend and I are working on setting up Opensim in grid mode (robust), so everything seems to be working okay when accessed the grid from the lan using -loginuri http://XXXXXX.dyndns.org:8002 for the login url but when I try to access the grid from an external location it hanging :

[14:11]  Logging in. Viewer may appear frozen.  Please wait.
[14:11]  Logging in...
[14:11]  Processing Response...
[14:11]  Initializing World...
[14:11]  Initializing multimedia...
[14:11]  Decoding images...
[14:11]  Waiting for region handshake...
[14:11]  MOTD: United we stand, divided we fall.

with a message that there was a problem while trying to connect.

Ports 9000-9010 tcp and udp are open on both router and xp firewall, so my next line of thought was the region.ini
there is no mention (that i can find) that says you can't still using the 9000 range in the region.ini when in grid mode, here is an example of the region.ini, do you have to specify an InternalAddress if your going to access the grid from an external network

[Europe 1]
RegionUUID = "397fd0f8-4279-48d6-8ce2-573d915630dd"
Location = "4168,4665"
InternalAddress = "0.0.0.0"
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = "XXXXXX.dyndns.org"


Thanks in advance for the help.

James
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Configure an OpenSim to use the ROBUST services

j_jamesk
In reply to this post by Ben Faust
Cheers Ben we'll give that a go later today

James

--------------------------------------------------
From: "Ben Faust" <[hidden email]>
Sent: Friday, September 03, 2010 11:03 PM
To: <[hidden email]>
Subject: Re: [Opensim-users] Configure an OpenSim to use the ROBUST services

>  Have you tried using your server's IP address for the internal address?
> On our stand-alone, that's what we have there...
>
> On 9/3/2010 5:42 PM, [hidden email] wrote:
>> Hi Folks
>>
>> My friend and I are working on setting up Opensim in grid mode (robust),
>> so everything seems to be working okay when accessed the grid from the
>> lan using -loginuri http://XXXXXX.dyndns.org:8002 for the login url but
>> when I try to access the grid from an external location it hanging :
>>
>> [14:11]  Logging in. Viewer may appear frozen.  Please wait.
>> [14:11]  Logging in...
>> [14:11]  Processing Response...
>> [14:11]  Initializing World...
>> [14:11]  Initializing multimedia...
>> [14:11]  Decoding images...
>> [14:11]  Waiting for region handshake...
>> [14:11]  MOTD: United we stand, divided we fall.
>>
>> with a message that there was a problem while trying to connect.
>>
>> Ports 9000-9010 tcp and udp are open on both router and xp firewall, so
>> my next line of thought was the region.ini
>> there is no mention (that i can find) that says you can't still using the
>> 9000 range in the region.ini when in grid mode, here is an example of the
>> region.ini, do you have to specify an InternalAddress if your going to
>> access the grid from an external network
>>
>> [Europe 1]
>> RegionUUID = "397fd0f8-4279-48d6-8ce2-573d915630dd"
>> Location = "4168,4665"
>> InternalAddress = "0.0.0.0"
>> InternalPort = 9000
>> AllowAlternatePorts = False
>> ExternalHostName = "XXXXXX.dyndns.org"
>>
>>
>> Thanks in advance for the help.
>>
>> James
>> _______________________________________________
>> Opensim-users mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
12