Commit Graph

50672 Commits (00c4d2ed4e5daab044f88c5eb58bea5be40e0ba2)

Author SHA1 Message Date
Cosmic Linden 72987ac256 secondlife/viewer#760: Update test plan for terrain texture max resolution validation 2024-03-15 12:48:45 -07:00
Henri Beauchamp b40ff113c5 Allow fading emojis characters in fading text.
In the recent emojis implementation, the text color alpha is ignored
(emojis are always rendered with an opaque white color), causing them
to fail and fade properly with the rest of the text they are printed
with.

This trivial patch fixes this issue.
2024-03-15 21:45:55 +02:00
cosmic-linden b29c290a34
Merge pull request #1007 from secondlife/v-760
secondlife/viewer#760: Fix terrain texture validator not respecting 2k texture feature flag
2024-03-15 12:44:03 -07:00
Henri Beauchamp f496800098 Revert 326055ba82 after 2f452d06e6
It is necessary to revert commit 326055ba82
for 2f452d06e6 to work its magic and repair
script dialogs so that they render as they used to before the emojis fonts
introduction.

Note that this revert won't prevent to use the new emojis should scripters
want them in their new scripted dialogs: it just ensures existing scripted
dialogs using special UTF-8 characters (which are not genuine emojis) will
render as they used to, using the monochrome fallback fonts.
2024-03-15 19:49:52 +02:00
Cosmic Linden cb1b23d8bf secondlife/viewer#760: Fix terrain texture validator not respecting RenderMaxTextureResolution 2024-03-15 10:45:53 -07:00
Andrey Kleshchev 1161262029 SL-18721 Restore release behavior
Closing window correctly caused a significant amount of logout freezes
with no known reproes. Temporarily returning to old behavior were thread
was killes without closing window and will reenable in later maints to
hopefully get a scenario or at least more data of what is causing the
freeze.
2024-03-15 19:44:38 +02:00
cosmic-linden d2c16794eb
Merge pull request #993 from secondlife/v-988
secondlife/viewer#988: Fix terrain composition label getting cut off
2024-03-14 08:22:42 -07:00
Andrey Kleshchev 56c88b8343 SL-20288 Fix renaming
getChangedIDs is only accurate in scope of observer's callback, don't
use it onIdle.
getObject call made no sense, item was warrantied to be
LLViewerInventoryItem and would only be AT_CATEGORY if it is a link,
making the following cast to a category dangerous
2024-03-14 17:19:55 +02:00
cosmic-linden e056d4f720
Merge pull request #992 from secondlife/vi-76
secondlife/viewer#76: Change wording of terrain blending documentation when using materials
2024-03-13 17:07:42 -07:00
Cosmic Linden 16654c0bd8 secondlife/viewer#988: Fix terrain composition label getting cut off 2024-03-13 17:06:07 -07:00
Henri Beauchamp 2f452d06e6 Proposal #2 to restore how UI/dialogs used to render by prioritizing fallback fonts.
With the emojis support, a new font was added, which not only provides emojis
but also fancy colorful replacements for UTF-8 characters that used to be
supported by our fallback (monochrome) fonts: this causes discrepancies and
unwanted/undesired changes in scripted objects menus (e.g. an empty circle or
square may render as a black, full one, a heart may render red instead of white),
not to mention the larger font size used by the emoji characters...

This patch restores the aspect of such menus/dialogs/UI elements with UTF-8
characters that *are* supported by the usual fallback fonts (fonts which may
also vary from one viewer to another, and from one OS to another), so that
everything keeps working/rendering as it always did so far, while not impairing
the use of new colorful emojis.

This second proposal ensures that:
- "genuine" emojis (in the 0x1f000-0x1ffff range), will *always* be rendered
  using the new emojis font (this solves, for example, the monochrome "yellow
  faces" issue seen with some characters in my first proposal).
- Special UTF-8 characters (in the 0x2000-0x32FF range) which have been used by
  scripters so far, will render as they used to, using the monochrome fallback
  fonts (this repairs scripted dialogs menus).
- Remaining special characters, that do not have a corresponding glyph in the
  monochrome font, but do have one in the emojis font, will use the latter font
  to render.

It also got the nice side-effect of removing the dependency on the ICU4C library.

Note however that the recent commit:
326055ba82
will need to be reverted to allow this patch to actually fix scripted dialogs.

Also, some cleanup might be needed in skins/default/xui/*/emoji_characters.xml to
remove from it the special UTF-8 characters that will no longer be rendered with
fanciful colors, but instead with the monochrome font glyphs.
2024-03-14 01:47:14 +02:00
Cosmic Linden 1a539523e2 secondlife/viewer#76: Update test plan to specify that terrain composition labels should match the current context 2024-03-13 16:21:38 -07:00
Cosmic Linden e42297fb19 secondlife/viewer#76: Change wording of terrain blending documentation when using materials 2024-03-13 16:19:28 -07:00
Brad Linden 665d59d46e
Merge pull request #978 from secondlife/brad/926-hdri-local-openexr-static-link
secondlife/viewer#926 chage openexr lib to use static link on mac
2024-03-13 12:51:09 -07:00
RunitaiLinden 4c3d090bf4 #926 Unshuffle autobuild.xml 2024-03-13 14:47:31 -05:00
RunitaiLinden 5c605a60f5 Revert "secondlife/viewer#926 further work on mac openexr lib."
This reverts commit ce6170802d.
2024-03-13 14:42:22 -05:00
RunitaiLinden d909e72438
#975 Add RenderHDRISplitScreen debug setting (#976)
* #975 Add RenderHDRISplitScreen debug setting

* Create hdri_local_preview.md
2024-03-13 12:27:33 -05: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
cosmic-linden 329996de50
Merge pull request #987 from secondlife/v-906
secondlife/viewer#906: Add test plan for PBR terrain tiling
2024-03-13 10:20:54 -07:00
Cosmic Linden f335d9af2c secondlife/viewer#906: Add tiling test to renamed PBR terrain appearance test plan 2024-03-13 10:18:09 -07:00
Cosmic Linden 7acfc57cbe secondlife/viewer#906: Rename a PBR terrain test plan 2024-03-13 10:11:03 -07:00
cosmic-linden 251c8bfa1c
Merge pull request #985 from secondlife/v-906
secondlife/viewer#906: Bump PBR terrain scale, decreasing texel density by 1/2
2024-03-13 10:01:04 -07:00
Cosmic Linden 3d13a3733d secondlife/viewer#906: Bump PBR terrain scale, decreasing texel density by 1/2 2024-03-13 09:50:33 -07:00
Ansariel 0cc3a4bf68 Remove obsolete LLSINGLETON_C11 and LLSINGLETON_EMPTY_CTOR_C11 macros 2024-03-13 11:21:16 +02:00
Brad Linden 231062d532 Fix github actions dependency deprecations 2024-03-12 17:49:19 -07:00
Brad Linden ab5ea5d134 secondlife/viewer#926 switching cmake config for mac openexr to use new static libs 2024-03-12 16:49:20 -07:00
Brad Linden ce6170802d secondlife/viewer#926 further work on mac openexr lib.
switching mac lib to be statically linked

autobuild installables edit openexr platform=darwin64 url=https://github.com/secondlife/3p-openexr/releases/download/v1.10/openexr-3.2.2-darwin64-df7544d.tar.zst hash_algorithm=sha1 hash=17cd63922214b588d9a36137fadf927237ec0f25
autobuild installables edit openexr platform=linux64 url=https://github.com/secondlife/3p-openexr/releases/download/v1.10/openexr-3.2.2-linux64-df7544d.tar.zst hash_algorithm=sha1 hash=b092658ab5ec009a5875e8b6e5b7109730ad6846
autobuild installables edit openexr platform=windows64 url=https://github.com/secondlife/3p-openexr/releases/download/v1.10/openexr-3.2.2-windows64-df7544d.tar.zst hash_algorithm=sha1 hash=c511ae9a3e401375af2199b498a75f32cebc010f
2024-03-12 16:46:48 -07:00
Andrey Kleshchev 6ed3a1670c
SL-20735 Fix blury profile pictures #2 (#963)
Scaling was added to thumbnail images as a measure of memory preservation and said scaling doesn't work well when larger images are needed so had to remake profile images to no longer use thumbnails.
2024-03-12 21:53:38 +02:00
RunitaiLinden f16a1bf0af
Merge pull request #974 from secondlife/965-eep-skies-too-bright-after-hdri-local-preview-merge
965 eep skies too bright after hdri local preview merge
2024-03-12 14:34:51 -05:00
RunitaiLinden 457b720fd9 #965 Fix for EEP skies being too bright 2024-03-12 14:26:21 -05:00
Andrey Lihatskiy 6b285674bb
Merge main into DRTVWR-600-maint-A 2024-03-12 21:14:45 +02:00
Ansariel eb1ed3896f Merge branch 'main' of https://github.com/secondlife/viewer into DRTVWR-600-maint-A
# Conflicts:
#	autobuild.xml
#	indra/llrender/llfontbitmapcache.cpp
#	indra/llrender/llfontbitmapcache.h
#	indra/llrender/llfontfreetype.cpp
#	indra/llrender/llfontfreetype.h
#	indra/llrender/llfontgl.cpp
#	indra/llrender/llfontgl.h
#	indra/llui/llbutton.h
#	indra/llui/llfloater.cpp
#	indra/llui/llfloater.h
#	indra/llui/llfolderviewitem.cpp
#	indra/llui/lllineeditor.cpp
#	indra/llui/lllineeditor.h
#	indra/llui/llscrollcontainer.cpp
#	indra/llui/llscrollingpanellist.cpp
#	indra/llui/llscrollingpanellist.h
#	indra/llui/llscrolllistctrl.h
#	indra/llui/lltextbase.cpp
#	indra/llui/lltextbase.h
#	indra/llui/lltexteditor.cpp
#	indra/llui/lltexteditor.h
#	indra/llui/lluictrl.cpp
#	indra/llui/llview.cpp
#	indra/llui/llview.h
#	indra/newview/llchicletbar.h
#	indra/newview/llconversationlog.h
#	indra/newview/llfloaterimsessiontab.cpp
#	indra/newview/llfloaterimsessiontab.h
#	indra/newview/llfloateruipreview.cpp
#	indra/newview/llnavigationbar.h
#	indra/newview/llpaneltopinfobar.h
#	indra/newview/llpathfindingpathtool.h
#	indra/newview/lltextureview.cpp
#	indra/newview/lltoolbrush.h
#	indra/newview/lltoolcomp.h
#	indra/newview/lltooldraganddrop.h
#	indra/newview/lltoolface.h
#	indra/newview/lltoolfocus.h
#	indra/newview/lltoolindividual.h
#	indra/newview/lltoolobjpicker.h
#	indra/newview/lltoolpie.h
#	indra/newview/lltoolpipette.h
#	indra/newview/lltoolselectland.h
#	indra/newview/llviewermediafocus.h
#	indra/newview/llviewerparcelmediaautoplay.h
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoicechannel.h
#	indra/newview/llvoicevivox.h
#	indra/newview/llworldmapview.cpp
2024-03-12 16:52:30 +01:00
RunitaiLinden 522c4b4f09 Merge branch '965-eep-skies-too-bright-after-hdri-local-preview-merge' of https://github.com/secondlife/viewer into 965-eep-skies-too-bright-after-hdri-local-preview-merge 2024-03-12 10:19:19 -05:00
cosmic-linden 5fca8915d8
Merge pull request #954 from secondlife/v-712
PBR Terrain UI second pass: review follow-up
2024-03-11 09:32:20 -07:00
Alexander Gavriliuk 326055ba82 viewer#944 [Emoji] Display should be consistent between llDialog text and llDialog buttons 2024-03-10 00:10:16 +01:00
Alexander Gavriliuk 1781e2d17b viewer#944 Make 'Debug Unicode' feature available for all LLViews 2024-03-10 00:10:16 +01:00
Andrey Lihatskiy 091ee67ec5 Merge branch 'main' into DRTVWR-588-maint-W 2024-03-09 19:46:09 +02:00
Andrey Lihatskiy 636bf6cade Merge branch 'main' into DRTVWR-591-maint-X 2024-03-09 19:33:40 +02:00
Cosmic Linden b84d76e243 secondlife/viewer#712: Slightly improved logging in refreshFromRegion 2024-03-08 16:29:00 -08:00
Cosmic Linden b4eb144f14 secondlife/viewer#712: Consolidate accesses to texture_detail_* and material_detail_* controls 2024-03-08 15:14:07 -08:00
RunitaiLinden c1bde75768
HDRI Local Preview (#953)
* #926 WIP - HDRI import prototype v0

* #926 WIP -- add OpenEXR to autobuild.xml

* #926 WIP -- Add OpenEXR cmake

* #926 WIP -- Attempt at using OpenEXR autobuild package and don't hard code .exr file to load

* #926 Unmangle autobuild.xml and get dll's in the right place (thanks, Caladbolg!)

* implement mac shared libs plumbing for OpenEXR for secondlife/viewer#926

* Fix Xcode/clang compile error regarding new[]/delete[] mismatch

* #926 HDRI Preview finishing touches.

- Full ACES when HDRI is enabled
- Fix for probes getting stuck paused
- Add exposure and rotation controls

---------

Co-authored-by: Brad Linden <brad@lindenlab.com>
2024-03-08 12:01:20 -06:00
Jonathan "Geenz" Goodman cca461647f
Merge pull request #942 from secondlife/geenz/mirrors-quality-pass-1
#681 Mirrors quality pass 1.
2024-03-08 08:35:36 -08:00
Andrey Kleshchev 748c0eb50d viewer#730 Zoom slider not working in some cases. 2024-03-08 13:16:44 +02:00
Signal Linden afc943acbc
Merge pull request #935 from secondlife/gh-osbuild
Make signing and symbol posting jobs conditional on secrets.
2024-03-07 22:45:49 -08:00
Cosmic Linden 7f2e3d0f27 secondlife/viewer#712: Consolidate accesses to terrain_material_type control 2024-03-07 17:32:23 -08:00
Andrey Kleshchev 3277642315 viewer-private#41 Texture fail to apply to materials in some cases
Shift-dropping textures can fail if one of 'early' faces has nomod
material
2024-03-07 22:17:53 +02: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 2b3b03566c Merge branch 'release/materials_featurette' into geenz/mirrors-quality-pass-1 2024-03-06 17:59:30 -08:00
Jonathan "Geenz" Goodman 1fc45a50ff #681 Add probe blending for mirrors. 2024-03-06 17:56:16 -08:00
Alexander Gavriliuk 66d1b0f0ef triage#103 The focused state of the 'Recently used emojis' is not visible 2024-03-07 01:08:57 +01:00