[Opensim-users] Windlight and LightShare in Opensim 0.7

Gwyneth Llewelyn gwyneth.llewelyn at gwynethllewelyn.net
Thu Sep 2 19:03:24 UTC 2010


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 <jjustincc at googlemail.com 
> > 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
> Opensim-users at lists.berlios.de
> 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
> Opensim-users at lists.berlios.de
> 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20100902/f2999e31/attachment.html>


More information about the Opensim-users mailing list