Commit Graph

77610 Commits (de2ef92061fb82bd45eea9687bf53bf8a5c5098f)

Author SHA1 Message Date
PanteraPolnocy de2ef92061 FIRE-35275 French translation update, by Laurent Bechir 2025-03-22 18:23:45 +01:00
PanteraPolnocy 961044daaa FIRE-35272, FIRE-35266 Updated Chinese (by 小滢 Zi Ying), Russian (by Romka Swallowtail) and Polish translations 2025-03-22 16:57:07 +01:00
Beq 5a14d48a94 [FIRE-35007][#3331] Mirrors not working after relog even when enabled.
This fixes the bug, but the deeper problem of NaN behaviour under fastmath needs to be examined.
2025-03-22 00:47:28 +00:00
Beq f54d29ba69 clarify logic precedence to keep gcc (and me) happy 2025-03-21 00:27:38 +00:00
Beq 846750abc4 Merge remote-tracking branch 'origin/FIRE-35081' 2025-03-20 23:47:30 +00:00
minerjr ddca8a3d62 Merge branch 'master' into FIRE-35081 2025-03-17 23:22:17 -03:00
minerjr bd45bd6e4b FIRE-35081 - minor fixup for Pipeline.cpp
Removed /* from the code (Was missed in previous checkin)
2025-03-17 23:16:01 -03:00
minerjr c082f0cd76 FIRE-35081 - Handled animated/media textures, grass, tree and light textures
Added new boost levels for Tree, Grass and Light textures (More for tracking as they have custom hard coded values for the mPixelArea which causes issues with loading of sizes.
Added adjustments for the calcPixelArea and calcImportanceToCamera as well as getTextureVirtualSize
Added virtual texture size updates for Media textures

Added code to scale down off screen textures (saves a lot of texture VRAM.
Added additional features for the LLViewerTextureList::Dump

Only issue is server controlled textures which animate tend to load low quality, then upscale as well as Sculpted Volume's which force textures to reload.
2025-03-17 23:13:41 -03: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
minerjr 0a4601b764 Added 2 minor fixes for LLFace
Added init value for mCloseToCmera for LLFace
Changed mCloseToCamera assignment from True to 1.0f (It was a bool at one point) in LLFace
2025-03-11 23:51:23 -03:00
minerjr 5b0801e535 [FIRE-35081] - Fixed blurry textures and scaling issues
Added new calculation to the LLCamera for draw distance multiplier
Removed the Inverse aspect as not longer used
Modified the LLFace to no long user the inverse aspect.
Updated mInFrustum to use mImportanceToCamera as it was correct
LLViewerCamera removed the mCosCameraFOV (not used anymore)
Added LLViewerMenu option under Developer->Dump->Texture List to dump texture list to info for debugging.
LLViewerTexture viewer for LOD textures, now loops to make the texture fit to cover the max discard value instead of calculating with logs and divisions.
LLViewerTextureList updated to to dump texture list to the Infos, and updated to boost for not only textures based upon the importance to the camera, but to boost a second time for textures close to the camera. Also capped the mMaxVirtualSize to try to help track down texture size changes
Updated LLPipeline to use same getDrawDistanceMultiplier as the texture calcPixelArea code.
2025-03-12 00:32:16 +00:00
minerjr c64a294cf1 Fixed up animations to always be running (Frustum may need revision
Fixed up animations to always be running, so they should not stutter or be in odd places when turning the camera.
May need to revise the mInFrustum as trying to make sure it's within the actual visual location. Need to test with
2025-03-12 00:32:16 +00:00
minerjr 8a0cf5ca0f Added storing the full Cos FOV for the camera
Added storing the full Cos FOV for the camera
2025-03-12 00:32:16 +00:00
minerjr 27ec21aa7e Added invers aspect ratio
Added inverse aspect ratio for use with face virtual textures.
2025-03-12 00:32:16 +00:00
minerjr 87eb902f7a [FIRE-35081] Blurry prims not changing with graphics settings, not happening with SL Viewer
Changed the textures to divide the texture vsize  by the Aspect Ratio and Fields of view. to better control when a texture needs to be scaled down.
Fixed issue when low screen image size could cause an assert on the on screen console due to negative sizes(Calculated to -30 from the value and code that uses the negative location
Updated the logic in LLViewerObjectList to fix the issue of mObjects being modified at possibly any time by the code it calling.
2025-03-12 00:32:16 +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 aed5b4402a Merge branch 'main' of https://github.com/secondlife/viewer 2025-03-07 17:19:17 +01:00