Commit Graph

171 Commits (c5e3ace94de01ed61ed43284ea72dacec197cdc9)

Author SHA1 Message Date
Rider Linden 98d6d1969b SL-10464: Request experience status on parcel change, strip if no longer allowed. 2019-02-13 17:01:17 -08:00
Rider Linden 5d9915243b SL-10406, SL-10464: Remove experience injections and destroy push environment when finished. 2019-02-12 14:44:37 -08:00
Rider Linden d5aba39882 Merge 2019-02-11 16:51:06 -08:00
Rider Linden 2a740309d0 SL-10406, SL-10464: Experience injections now have their own sub class of day instance (DayInjection) Montitors underlying environments and switches the sources as needed. 2019-02-11 16:50:15 -08:00
maxim_productengine a9dd57c351 SL-10456 FIXED [EEP] Viewer continues to show last EEP environment after teleporting from EEP to non-EEP region 2019-02-07 13:06:16 +02:00
Rider Linden ce40f88ecb Better calculation of time remaining in span for track animator (from SL-10465) 2019-02-05 15:09:32 -08:00
maxim_productengine fcf25b690f SL-10364 FIXED Parcel Sky Altitudes not set correct when opening About Land -> Environment for the first time upon region arrival 2019-02-01 18:33:55 +02:00
Rider Linden c7e02b0835 SL-9925: Viewer now shows an error message if import from legacy windlight fails. 2019-01-30 14:36:46 -08:00
Rider Linden 211ad31dc2 I hope this is the last one. 2019-01-23 14:44:44 -08:00
Rider Linden a7570ae344 More specifics OSX compile. 2019-01-23 14:12:29 -08:00
Rider Linden 618af868db More OSX template 2019-01-23 11:45:07 -08:00
Rider Linden f6b27a4a0c More OSX pickyness. 2019-01-23 10:54:46 -08:00
Rider Linden a5392bb8e8 Found the issue. 2019-01-23 10:10:19 -08:00
Rider Linden 5ac7441250 Mac is a bit picky 2019-01-23 09:13:06 -08:00
Rider Linden b465a5bf6f SL-10387: Inject individual settings. Still freezes parcel/region settings. 2019-01-22 16:53:14 -08:00
Rider Linden f42ac5b94e SL-10387: Move settings intjection to a setting object (and out of llEnvironment) 2019-01-22 09:24:11 -08:00
andreykproductengine 00d8caa359 SL-10279 Finalize drag and drop support 2019-01-10 22:11:11 +02:00
Rider Linden 1871f03d12 SL-10067, SL-9917: Updated UUIDs for sun and moon textures and to corrected known skies. 2019-01-07 17:00:01 -08:00
Rider Linden 8227a0b270 SL-10279: Rework the environment pannel. Still in progress. 2018-12-21 15:30:57 -08:00
Rider Linden 634910f685 SL-10241: Group roll for changing environment. 2018-12-14 14:33:42 -08:00
Rider Linden 9475a593a1 Merge 2018-12-12 14:07:56 -08:00
Rider Linden 70ac8d9fa7 SL-10238: Viewer spport for push notifications from the simulator contaiting partial groups of settings. Blend these settings into the current environment. 2018-12-12 14:07:23 -08:00
andreykproductengine d4fe87cca4 SL-10091 Prevent info floater from re-requesting data when not open 2018-12-07 16:24:47 +02:00
andreykproductengine 76071d4fe8 SL-10091 EEP Filter out dupplicate refreshes and callbacks 2018-12-05 22:13:49 +02:00
maxim_productengine d66012f85e SL-9716 [EEP] "Use Shared Environment" does not enable when applying an environment to a parcel or region 2018-11-30 17:48:08 +02:00
Rider Linden 29130c5483 SL-10093: Client code to support experiences changing an environment. Handle generic messages with "commands" to be executed. 2018-11-20 10:59:38 -08:00
andreykproductengine bda785e8b1 SL-10033 [EEP] Use fast environment transition for teleports 2018-11-12 20:11:00 +02:00
Rider Linden 8d333a0176 OSX Pedantics 2018-11-02 14:32:42 -07:00
Rider Linden 51772e6083 SL-9886: Viewer send and receive new day_name(s) information in the environment protocol for viewer specified names on individual tracks. 2018-11-02 09:17:19 -07:00
andreykproductengine 659d14504f SL-1476 EEP Better shader resets and transitions 2018-10-29 18:18:20 +02:00
maxim_productengine 8740368b0b SL-9922 FIXED [EEP] The Day environment settings are changed when open the Water setting in ‘Fixed Environment’ editor 2018-10-23 17:52:00 +03:00
andreykproductengine 44cdf00bff SL-1476 EEP parcel transition inconsistencies 2018-10-17 21:17:00 +03:00
Rider Linden 6cdcc7fe2e SL-9889: New reconverted default assets 2018-10-17 12:16:24 -07:00
Rider Linden fdfb60ecb1 Merge 2018-10-01 16:12:48 -07:00
Rider Linden 6e7d794b01 MAINT-9738: Wire the altitude slider to the protocol and send new altitudes to simulator. 2018-10-01 16:10:19 -07:00
maxim_productengine 50ec228b02 SL-9660 EEP Remove residual code (LLFloaterEditDayCycle and LLEnvironment::UserPrefs) 2018-10-01 16:45:19 +03:00
Rider Linden 70c18ba14b SL-9736: 0.0 is no motion for cloud scroll. 2018-09-24 14:55:21 -07:00
andreykproductengine 1bd1a10109 SL-1061 EEP prevent invalid settings from getting into environment 2018-09-21 18:33:07 +03:00
Rider Linden cae08e0096 SL-9661: Trigger an event when the settings on a parcel or region are changed. Environment panel montiors this event and updates itself when it occurs. 2018-09-19 15:31:23 -07:00
maxim_productengine e53d35f4e8 SL-1258 FIXED [EEP] Custom cloud, sun & moon textures don't update when you apply a Windlight sky locally. 2018-09-18 17:38:06 +03:00
Rider Linden 7c6ac0740d SL-1556: Correctly identify when the selected parcel is in another region and display a message about cross region environments. 2018-09-14 09:52:28 -07:00
andreykproductengine 3988bc8d85 SL-9653 EEP Blender abruptly jumps from correct value to initial 2018-09-14 18:27:31 +03:00
Graham Linden 4bd2b8b98b Fix createDensityProfileLayer dropping passed in values.
Enable sky density panel to update advanced atmo precomputed textures.

Take wild stab at appropriate ranges for density parameters in edit panel UI.

Clean up debug-only code that isn't necessary anymore.

Point autobuild at latest version of libatmosphere package.
2018-09-07 17:24:29 +01:00
Graham Linden 451ab80ca6 Fix tex format mismatch between what libatmosphere was generating and what we were claiming to use in rendering.
First pass at sky shader using libatmosphere sky radiance lookup.

Add atmo density controls to ext daycycle floater tabs.
2018-09-06 22:50:26 +01:00
Rider Linden 3b10414c63 Adding optional flags to settings objects. 2018-08-31 11:47:18 -07:00
Graham Linden 100a58778b MAINT-8944 Fix missed mNextFooTextureId updates when jumping between keyframes by forcing mReplaced when sky is replaced. 2018-08-30 00:16:44 +01:00
Rider Linden 477c66c890 Lest couple nullptr checks and disable the controls on legacy regions. 2018-08-21 11:37:59 -07:00
Rider Linden b2b3c36bda Didn't get a fix from last week, and divide by zeros are bad. 2018-08-20 16:26:54 -07:00
Rider Linden 8fc3956a5e Use the EnvironmentInfo structure to pass information back from legacy environment requests. 2018-08-20 14:59:02 -07:00
Rider Linden 1e3ee272ae Add an apparent time of day. More OSX complaints. 2018-08-17 15:37:10 -07:00
Rider Linden 1716129fd2 MAINT-8826, MAINT-8990, MAINT-9002, MAINT-7703: Rework for environment pannels in Region/Estate and Parcel. Enable/disable by permission. Edit the correct environment. Dirty flags for changes. Estate owner disallow switch. 2018-08-17 12:35:42 -07:00
Rider Linden 7f25bef9c4 MAINT-7703: Estate level switch turns of parcel environments. 2018-08-16 16:27:53 -07:00
Rider Linden 68158f0340 Pass call backs into parcel and region change methods. 2018-08-16 09:43:54 -07:00
Rider Linden eadf0b9101 MAINT-8990, MAINT-9002: First pass rework on environment panels, region/parcel 2018-08-15 13:35:53 -07:00
Rider Linden 881ee670d9 Fix for mac build
MAINT-8870, MAINT-8871: When legacy windlight fails load the default day cycle asset and use that.
2018-08-08 15:41:28 -07:00
Rider Linden 76206db45e remove some pragmas that snuck in 2018-08-03 22:21:43 -07:00
Rider Linden 7e8c849a15 Fix name change from clearTrack to clealCycleTrack 2018-08-03 16:57:04 -07:00
Rider Linden b50d546d5f MAINT-7699: More robust cap protocol, better support for delete and support for individual tracks, support for setting environment by asset id in the cap
MAINT-7703: Initial flags sent in message protocol for parcels
2018-08-03 16:13:22 -07:00
Rider Linden 9391744164 Add default and wellknown asset ids. 2018-07-16 16:49:49 -07:00
Rider Linden 294793b9a9 MAINT-8821: Tighten up floater. Allow apply from gear menu. 2018-07-10 15:15:47 -07:00
Rider Linden 438d977147 Adding pause clouds to menu, and throttling expensive visual update on change. 2018-06-25 16:02:51 -07:00
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