Commit Graph

46901 Commits (3290f16f29e503115b7eaeb2005cfdbba42668dd)

Author SHA1 Message Date
Andrey Kleshchev 3290f16f29 SL-18854 Fix drag'n drop of plain textures on faces in PBR mode
When in PBR 'mode', defaulted texture drops to diffuse channel
2023-01-04 13:31:27 +02:00
Andrey Kleshchev 81a4c7598d SL-18887 Material size is not displayed in materials picker 2023-01-03 17:32:44 +02:00
Jonathan "Geenz" Goodman 003e34190f Refactor post processing a smidge
Fixes SL-18484.
2023-01-02 05:38:29 -08:00
Dave Parks 40799b97c1 SL-18779 Fix for water fog staying bright when sun is dark. 2022-12-19 15:27:43 -06:00
Dave Parks 2de9e631d9 SL-18730 Dumb down water distortions to reduce appearance of brokenness. 2022-12-19 11:48:56 -06:00
Dave Parks 89f21f276f SL-18719 GL 3.0/3.1 compatibility pass. 2022-12-16 14:58:02 -06:00
Dave Parks 4711241dd5 SL-18731 Fix for runaway feedback loops on reflection probe ambiance 2022-12-16 13:57:31 -06:00
Dave Parks d0af1ca7cb SL-18780 Feedback cloud coverage into reflection probe ambiance to recover legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance. 2022-12-16 13:35:16 -06:00
Dave Parks ad1ecfd9cd Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-16 12:22:35 -06:00
Dave Parks dbc641ce52 SL-18861 Optimize away alpha channel on GLTF material imports. 2022-12-16 12:22:23 -06:00
Andrey Kleshchev e07e31af1c SL-18854 Prevent texture drop onto faces that have pbr 2022-12-16 19:32:38 +02:00
Dave Parks d27d23ab26 SL-18852 Refactor GLTF material rendering to not be special compared to other types. Hook GLTF alpha masking up to highlight transparent. 2022-12-16 11:12:06 -06:00
Dave Parks 57c54ec4b7 SL-18851 Fix for PBR materials sometimes not casting shadows when they should. 2022-12-16 08:59:02 -06:00
Dave Parks 6f7eeecdb3 SL-18782 Fix fir assert when enabling SSR 2022-12-15 17:52:31 -06:00
Dave Parks aa76fbb0b2 SL-18782 Finishing touches on Reflection Probe Volumes display (for now). 2022-12-15 13:43:16 -06:00
Dave Parks 4d0bd020a0 SL-18782 WIP -- Functional Build->Options->Show Reflection Probe Volumes 2022-12-14 16:17:48 -06:00
Dave Parks ad08d20c4c Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-14 11:00:51 -06:00
Dave Parks e6b5481cad SL-18782 WIP -- stub for reflection probe display. 2022-12-14 11:00:31 -06:00
Nat Goodspeed d4822f1014 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-13 20:51:27 -05:00
Nat Goodspeed 424d3ef83c DRTVWR-559: Fix broken workqueue_test.cpp.
Apparently Visual Studio and Xcode disagree on the intended lifespan of a
certain temporary expression. Capturing it in a named variable works.
2022-12-13 20:49:01 -05:00
Dave Parks 9e7829c9cb Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-13 16:14:05 -06:00
Dave Parks 5fcfe95422 SL-18782 Make primitive parameters automatically follow Reflection Probe controls. 2022-12-13 16:13:49 -06:00
Brad Linden a4397723b7 Merge remote-tracking branch 'origin/DRTVWR-559' into brad/DRTVWR-559 2022-12-13 11:39:54 -08:00
Dave Parks 0c2e7a8eb7 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-13 11:40:37 -06:00
Dave Parks 20c578b7ae SL-18808 Fix for highlight transparent texture missing. 2022-12-13 11:40:14 -06:00
Brad Linden 43c0dc7f15 Attempt to restore SL-17823 fix after merge with DRTVWR-559 texture pipeline work removed the getDecodePriority() method. 2022-12-12 18:03:09 -08:00
Brad Linden eb526fec0a Merge remote-tracking branch 'origin/main' into DRTVWR-559 2022-12-12 17:59:34 -08:00
Andrey Kleshchev c9c611fd12 SL-18647 Removed obsolete Material Editor button
Was a placeholder when there was no other way to bring it up
2022-12-13 03:36:19 +02:00
Dave Parks fe37ea5b3f SL-18790 Fix for transparent objects casting shadows when they ought not. 2022-12-12 15:35:52 -06:00
Dave Parks 2ab424493f DRTVWR-559 Fix for windows build. 2022-12-12 13:49:28 -06:00
Dave Parks 9e1383f90d Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-12 13:45:05 -06:00
Dave Parks 1915b7a008 SL-18811 Fix for reflection probes associated with an object not immediately being removed when the object is killed. 2022-12-12 13:36:36 -06:00
Nat Goodspeed 4e0d8f1564 SL-18809: Merge 'DRTVWR-559' of secondlife/viewer into sl-18809 2022-12-12 14:34:47 -05:00
Nat Goodspeed a0c3d69c62 Increment viewer version to 6.6.9
following promotion of DRTVWR-565
2022-12-12 13:41:50 -05:00
cosmic-linden 8b74614471
Merge pull request #34 from secondlife/SL-18740
SL-18740: Fix texture animations not working for GLTF materials
2022-12-12 09:45:52 -08:00
Cosmic Linden ec9557e4b3 SL-18740: Fix texture animations not working for GLTF materials 2022-12-09 18:35:37 -08:00
Nat Goodspeed f41278082f SL-18809: Merge 'DRTVWR-559' of secondlife/viewer into sl-18809 2022-12-09 16:34:28 -05:00
Nat Goodspeed fc424a0db9 SL-18809: Add WorkSchedule; remove timestamps from WorkQueue.
For work queues that don't need timestamped tasks, eliminate the overhead of a
priority queue ordered by timestamp. Timestamped task support moves to
WorkSchedule. WorkQueue is a simpler queue that just waits for work.

Both WorkQueue and WorkSchedule can be accessed via new WorkQueueBase API. Of
course the WorkQueueBase API doesn't deal with timestamps, but a WorkSchedule
can be accessed directly to post timestamped tasks and then handled normally
(e.g. by ThreadPool) to run them.

Most ThreadPool functionality migrates to new ThreadPoolBase class, with
template subclass ThreadPoolUsing<WorkQueue> or ThreadPoolUsing<WorkSchedule>
depending on need. ThreadPool is now an alias for ThreadPoolUsing<WorkQueue>.
Importantly, ThreadPoolUsing::getQueue() delivers a reference to the specific
queue subclass type, so you can post timestamped tasks on a queue retrieved
from ThreadPoolUsing<WorkSchedule>::getQueue().

Since ThreadPool is no longer a simple class but an alias for a particular
template specialization, introduce threadpool_fwd.h to forward-declare it.

Recast workqueue_test.cpp to exercise WorkSchedule, since some of the tests
are time-based. A future todo would be to exercise each applicable test with
both WorkQueue and WorkSchedule.
2022-12-09 13:21:45 -05:00
Nat Goodspeed 00478b1e76 DRTVWR-559: Introduce LLInstanceTrackerSubclass mediator class.
Deriving your tracked class T from LLInstanceTracker<T> gives you
T::getInstance() et al. But what about a subclass S derived from T?
S::getInstance() still delivers a pointer to T, requiring explicit downcast.
And so on for other LLInstanceTracker methods.

Instead, derive S from LLInstanceTrackerSubclass<S, T>. This implies that S is
a grandchild class of T, but it also recasts the LLInstanceTracker methods to
deliver results for S rather than for T.
2022-12-09 13:16:39 -05:00
Brad Kittenbrink e3b34fec69 Fix for non-windows build of DRTVWR-559 use usleep() for sleepy_robin scheduler 2022-12-08 12:53:51 -08:00
Andrey Kleshchev 76c6f3f002 SL-18741 Don't allow bulk upload without caps 2022-12-07 21:21:03 +02:00
RunitaiLinden e98091e298
DRTVWR-559: Try using custom fiber scheduler for ThreadPool threads. (#30)
Co-authored-by: Nat Goodspeed <nat@lindenlab.com>
2022-12-07 12:53:59 -06:00
Andrey Kleshchev 9262c9aead SL-18197 Materials folder doesn't appear on login
Fix some folders not being requested unless already cached.
Fix materials folder not being requested by materials picker.
2022-12-07 05:33:36 +02:00
akleshchev c69c8aa347
SL-18777 PBR upload was stuck waiting for texture
Handle obscure upload failure case - floater was waiting for a texture upload indefinetely.
Unblock floater if upload fails.
2022-12-07 02:16:12 +02:00
Maxim Nikolenko c033278ec2 SL-18795 Overrides are not applied to one face 2022-12-07 01:32:01 +02:00
Dave Parks e9e37aa2ad SL-18784 Refactor physics shape display to not require its own render target. Remove "Hover Glow Objects" to free up a superfluous render target. 2022-12-06 16:15:27 -06:00
Dave Parks 03da83f235 SL-18788 Fix for legacy shiny not working until after restart when reflections probes are disabled. 2022-12-06 10:18:46 -06:00
Dave Parks c489481ec5 SL-18785 Fix for corrupt reflection probes on various preference changes. Add UI for Screen Space Reflections. 2022-12-06 09:59:30 -06:00
Dave Parks 3ec5110129 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-05 11:49:07 -06:00
Dave Parks 3c20f0b1d4 SL-18692 Fix for fullbright alpha not clipping against water plane (also fixes ultraspace particles). 2022-12-05 11:48:50 -06:00