[Opensim-dev] Proposal: osGet/SetWindlightPresets()
Grid Master
grid at opensim.life
Sat Oct 19 20:51:48 UTC 2019
correct me if I am wrong, but the simulator does not store any presets, all
"Preset" settings are viewer side only, and then it sends the settings to
the simulator ..
There are already some lightshare functions for getting the current
settings ...
http://opensimulator.org/wiki/LightShare#LightShare_Scripting
You can use these to build your own presets in world on a script.
Different altitudes, intriguing ... (can already be done with a sensor
object that pushes the settings to an avatar when they come in range.)
Bill Blight
On Sat, Oct 19, 2019 at 3:52 PM Mike Lorrey <bntholdings at gmail.com> wrote:
> Proposed OSSL Functions:
> osGetWindlightPresets(integer preset type, list presets,integer
> level,vector altitude);
> osSetWindlightPresets(integer preset typelist presets,integer level,vector
> altitude);
>
> These functions should be limited to estate owner/manager usage.
> Preset types:
> WATER_PRESETS, list presets
> SKY_PRESETS, list presets.
> DAY_PRESETS, list presets
>
> integer level = 0 = estate, 1= region, 2 = parcel
> vector altitude = <MIN_ALTITUDE, MAX_ALTITUDE,NA>
>
> Getting and setting this data shouldn't be hard to implement, the one new
> difficult thing is to have different presets for different altitudes, which
> is very useful when one has one set of sky settings on the surface of a
> region, and wants a different set of settings at high altitude to simulate
> being in orbit, on a moon, or otherwise in space...
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
>
More information about the Opensim-dev
mailing list