summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
AgeCommit message (Collapse)Author
2024-09-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-07-08Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h ↵Ansariel
and llunittype.h for now
2024-06-11Merge tag '7.1.8-release'Erik Kundiman
source for viewer 7.1.8.9375512768
2024-05-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-05-15Merge branch 'main' into marchcat/x-mf-mergeAndrey Lihatskiy
# Conflicts: # doc/contributions.txt # indra/newview/llfloaterimagepreview.cpp
2024-05-15Post-merge spaces fixAndrey Lihatskiy
2024-05-01Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-mergeAndrey Lihatskiy
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-04-02#854 Fix for skies that shouldn't be auto-adjusted getting auto-adjusted. ↵RunitaiLinden
(#1115)
2024-04-01Fix the bogus, zero cloud scroll rate in default EE sky settings.Henri Beauchamp
Obvioulsy, there has been a typo done when copying WL default sky parameters to EE ones. This causes "static" and quite unrealistic clouds when this default setting is used as a base for a new sky setting, and we see this bad static sky resurfacing now with PBR and its "adjusted" (more like hacked, but this is another story) mid-day sky setting. Let's fix this typo once and for all in LL's code base (most TPVs have it fixed already, and this ever since EEP got released). @LL: please also fix the cloud scroll rate in the PBR mid-day inventory setting accordingly.
2023-10-26Merge remote-tracking branch 'secondlife/DRTVWR-559' into DRTVWR-559Erik Kundiman
2023-10-25Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-09-23Merge remote-tracking branch 'secondlife/DRTVWR-559' into DRTVWR-559Erik Kundiman
2023-09-11SL-19842 WIP -- Now that probes can override ambient, unroll ambient ↵RunitaiLinden
darkening hacks.
2023-09-10Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-08-22SL-19842 WIP -- Move sky auto adjustment magic numbers to debug settings.RunitaiLinden
2023-07-28SL-20067 Make new default midday the new default sky settingRunitaiLinden
2023-07-19Explicitly mean to use boost:placeholdersErik Kundiman
Otherwise _1 and _2 would be considered undeclared in many places.
2023-06-22SL-19785 Fix for blown out skies from Glow Focus. Add notification when ↵RunitaiLinden
editing legacy skies.
2023-06-05SL-18837: Followup to 19e9e8c: global Boost.Bind placeholdersNat Goodspeed
do not need 'using' directive, given BOOST_BIND_GLOBAL_PLACEHOLDERS.
2023-06-02SL-18837: Boost.Bind _1, _2 placeholders are no longer global.Nat Goodspeed
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-01DRTVWR-559 Revert skies to be very close to release and disable tone mapping ↵RunitaiLinden
when probe ambiance is zero. Hack for desaturating legacy materials has been removed for performance and quality reasons. Adds a new setting for auto adjusting legacy skies. This is the PBR "opt out" button. If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure. If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half. HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed. If you want relatively even exposure all the time, set HDR Scale to 1.0. If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale. Also tuned up SSAO (thanks Rye!). Reviewed with Brad.
2023-05-04DRTVWR-559 LLSD array build fixAndrey Kleshchev
2023-05-04Merge remote-tracking branch 'origin/zap-LLSDArray' into DRTVWR-559Brad Linden
2023-05-03DRTVWR-575: Replace some LLSDArray() usage with llsd::array().Nat Goodspeed
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! (cherry picked from commit bb718155bddfbe7007029a0c9e69a4a98615f14d)
2023-04-12SL-19390 Make "Cloud Coverage" feedback into ambient when probe ambiance is ↵RunitaiLinden
zero and feedback into probe ambiance when probe ambiance is not zero.
2023-04-06SL-19538 Nudge sun brightness and replace "gamma" with an exposure scaler ↵Dave Parks
approximation
2023-02-07SL-18780 Turn down contribution of cloud shadow to reflection probe ambiance ↵Dave Parks
and make the value a debug setting.
2023-01-03DRTVWR-575: Replace some LLSDArray() usage with llsd::array().Nat Goodspeed
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!
2022-12-16SL-18780 Feedback cloud coverage into reflection probe ambiance to recover ↵Dave Parks
legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance.
2022-06-10SL-17523 Add reflection probe ambiance to windlight settings and integrate ↵Dave Parks
with UI and ReflectionMapManager
2022-01-14SL-16606: Add profiler category ENVIRONMENTPtolemy
2021-11-16DRTVWR-546 merge in master v6.5.1Dave Houlton
2021-10-29Fix merge conflictPtolemy
2021-10-28SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove ↵Dave Parks
LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2021-10-27SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵Ptolemy
vars, and use atmospheric already calculated
2021-10-27Merged in SL-16127 (pull request #741)Michael Pohoreski
SL-16127 Approved-by: Euclid Linden Approved-by: Dave Parks
2021-10-21SL-16127: Replace slow getLightTransmittance with faster versionPtolemy
2021-10-19SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument ↵Dave Parks
LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead.
2021-01-13SL-14575 Pass validation flags into EEP validators.Andrey Kleshchev
2020-07-01SL-12978 Add note about similar code in C++ and GLSLPtolemy
2020-02-24SL-12741 Moon was using fixed colorAndrey Kleshchev
2019-12-19SL-11606 fix to match EEP light falloff vs releaseDave Houlton
2019-08-27SL-11055Graham Linden
Remedy cloud_shadow and hack halving being done twice to ambient in some cases (i.e. artificial dimunition of necessary bullshit factor).
2019-08-22SL-11776Graham Linden
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-08-13SL-11212Graham Linden
Remove color clamping in determining sun diffuse and moonlight diffuse color from atmo settings.
2019-07-24SL-11600Graham Linden
Make default direction when neither sun nor moon are up straight down instead of noon.
2019-07-10SL-11541 WIPGraham Linden
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release. Add transmittance effects to the low-end sky tex gen.
2019-06-03MergeGraham Linden
2019-06-03SL-10966Graham Linden
Fix light atten and transmittance calcs breaking ambient color contrib to fog. Needs to be tested on DRTSIM-415 or better to get legacy viewer settings that match EEP.