Commit Graph

54 Commits (050d2fefab964330e4cb9ad799f8e3a848c400cc)

Author SHA1 Message Date
Brad Linden a7b0f93911 Fixed signed/unsigned warnings after they got enabled in the maint-A merge 2024-06-11 15:39:48 -07:00
Brad Linden 7889df945b Merge remote-tracking branch 'origin/release/materials_featurette' into project/gltf_development 2024-06-04 17:39:39 -07:00
Jonathan "Geenz" Goodman c413458fd4
#1628 Disable spherical mirror probes for the time being. (#1631) 2024-06-04 15:22:38 -07:00
Jonathan "Geenz" Goodman 01c82642ac
#1581 Only render mirrors when reflection probes are enabled. (#1592) 2024-05-29 19:31:58 -07:00
Jonathan "Geenz" Goodman 33bb511ab4
Improvements to mirror probe update rates (#1570)
#1494 Fix for mirror updates getting "stuck" on some faces.
2024-05-28 14:19:18 -07:00
Brad Linden a1f49564d6 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev 2024-05-23 11:31:19 -07:00
Andrey Lihatskiy b06a99f7c7 Post-merge spaces fix 2024-05-15 12:47:27 +03:00
Brad Linden 31a3423239 Merge remote-tracking branch 'origin/release/materials_featurette' into project/gltf_development 2024-05-14 11:07:13 -07:00
Jonathan "Geenz" Goodman ca5e89d741
Even more mirror fixes. (#1429)
#1271 Add support for mirrors that do not have avatars in them.  It does this based on if the probe is set to dynamic or not.

#1370 More optimization work to reduce GPU utilization.

#1058 - Removed sim feature flag that was overriding mirrors enabled flags

secondlife/viewer-private#128 - Locally cache the mirror probe

#679 Add additional options to the build floater for mirror probes, including descriptions.
2024-05-08 11:28:51 -07:00
RunitaiLinden 8b747cee18 BOOL to bool 2024-05-06 16:49:24 -05:00
Jonathan "Geenz" Goodman 7ef2b43802
Multiple fixes for mirrors. (#1192)
* #1064 Fix for mirror surfaces going black when the roughness is set too high.

* #1130 Fix for the user's avatar not appearing in mouselook in a mirror.

* #1059 Disable mirrors on low settings per the feature table.

* #860 Modify the settings UI to better reflect that we only have two AA modes: off and FXAA.

* #1191 Add some settings for mirrors in preferences.

* #1185 Add support for runtime mirror resolution changing.  Useful for quality settings, and auto-FPS.
2024-04-10 15:21:59 -07:00
RunitaiLinden ef75523555
983 add debug setting to control the maximum download resolution (#986)
* Create RenderMaxTextureResolution.md

* #983 Add RenderMaxTextureResolution setting.  Incidental crash fix.
2024-03-13 12:22:12 -05:00
Jonathan "Geenz" Goodman 4b738a619a #681 Small fix for if a viewer object may be dead. 2024-03-06 18:24:36 -08:00
Jonathan "Geenz" Goodman 1fc45a50ff #681 Add probe blending for mirrors. 2024-03-06 17:56:16 -08:00
Jonathan "Geenz" Goodman b3283036af #681 Start adding blending boilerplate. 2024-02-26 04:02:09 -08:00
Jonathan "Geenz" Goodman 8c79297a89 #682 Further tweak the conservative update mechanism. 2024-02-26 01:21:41 -08:00
Jonathan "Geenz" Goodman 1b8523a7b6 #890 Make sure we're doing the correct distance check.
#682 Improve the conservative update functionality for mirror faces.  Make it attenuate depending on how much the camera is facing that specific cubemap face.
2024-02-26 00:30:44 -08:00
Jonathan "Geenz" Goodman 2ba5449b8b #889 Start removing mDrawable references. These may be null. 2024-02-25 23:38:11 -08:00
Jonathan "Geenz" Goodman 3202587297 #682 Add a low priority path for conservative probe face updates. This will update the "low priority" faces at half of the the probe update rate. Useful for less planar reflection geometry. 2024-02-25 22:52:23 -08:00
Jonathan "Geenz" Goodman e68735ad3a #682 Add an update rate parameter to help throttle mirror updates.
So far 4 seems like a good balance for performance and quality.  2 is great for quality, with 6 or 8 being for higher performance.  Also bring back the gaussian filter - may end up adding the FXAA filter though instead.
2024-02-21 11:51:46 -08:00
Jonathan "Geenz" Goodman 8cea285114 #682 Separate out the radiance gen. 2024-02-20 18:21:45 -08:00
Jonathan "Geenz" Goodman 7a9cdf2b52 #682 Do conservative updates on probes. 2024-02-15 09:38:29 -08:00
RunitaiLinden a7310ae741 #671 Nudge RenderMirrors and clear shader cache as needed based on SimulatorFeatures 2024-02-08 15:07:54 -06:00
RunitaiLinden c721152c44 Fix for crash in LLHeroProbeManager 2024-02-08 14:54:01 -06:00
Jonathan "Geenz" Goodman 97d2b21621 #671 Setup the viewer to respect the MirrorsEnabled simulator feature. 2024-02-08 11:39:35 -08:00
Jonathan "Geenz" Goodman 739ff27c06 #740 Make sure we evaluate if the probe is a mirror probe or not.
#682 Re-enable gaussian filtering, and reduce the mirror resolution back to 1024.

Also just generally clean up the code a bit.
2024-02-06 02:53:57 -08:00
Jonathan "Geenz" Goodman aab98046b9 #677 More clipping fixes. 2024-02-01 13:03:28 -08:00
Jonathan "Geenz" Goodman fac63e473a #684 Fix pixellation on mirrors regardless of mirror resolution. 2024-02-01 12:11:20 -08:00
RunitaiLinden a4225663ac #677 Set mirror pass flag in llsettingsvo 2024-02-01 10:16:52 -06:00
Jonathan "Geenz" Goodman 476cbaed6a #677 Some clipping WIP 2024-01-31 15:54:14 -08:00
Jonathan "Geenz" Goodman a888531fd1 https://github.com/secondlife/viewer-issues/issues/23 Make the face selection for mirrors actually reflect what it does 2024-01-24 16:22:45 -08:00
Jonathan "Geenz" Goodman 4d39d88997 https://github.com/secondlife/viewer/issues/671 Wire up the RenderMirrors debug setting. 2024-01-24 15:50:13 -08:00
Jonathan "Geenz" Goodman e841c73a99 Tons of masking changes and tweaks.
We now support masking mirrors in the GBuffer.

We also now support the concept of one arbitrary clip plane.

DRTVWR-583
2023-10-16 08:45:48 -07:00
Jonathan "Geenz" Goodman e612d70fad Fix for probe stealing, and also make sure we're not super sampling.
DRTVWR-583
2023-10-06 06:21:53 -07:00
Jonathan "Geenz" Goodman 1d3d94a514 Add probe near clipping.
DRTVWR-583
2023-09-29 16:25:25 -07:00
Jonathan "Geenz" Goodman 052d5c2802 Wire up the debug settings.
DRTVWR-583
2023-09-29 04:33:11 -07:00
Jonathan "Geenz" Goodman 80df1d681e Can you say, generic reflectors?
DRTVWR-583
2023-09-29 04:11:25 -07:00
Jonathan "Geenz" Goodman 18b219cf83 Start removing the concept of placement mode - it's either a mirror or not.
DRTVWR-583
2023-09-25 19:20:46 -07:00
Jonathan "Geenz" Goodman d092f3e1dc Get the average normal of the face.
DRTVWR-583
2023-09-25 12:18:02 -07:00
Jonathan "Geenz" Goodman 3ff3e1a353 Remove some unnecessary irradiance map bits, also fix the leak.
DRTVWR-583
2023-09-20 14:57:25 -07:00
Jonathan "Geenz" Goodman d6f15179d1 Remove the rebuild on the drawable. Wasn't working as expected anyways.
DRTVWR-583
2023-09-09 14:51:12 -07:00
Jonathan "Geenz" Goodman 7761ebea48 Update llheroprobemanager.cpp
DRTVWR-583
2023-09-08 21:55:15 -07:00
Jonathan "Geenz" Goodman d4c75b9b76 Mostly fixed placement math.
DRTVWR-583
2023-09-08 21:29:05 -07:00
Jonathan "Geenz" Goodman 091beab798 Even more placement modes. Reflected axis modes need work.
DRTVWR-583
2023-09-08 17:43:24 -07:00
Jonathan "Geenz" Goodman 25aee5e983 Some more modes for mirrors to place the probe.
DRTVWR-583
2023-09-08 15:54:52 -07:00
Jonathan "Geenz" Goodman 32d1984bf9 Temporary data model shenanigans.
Should help tweak and tune placement with direct community guidance.
DRTVWR-583
2023-09-01 08:28:57 -07:00
Jonathan "Geenz" Goodman 348d427db6 Add a probe strength uniform for hero probes.
On standard reflection probes this doesn't really do anything.

DRTVWR-583
2023-08-29 05:08:47 -07:00
Jonathan "Geenz" Goodman fbecd348f8 Add protocol level mirror support, and UI. 2023-08-29 03:04:04 -07:00
Jonathan "Geenz" Goodman 3160520249 Fix the probe flashing, and avatars.
DRTVWR-583
2023-08-24 12:51:19 -07:00
Jonathan "Geenz" Goodman 0eba1396dc Experiment with placement a bit when there's no drawable.
DRTVWR-583
2023-08-21 07:59:06 -07:00