Commit Graph

60 Commits (0ff65651cc219eef959c5e961663de2a07595e5a)

Author SHA1 Message Date
Rider Linden d25f801814 Fix cloud scroll adjustment in the editor, pause clouds method, set sun disk UUID to null. 2018-06-25 14:44:09 -07:00
Rider Linden 1f9b8f59af Don't recalculate lighting every frame. Fix altitude transitions. On track switch ignore time threshold on blender. 2018-06-19 16:46:12 -07:00
Rider Linden e2adba65de Merge 2018-06-12 12:56:53 -07:00
Rider Linden 2add1e7abd Time threshold on timer based updates. Editor can replace frame with one from inventory. Extra check on adding a frame type. 2018-06-12 12:39:59 -07:00
Graham Linden 67ab0084f8 Fix env panel forward action.
Make env panel update environment when jumping frame to frame.

Add separate funcs for sun/moon vectors in various coord systems.

Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
2018-06-12 18:42:07 +01:00
Rider Linden 97da85de0b remove legacy environmental edit floater and some lingering transition functions. Change floater environment switch behavior. 2018-06-11 11:43:50 -07:00
Rider Linden 8365945f8a Settings inventory picker. 2018-06-08 16:40:01 -07:00
Graham Linden caa5bd3cb9 Fix legacy haze validation returning warnings as errors.
Add assert that calculated spans are > 0 to avoid div by 0 NaNs.

Make span calc return 1.0 for case where begin == end.

Fix order of ops in LLTrackBlenderLoopingTime ctor causing skies to be init'd with water instances.
2018-06-06 19:48:12 +01:00
Rider Linden 610a793aa8 EOL in llsetingssky.cpp and llrender.cpp. const on ptr_t & in llenvironment 2018-06-05 11:19:22 -07:00
Graham Linden 11a7c22b72 Merge 2018-06-05 16:39:11 +01:00
Rider Linden b06803225b Reconnect apply to region and parcel reconnected to interface. 2018-06-04 16:50:13 -07:00
Graham Linden cd8f0da2d1 Fix use of new typedefs in inventory settings code in llenvironment. 2018-06-04 23:12:21 +01:00
Graham Linden 7136956b90 Use more typedefs to simplify sync between viewer and sim env settings code. 2018-06-02 23:28:48 +01:00
Graham Linden 7d6743f42d Merge 2018-06-02 00:31:25 +01:00
Rider Linden 2a613d7363 Rework preset loading and context menu from inventory. 2018-06-01 16:24:36 -07:00
Graham Linden 8cfdc07e79 Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in sync w/ sim side which has not llunits types. 2018-06-01 23:32:30 +01:00
Graham Linden 8dd8501386 Fix mis-merge of LLSettingsBase and remove optimize pragmas. 2018-06-01 15:50:25 +01:00
Graham Linden 37e8fd20c3 Merge to 5.1.6 2018-06-01 15:34:21 +01:00
Graham Linden 64302d3000 Modify use of sky settings, reduce complexity, and name funcs to indicate coord systems in use.
Fix class2 softenLightF shader.
2018-06-01 00:18:36 +01:00
Rider Linden 460d944b08 More with min 2018-05-31 11:15:17 -07:00
Rider Linden 9831087fb6 Use llmin rather than std::min 2018-05-31 10:36:10 -07:00
Rider Linden acaf57100e switch track based on altitudes sent from region. 2018-05-24 17:09:01 -07:00
Rider Linden fa4ac065cb Enable sky changes with altitude. 2018-05-24 13:11:33 -07:00
Graham Linden graham@lindenlab.com 439273c9c1 Merge 2018-05-23 01:16:12 +01:00
Rider Linden b29aa01056 Enable save/load/import for day edit. 2018-05-22 16:54:04 -07:00
Graham Linden graham@lindenlab.com 13536bb273 Remove some obsolete sky funcs.
Remove Matrix3/4 funcs using LLQuat 4-float init incorrectly
(they are redundant to angle/axis versions anyway).

Fix up tests referring to removed funcs above.
2018-05-22 21:42:54 +01:00
Rider Linden 044b80e4e1 Manual blender for use in day editing dialog. 2018-05-22 10:49:55 -07:00
Graham Linden graham@lindenlab.com ae5f24eb4d Make rendering of sun / moon work with both in the sky (test visibility independently). 2018-05-21 19:10:32 +01:00
Graham Linden graham@lindenlab.com 8082cb8668 Make nighttime elev constant _SIN, since it uses a sin value.
Put that constant in sky settings and eliminate dups.

Fix up logic around when to use heavenly bodies (fix broken moon in basic sky).

Remove unnecessary clip to horizon.

Put in temp code to ena/dis sun/moon based on LLEnvironment::getIsDaytime().
2018-05-18 23:14:56 +01:00
Graham Linden graham@lindenlab.com 242fe06109 Merge 2018-05-18 00:27:39 +01:00
Rider Linden 430c5cd235 Self contained looping track blender. Will blend over time across an entire track in a day cycle. 2018-05-17 16:16:33 -07:00
Graham Linden graham@lindenlab.com 4d4a7dfb9f Merge and disable new sky render. 2018-05-16 23:45:56 +01:00
Rider Linden 4975bd03c1 Splitting the blender up to support manual positioning as well as time. Phase1 2018-05-16 13:42:48 -07:00
Rider Linden c238fa3ac5 Add save/update functionality hooks to fixed editor. 2018-05-08 16:57:14 -07:00
Rider Linden 3e33fc9130 Inventory context menus and increment attrib for settings panels. 2018-05-03 14:59:29 -07:00
Rider Linden 438609699b New water settings dialog. 2018-04-30 16:37:08 -07:00
Rider Linden cf0e4f79f5 Adding fixed water edit dialog. 2018-04-27 17:12:13 -07:00
Graham Linden graham@lindenlab.com 79e4a8c28a Fix up atmospheric helpers and transport shader for adv atmo path.
Basic hook-up of sky settings to llatmosphere model.

Moved mie aniso to be a top-level setting instead of a per-mie-layer setting.
2018-03-14 00:11:19 +01:00
Graham Linden graham@lindenlab.com 057dda6afe Fix storing legacy haze parameters in inner map by fixing
parameter update to not expect them at top level of LLSD for sky settings.
2018-03-13 17:21:10 +01:00
Graham Linden graham@lindenlab.com 1687719a25 Undo changes to default Sky settings XML.
Undo forced validation of objects built from legacy sky settings.
2018-03-06 23:11:53 +00:00
Graham Linden graham@lindenlab.com 98862a53a7 Fix 16F enum for compat w/ SL gl headers on Mac.
Make density profile/layer parsing handle when
LLSD heard you liked arrays so it put an array
in your array.
2018-03-03 00:53:39 +00:00
Rider Linden e9edd37cdb Update a couple constructs 2018-02-09 10:10:13 -08:00
Rider Linden 7838189843 boost->std & same level interp 2018-02-06 17:27:56 -08:00
Rider Linden f07e5ee2a4 Transitions between skys. 1 2018-02-05 15:12:23 -08:00
Rider Linden 0bf50e2f8c Cleanup on daycyle selection and stack. Move blenders into environment.
(Transition bronken, instant only. Shaddows moved based on region, not parcel)
2018-01-30 16:42:34 -08:00
Rider Linden fbd8a98300 Selects correct day cycle. Fix an error validating legacy daycycles. 2018-01-25 17:21:25 -08:00
Rider Linden b4af7fe9d0 Settins failure fix. 2018-01-24 17:30:56 -08:00
Rider Linden 1b8c2b5ebb MAINT-8052: Initial support for new EEP cap 2018-01-23 08:54:34 -08:00
Rider Linden a0c228d842 MAINT-8052: Report if the returned environment is the default. 2018-01-16 11:03:26 -08:00
Rider Linden 8211f57205 MAINT-7699: Deliver new settings to viewer via cap 2018-01-08 15:10:25 -08:00