[Opensim-dev] Proposal: osGet/SetWindlightPresets()
Mike Lorrey
bntholdings at gmail.com
Sat Oct 19 19:52:47 UTC 2019
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...
More information about the Opensim-dev
mailing list