Commit Graph

77610 Commits (36a84329090e43e750204cce3116f2a85a7b63a5)

Author SHA1 Message Date
Ansariel 36a8432909 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	scripts/messages/message_template.msg
#	scripts/messages/message_template.msg.sha1
2025-03-19 15:00:25 +01:00
Ansariel 8cba447d68 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-03-19 14:42:06 +01:00
Jonathan "Geenz" Goodman f462037b8e
Merge pull request #3760 from secondlife/leviathan/update-message-template-redux
message_template.msg to agree with master-message-template
2025-03-18 09:25:49 -04:00
AndrewMeadows 1a92e392ea message_template.msg to agree with master-message-template 2025-03-17 13:01:47 -07:00
PanteraPolnocy e8c0b03065 FIRE-35251, FIRE-35254 Chinese (by 小滢 Zi Ying), French (by Laurent Bechir) and Polish translation updates 2025-03-15 22:08:40 +01:00
PanteraPolnocy b739c98acd Let's just replace that newline with 
 character in all panel_region_environments 2025-03-15 22:05:54 +01:00
PanteraPolnocy 3877742807 Remove duplicates from all applicable translations 2025-03-15 21:52:19 +01:00
Angeldark Raymaker 1fefe61832 Poser: Remove old UI names for ears 2025-03-15 19:47:03 +00:00
Ansariel 306ce3ead4 Small cleanup 2025-03-15 02:52:29 +01:00
Ansariel e69a07a6ab Make buttons in poser localizable 2025-03-15 02:35:30 +01:00
Ansariel 73998410c4 Update German translation 2025-03-14 11:26:02 +01:00
PanteraPolnocy 545b1dea5c Updated Polish transaltion, minor fixes in English one (poser) 2025-03-14 00:54:18 +01:00
Beq 501100acef [FIRE-33200] Fix ShadowRes breaks shadows (update tagging)
Original fix by William Weaver (paperwork)
closes FIRE-33200
also:
minor edit to remove stray unicode in comment
2025-03-13 20:58:24 +00:00
Beq 95dcbfb8c1 Visual Poser v1.1 (with UI refactor)
This merges in the V1.0 poser + changes since the last beta
* a UI refactor (from angeldark raymaker)
* unified undo/redo history (angeldark raymaker)
* toggle to allow enable/disable of visual manipulator (beq)
* undo/redo keyboard accelerator support (ctrl-z/ctrl-y)
* improved focus loss/gain handing
TODO: when another tool is used (edit tools) the floater still thinks visuals are active, toggling it fixes this but it can be handled better
2025-03-13 13:21:36 +00:00
Beq 520f2706ce let the deferred resize control when it is actually done. 2025-03-13 13:10:46 +00:00
Beq ae665441e1 Revert "Merge pull request #88 from williamweaver/PRFS/Fixes-ShadowResolutionScale"
This reverts commit f2b751419f, reversing
changes made to 4520e92f21.

While this does fix the problem, it ignores the reason why a deferred resize was previously employed.

The correct fix is to fix the broken display() function.
2025-03-13 12:56:19 +00:00
Beq eecf28896e Add undo/redo keyboard accelerator support to poser 2025-03-13 12:46:56 +00:00
Beq Janus f2b751419f
Merge pull request #88 from williamweaver/PRFS/Fixes-ShadowResolutionScale
Fixes: Correctly update shadows on RenderShadowResolutionScale change
2025-03-13 01:16:08 +00:00
Beq Janus 4520e92f21
Merge pull request #89 from williamweaver/PRFS/Fixes-SSAO-Consistency
Fixes: Improve SSAO Appearance Consistency for High-Resolution Snapshots
2025-03-13 01:14:26 +00:00
Beq 4130e9a416 Allow toggle of visual manipulators. 2025-03-13 00:51:41 +00:00
Beq 3fd6a54fc5 Change CrashContext file name per new BugSplat update 2025-03-13 00:49:23 +00:00
Beq fdc848160d Fix lambda to keep MacOS happy 2025-03-12 21:19:22 +00:00
Beq 2728c252f4 Make Linux happy about header files 2025-03-12 21:19:22 +00:00
Beq 6a12b00b82 Visual posing v1.0 - rotation and major joint selection in world
Working visualiser, shows "correct" naturla rotation, toggled in poser for world rot
fully working manipulator
2025-03-12 21:19:22 +00:00
Angeldark Raymaker 63579a9da7 Poser: Update save version
and only set to teePose if reading less buggy XML
2025-03-12 20:45:22 +00:00
Angeldark Raymaker 5e0a207fb3 Poser: Correct base rotation zeroing
Fix load/save diff/pose button text
2025-03-12 20:45:22 +00:00
Angeldark Raymaker 47a2a78089 Poser: Refactor undo to one stack
Rework UI: removed 'advanced' panel. Remove yaw/pitch/roll sliders. Added Symmetrize L/R.
2025-03-12 20:45:22 +00:00
Andrey Kleshchev f9035a4b8b viewer#1061 Altitudes are invisible in region's environment 2025-03-12 18:00:37 +00:00
William Weaver 45836d65d3
Merge pull request #3 from ApertureViewer/PRFS/Fixes-SSAO-Consistency
Fixes: Improve SSAO Appearance Consistency for High-Resolution Snapshots
2025-03-09 20:29:01 +03:00
William Weaver 4e2435eabe
Merge branch 'FirestormViewer:master' into PRFS/Fixes-SSAO-Consistency 2025-03-09 19:25:25 +03:00
William Weaver b0a5216b27 Fixes: Improve SSAO Appearance Consistency for High-Resolution Snapshots
Detailed description of the changes.

This commit addresses an issue where Screen Space Ambient Occlusion (SSAO) appearance was inconsistent, particularly in high-resolution snapshots compared to the main viewer window.

Previously, the SSAO radii parameters (RenderSSAOScale and RenderSSAOMaxScale) were directly applied to the shader without considering the resolution difference between the viewer window and the render target (snapshot).  This resulted in SSAO appearing too small and under-sampled in high-resolution snapshots, as the sampling radius was not scaled up to match the larger snapshot resolution.

To resolve this, a scaling factor is now calculated based on the ratio of the viewer window's height to the snapshot's height:

    scale_factor = viewer_window_height / snapshot_height

This scale factor is then used to divide the user-defined SSAO radius values before they are passed to the shader.  When the snapshot resolution is higher than the viewer resolution, the `scale_factor` becomes less than 1. Dividing by this factor effectively increases the SSAO radii, ensuring the ambient occlusion effect scales proportionally to the higher resolution.

For example, if the viewer is running at 1080p height and a snapshot is taken at 4096p height, the scale factor would be approximately 1080 / 4096 ≈ 0.2637. Dividing the SSAO radii by 0.2637 results in multiplying them by approximately 3.79, thus scaling up the SSAO effect to maintain visual consistency in the high-resolution snapshot.

Intended Impact & Benefits:

- **Visual Consistency:** Ensures that the SSAO effect maintains a consistent visual scale and intensity between the interactive viewer display and high-resolution snapshots, providing a more predictable and professional output.
- **Improved User Experience:** Users capturing high-resolution snapshots will now experience a more accurate and visually pleasing SSAO effect, preventing the unintended diminishment of ambient occlusion and preserving the intended scene aesthetics.
- **Balanced Quality Across Resolutions:**  The fix dynamically adjusts the SSAO radii based on resolution, maintaining a balanced and consistent level of detail and intensity across varying output resolutions without requiring manual user adjustments.

Testing:

- **Build:** Rebuild the Aperture Viewer after applying this commit.
- **Run:** Launch the viewer and ensure that Screen Space Ambient Occlusion (SSAO) is enabled in the graphics settings.
- **Visual Comparison (Viewer vs. High-Resolution Snapshot):**
    1.  In the viewer, observe the appearance of SSAO in a scene with noticeable ambient occlusion effects.
    2.  Take a high-resolution snapshot to disk (e.g., 4096p or higher).
    3.  Compare the SSAO effect in the saved snapshot image to the SSAO in the live viewer window. The SSAO in the snapshot should now appear visually consistent in scale and intensity with the viewer, and not diminished or under-sampled.
- **Resolution Variation (Recommended):** Test with different viewer window sizes (e.g., 720p, 1080p) and snapshot resolutions (including resolutions higher than the viewer) to verify that the SSAO consistency is maintained across a range of rendering targets.

Documentation:

- No specific updates to the  Wiki are required as this commit is a bug fix that improves the existing SSAO feature's consistency.
- It is recommended to include a note about this fix in the Viewer release notes to inform users about the improved SSAO behavior in high-resolution snapshots.
2025-03-09 19:24:41 +03:00
William Weaver 7bbbecc2b8
Merge pull request #2 from ApertureViewer/PRFS/Fixes-ShadowResolutionScale
Fixes: Correctly update shadows on RenderShadowResolutionScale change
2025-03-09 18:55:03 +03:00
William Weaver a096005de5
Merge branch 'FirestormViewer:master' into PRFS/Fixes-ShadowResolutionScale 2025-03-09 18:37:44 +03:00
William Weaver f2962eb522 fix: Correctly update shadows on RenderShadowResolutionScale change
Shadows were not updating correctly when the RenderShadowResolutionScale setting was changed in-session, leading to broken shadows.

This commit changes the signal listener for "RenderShadowResolutionScale" in llviewercontrol.cpp from `handleShadowsResized` to `handleSetShaderChanged`.

`handleSetShaderChanged` ensures a full shader update, which is necessary for this setting to take effect immediately, similar to other render settings like RenderDeferredSSAO.

This fix ensures shadows update correctly when the resolution scale is changed without requiring a viewer restart.
2025-03-09 18:36:57 +03:00
Ansariel fb675c42f8 Apply my actual std::lerp fixes submitted to LL develop branch 2025-03-08 23:58:03 +01:00
Ansariel 98a96cf033 Revert "tentative workaround for gcc c++20 std::lerp clash"
This reverts commit 19999b5858.
2025-03-08 23:46:30 +01:00
Beq 19999b5858 tentative workaround for gcc c++20 std::lerp clash
We may revert this for a better less dispruptive solution if we can find one.
2025-03-08 17:19:19 +00:00
PanteraPolnocy f1090e2f61 Synch / clean up panel_progress.xml for all applicable translations 2025-03-08 15:09:33 +01:00
PanteraPolnocy a6a79ee904 FIRE-35237, FIRE-35235 Chinese (by 小滢 Zi Ying), Russian (by Romka Swallowtail) and Polish translation updates 2025-03-08 14:57:23 +01:00
Ansariel 7c8a1dec41 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llui/llfloater.h
#	scripts/messages/message_template.msg.sha1
2025-03-08 12:59:32 +01:00
Ansariel aed5b4402a Merge branch 'main' of https://github.com/secondlife/viewer 2025-03-07 17:19:17 +01:00
Ansariel 6522975250 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-03-07 17:19:04 +01:00
Jonathan "Geenz" Goodman 37b26062cf
Merge pull request #3686 from secondlife/main
Merge pull request #3304 from secondlife/release/2024.12-ForeverFPS
2025-03-06 15:24:26 -05:00
Jonathan "Geenz" Goodman e6927d8a07
Merge pull request #3304 from secondlife/release/2024.12-ForeverFPS
2024.12 ForeverFPS
2025-03-06 15:23:54 -05:00
PanteraPolnocy eceef94d5b FIRE-35181 Chinese Translation cleanup, by 小滢 Zi Ying 2025-03-05 14:29:38 +01:00
Beq 515e5773a3 Improve debug and eliminate some potential buffer overrun in debug 2025-03-04 01:51:39 +00:00
Beq bdaf67912e ignore a few of the upstream merges of white space changes that hide blame 2025-03-04 01:49:53 +00:00
Beq 078e5d1c5a update contributors (Dax Dupont) 2025-03-03 21:04:40 +00:00
Beq Janus 45cf0c3ce8
Merge pull request #82 from DaxDupont/hid-fix
[FIRE-10419 & FIRE-32546] Selectively process devices based on CLSID to prevent stuttering
2025-03-03 15:50:31 +00:00
Beq Janus bd010d1a87
Merge pull request #85 from FirestormViewer/dependabot/github_actions/dawidd6/action-download-artifact-9
Bump dawidd6/action-download-artifact from 8 to 9
2025-03-03 14:11:05 +00:00