Commit Graph

39 Commits (master)

Author SHA1 Message Date
Andrey Kleshchev cbd713037e viewer#2889 Fix water's normal map being ignored 2024-10-31 22:58:14 +02:00
Andrey Kleshchev b2bb4d25cc viewer#2889 Fixed mixed up water settings 2024-10-18 22:58:09 +03:00
Andrey Kleshchev e71215dcfd viewer#2529 Optimize LLSettingsWater::blend 2024-09-12 18:45:06 +03:00
Andrey Kleshchev 0a110ff083 viewer#2529 Track interpolateSDMap's performance
viewer#2529 Fix initialization
2024-09-11 22:56:57 +03:00
Andrey Kleshchev 047eb16f4c viewer#2529 Optimize updateGLVariablesForSettings
Intent is to eventually use only stored variables for everything.
LLSD operations are far too expensive.
2024-09-11 14:09:01 +03:00
Andrey Kleshchev ae7f7cd670 Replace boost::shared_ptr with std in voice classes 2024-08-07 14:19:49 +03:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Brad Linden 673b3309dd Merge remote-tracking branch 'origin/main' into DRTVWR-559 2023-10-25 16:12:13 -07:00
RunitaiLinden c96a00f12f SL-19856 Adjust water fog density range. Incidental decruft. 2023-06-12 10:08:27 -05:00
Nat Goodspeed ddc6d21958 SL-18837: Followup to 19e9e8c: global Boost.Bind placeholders
do not need 'using' directive, given BOOST_BIND_GLOBAL_PLACEHOLDERS.
2023-06-05 21:47:52 -04:00
Nat Goodspeed 6d2d0c8ee5 SL-18837: Boost.Bind _1, _2 placeholders are no longer global.
This was a longstanding complaint: that Boost shouldn't dump the (somewhat
mysterious) _1, _2 et al. names into the global namespace. Recent Boost has
fixed that, requiring 'using namespace boost::placeholders;' if you want to
use them unqualified.
2023-06-02 17:27:57 -04:00
akleshchev 6c4c57cb47
SL-19660 Merge pull request #199 from beqjanus/main
BUG-233797/233798 - fix blackout when u/w fog_density < 0
2023-05-09 17:55:00 +03:00
Beq 4ae5a8965f BUG-233797/BUG-233798 -ve underwater fog density causes blackout. 2023-04-30 11:52:22 +01:00
Nat Goodspeed bb718155bd DRTVWR-575: Replace some LLSDArray() usage with llsd::array().
It seems newer compilers have a different interpretation of exactly when to
engage LLSDArray's copy constructor. In particular, this assignment:

some_LLSD_map[key] = LLSDArray(...)(...)...;

used to convert the LLSDArray object directly to LLSD; now it first calls the
custom copy constructor, which embeds the intended array within an outer array
before assigning it into the containing map.

The newer llsd::array() function avoids that problem because what it returns
is already an LLSD object.

Taking inventory of LLSDArray assignments of that form turned up a number of
workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is
both simpler and more readable.

Tip of the hat to Chorazinallen for surfacing this issue!
2023-01-03 18:06:45 -05:00
Dave Houlton 353329c2c2 DRTVWR-546 merge in master v6.5.1 2021-11-16 11:44:55 -07:00
Dave Parks 8d20480c5f SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
Andrey Kleshchev ebffbd3c9a SL-14575 Pass validation flags into EEP validators. 2021-01-13 20:47:20 +02:00
Graham Linden 65927e0a76 SL-10181, SL-10546
Fix distortion map rendering in deferred mode not including underwater fog effects.

Fix distortion map rendering not including post-deferred content at all.

Fix distortion map rendering not including anything but sky when camera is underwater.

Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
2019-02-13 13:09:14 -08: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 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 659d14504f SL-1476 EEP Better shader resets and transitions 2018-10-29 18:18:20 +02:00
Rider Linden 6cdcc7fe2e SL-9889: New reconverted default assets 2018-10-17 12:16:24 -07:00
Graham Linden 79d33f9d19 Fix names of WATER_BLUR_MULTIPILER.
Give wave direction uniforms more meaningful names in shaders.

Add comments on glow size/focus conversions for clarity.
2018-10-10 18:44:03 +01:00
Rider Linden ed2e333a54 MAINT-9734: Change limits on settings values. 2018-09-24 17:00:01 -07:00
andreykproductengine 94c24b8713 MAINT-8944 Fix frame transition's images 2018-08-23 20:14:15 +03:00
Rider Linden 9391744164 Add default and wellknown asset ids. 2018-07-16 16:49:49 -07:00
Graham Linden a02b3500b9 Make LLSettingsFoo::defaults() funcs only calculate the invariant values once (use static trick ala the validations).
Fix conversion of legacy settings w/ non-zero east angles to account for those values being CW radian angles.
2018-06-22 00:41:19 +01:00
Graham Linden 91121d113d Merge server side bugfixes over. 2018-06-21 18:37:00 +01:00
Graham Linden 66d78ce1c7 Make water and sky defaults take a position value to allow for default daycycle w/ multiple frames.
Make default daycycle add 8 frames at 0, 0.125, 0.25 etc

Merge over server-side bugfixes.

Eliminate extraneous dirty bits in sky settings.
2018-06-15 21:15:02 +01:00
Graham Linden 34865c4bb5 Mods to hook up water settings to water normals for rendering with support for current to next blending.
Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings.

Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
2018-06-13 00:51:39 +01: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
Rider Linden 2a613d7363 Rework preset loading and context menu from inventory. 2018-06-01 16:24:36 -07:00
Rider Linden 3925e37532 Fix the blend code to record the amount of the blend and to store what is being blended towards. 2018-05-15 17:17:51 -07:00
Rider Linden 7838189843 boost->std & same level interp 2018-02-06 17:27:56 -08:00
Rider Linden 536aeb54a6 MAINT-8052: One more step towards parcel environments. 2018-01-23 17:34:25 -08:00
Rider Linden 1b8c2b5ebb MAINT-8052: Initial support for new EEP cap 2018-01-23 08:54:34 -08:00
Rider Linden 8211f57205 MAINT-7699: Deliver new settings to viewer via cap 2018-01-08 15:10:25 -08:00
Rider Linden d7dd10b88b Split for viewer/simhost sync LLSD with simhost. 2017-11-30 11:32:22 -08:00