Commit Graph

38797 Commits (67ab0084f87c40bf31d7fadded55cc9ea6299ca2)

Author SHA1 Message Date
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
Graham Linden 327ded5129 Remove debug pragma and put setMoonRotation back in the header file. 2018-06-11 22:42:10 +01:00
Graham Linden fc8d0de673 Make cloud rendering use textures defined in sky settings and add code to shaders to lerp between current and next cloud texture. 2018-06-11 22:39:57 +01:00
Rider Linden 0f608cb764 Merge 2018-06-11 11:45:11 -07: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
Graham Linden 4fbdfe6370 Merge 2018-06-11 17:59:19 +01:00
Graham Linden a0598b1265 Fix water fog consolidation in underwater shaders.
Add plumbing facilities to allow current and next moon textures to be passed to moon shader.

Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-11 17:46:16 +01:00
Rider Linden 8365945f8a Settings inventory picker. 2018-06-08 16:40:01 -07:00
Graham Linden 507c492182 Add specific shader for the moon to allow different rendering at day vs night.
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
2018-06-08 22:22:20 +01:00
Rider Linden 363f7f84a1 Validation fixes. 2018-06-07 10:24:29 -07:00
Rider Linden 7f0c4cb989 Merge 2018-06-06 17:11:29 -07:00
Rider Linden bff5049b92 Various editor fixes. Start adding a settings picker. 2018-06-06 17:10:58 -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
Graham Linden 5b4eb9fb93 Back out change to fix pointer casts on OS X. 2018-06-05 20:40:17 +01:00
Graham Linden b6b9094d26 Fix sunlight != sunlight_color_copy and remove hack disable of clouds. 2018-06-05 20:20:43 +01:00
Graham Linden 6b7f624a4b Merge 2018-06-05 19:22:31 +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 197fbaa7f6 Speculative fix for Clang not making the semantic leap on ptr_t casts. 2018-06-05 18:24:48 +01:00
Graham Linden 4b48ebdd34 Fix EOL on last line of llrender.cpp and llsettingssky.cpp 2018-06-05 18:17:54 +01:00
Graham Linden 6ea2847b58 Fix uninit data from deleting c++11-style init and not putting it in the ctor.
Replace dynamic_pointer_cast so instance isn't accidentally deleted on func exit.
2018-06-05 17:58:09 +01:00
Graham Linden 499993e3aa Restore dropped header include and make constness match sim code. 2018-06-05 17:29:58 +01: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 38271e9980 Remove redundant typedef hosing OSX build. 2018-06-03 00:35:17 +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 f87cf83a2b Mark LLSettingsSky::skipInterpolateKeys as override to silence Clang fail. 2018-06-01 23:54:01 +01: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 bd84cbfa11 Merge 2018-05-31 11:49:27 -07:00
Oz Linden 40d4e8b2e6 increment viewer version to 5.1.6 2018-05-31 14:32:43 -04:00
Oz Linden a51ce32598 Added tag 5.1.5-release for changeset 2ea47f358b17 2018-05-31 14:32:43 -04: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 91f62d1c9c Merge 2018-05-31 09:43:23 -07:00
Rider Linden 2ddad24c4d Timeline behavior in day cycle edit. 2018-05-30 17:08:28 -07:00
Rider Linden acaf57100e switch track based on altitudes sent from region. 2018-05-24 17:09:01 -07:00
Rider Linden 581869f2ca Merge 2018-05-24 13:30:39 -07:00
Rider Linden fa4ac065cb Enable sky changes with altitude. 2018-05-24 13:11:33 -07:00
Nat Goodspeed ec8ee33939 MAINT-8675: In Darwin-specific CMake, use cp, not cmake -E copy.
cmake -E copy does only one file at a time, and older CMake versions don't
handle wildcards. But cmake -E copy is specifically for portability. When the
copy operation itself is Darwin-only, we can count on having 'cp' available.
2018-05-24 16:01:50 -04:00
Oz Linden c730ae22f8 fix tests broken by argument added to LLTrans::getString 2018-05-23 17:03:34 -04:00
Oz Linden fe8c976abe MAINT-8675: update expired certs in integration test 2018-05-23 17:02:49 -04:00
Rider Linden fbaa01d9a0 Removed mSavedEnvironment so the Mac build will be happy. 2018-05-23 09:30:39 -07:00
andreykproductengine c75eeab839 MAINT-8344 Day Cycle Editor (playing) 2018-05-23 19:01:52 +03: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