Commit Graph

312 Commits (57ab1a410f9cb3534bb403e034743505758579d8)

Author SHA1 Message Date
Andrey Kleshchev 57ab1a410f viewer#2411 A bit more coverage for font buffer 2024-09-04 10:16:46 +03:00
Andrey Kleshchev 5c64e5e13d viewer#2411 LLFontGL::render optimizations #3 2024-09-04 10:16:46 +03:00
Alexander Gavriliuk 17f7b439d6 #1922 Make PBR scale and offset crosshair work like Texture crosshair do 2024-08-08 13:40:23 +02:00
Dave Parks 80ea30af1a
#1769 gltf optimization pass (#1816)
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-21 13:13:08 -05:00
Brad Linden d12c897bfc Merge remote-tracking branch 'origin/project/gltf_development' into brad/maint-a-merge-to-gltf-dev
# Conflicts:
 #	indra/newview/gltf/primitive.cpp
2024-06-12 10:31:27 -07:00
Dave Parks f40fbdf4ad
#1718 Add GLTF support for multiple texcoords (#1720)
* Fix for GLTF MeshPrimitiveModes test
2024-06-11 17:10:13 -05:00
Brad Linden 7c42711ca3 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into project/gltf_development 2024-06-10 16:22:12 -07:00
Dave Parks 227e9be068
#1654 generate normals and tangents according to gltf specification (#1662)
* Disable unloading of objects in background. 
* Add unlit GLTF shader variant
2024-06-10 10:43:38 -05:00
Ansariel c0fad3028f Re-enable compiler warnings C4018, C4100, C4231 and C4506 2024-06-10 16:42:43 +02:00
Dave Parks 24586f810e
#1527 Improve performance on Apple silicon (#1632) 2024-06-05 15:14:13 -05:00
Dave Parks 15fd13f830
#1530 Increase joint limit for GLTF Assets (#1582)
* Migrate GLTF scene rendering to its own shaders
* Add support for ambient occlusion map separate from metallic roughness map (or absent)
* Use UBO's for GLTF joints
* Better error handling of downloading GLTF assets
2024-05-29 16:56:39 -05: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 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
RunitaiLinden cadc1a02cc
1285 GLTF Animation Prototype 2024-04-24 09:51:15 -05:00
RunitaiLinden b2a450a308
#1126 gltf scene import prototype (#1172)
* #1126 GLTF Scene import initial prototype (working geometry import for some assets)

* #1126 WIP -- Expand support for more vertex formats, PoC material import, shadow support, scale support

* #1126 move GLTF implementation to newview/gltf

* #1126 Refactor attribute loading to be less copy/pasta for each combination of types

* #1126 Partially working object selection.  Ability to have multiple scenes at once.  Helpful message on how to use the preview button.

* #1126 Add bounding box debug display and untangle GLTF raycast from LLVOVolume raycast

* #1126 Working raycast on GLTF scenes.

* #1126 Remove some #pragma optimize offs
2024-04-09 19:21:10 -05:00
Cosmic Linden 2f18d74f9a SL-20606: Full GLTF material preview. Works for most materials. 2024-01-19 15:43:13 -08:00
Alexander Gavriliuk 8d0af77d0b SL-19709 Fix for fullbright shiny not factoring out exposure (update) 2023-09-05 16:59:48 +02:00
RunitaiLinden cdc9852f05 SL-19709 Fix for fullbright shiny not factoring out exposure and flickering fullbright alpha. Incidental decruft. 2023-05-15 11:01:24 -05:00
Dave Parks bd4b03de8b DRTVWR-559 Fix for assert in LLVertexBuffer, incidental decruft. 2023-03-10 13:33:36 -06:00
Dave Parks 25ede86382 SL-19172 Texture streaming tune up. Incidental decruft. 2023-03-10 10:52:35 -06:00
Brad Linden 8564da5831 Improved detail for llvertexbuffer attribute mask assertion failure in DRTVWR-559 2023-03-06 11:38:24 -08:00
Brad Linden 78e7ada94b Mac shader and assertion fixes for DRTVWR-559 2023-02-27 17:35:24 -08:00
RunitaiLinden 3ef31cb9b2
SL-19203 et al -- Integrate SSR with reflection probes, tweak probe blending. (#63)
* SL-19203 WIP -- Integrate SSR with reflection probes.  Decruft LLRenderTarget.

* SL-19203 WIP -- Re-integrate SSR.  Incidental decruft.

* SL-19203 WIP -- SSR frame delta correction (still broken for Z)

* SL-19203 WIP -- SSR frame delta Z fix

* SL-19203 WIP -- Make SSR toggleable again and disable SSR in cube snapshots.

* SL-19203 WIP -- Soften sphere probe transitions and fix reflections on void water (make fallback probe a simple terrain+water+sky probe).  Remove parallax correction for automatic probes to reduce artifacts.

* SL-19203 Tune probe blending.

* SL-19203 Cleanup.
2023-01-27 17:24:22 -06:00
Dave Parks 274da636a0 SL-18869 Followup -- AMD optimization pass. 2023-01-23 11:48:43 -06:00
Dave Parks 984bdcd9d9 SL-18869 Followup -- AMD compatibility pass. 2023-01-20 18:25:53 -06:00
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Andrey Kleshchev 1ff3b1ffa5 MacOS build fix 2023-01-12 19:49:35 +02:00
Dave Parks b9a4d81d51 SL-18869 Optimizations -- Revive LLVBOPool and fix silly typo in renderShadowSimple 2023-01-11 16:20:24 -06:00
Dave Parks 3ac990e6ce SL-18869 Touch up -- fix some Debug GL assertions and restore shadows. 2023-01-11 00:04:41 -06:00
Dave Parks 493d501cde SL-18869 Optimizations -- Revive "Frame Profile" and GL_DEPTH_CLAMP. Remove usage of gl_FragDepth from shadow shaders. 2023-01-10 19:49:18 -06:00
Dave Parks 68da705f3b SL-18869 Optimizations -- Quiet command buffer -- VBO cache for UI et al and remove many unneeded VBO binds. 2023-01-10 18:42:09 -06:00
Dave Parks fdc0ea64f0 SL-18869 Optimizations -- LLVertexBuffer overhaul and shuffle of shadow map rendering to a place where the main camera has taken a stab at object updates for this frame before shadow map rendering has at them. 2023-01-10 17:36:05 -06:00
Dave Parks b3fc82ff1d SL-18869 Optimizations -- decruftify LLVertexBuffer and make an optimal "renderShadowSimple" utility function for pushing vertex buffers only. 2023-01-09 13:05:32 -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
Brad Kittenbrink a887c486b4 Merge remote-tracking branch 'origin/DRTVWR-528' into DRTVWR-559 2022-11-28 16:24:53 -08:00
Brad Kittenbrink 0b188ac04e Merge remote-tracking branch 'origin/main' into DRTVWR-528 2022-11-28 14:33:27 -08:00
Dave Parks 8d2ac419b2 SL-18154 Profile guided optimizations vs release viewer. Trim some unused abilities and remove some more fast timers. 2022-11-16 14:49:17 -06:00
Dave Parks 843a5c287e SL-18485 Cleanup -- remove unused GLTF specific vertex attributes from LLVertexBuffer (blows past 16-attribute limit) 2022-11-14 11:40:18 -06:00
Cosmic Linden 9e7b725c15 SL-18485: Render GLTF materials with extension KHR_texture_transform with approprate texture transforms 2022-11-02 12:55:18 -07:00
Andrey Kleshchev 24fb2f8336 Merge branch 'master' (DRTVWR-548) into DRTVWR-559
# Conflicts:
#	indra/llrender/llgl.cpp
#	indra/llrender/llrendertarget.cpp
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
#	indra/newview/llfloaterpreference.cpp
#	indra/newview/llviewercontrol.cpp
#	indra/newview/llviewermenu.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llvovolume.cpp
2022-10-21 18:19:27 +03:00
Geenz Linden db92f95649 Switch away from std::string
API expects const char* anyways.
2022-10-06 15:18:17 -04:00
Geenz be1cdc1aaa Initial pass at adding KHR_debug support
This still needs some work - I'm not super satisfied with the overall structure of the code.  Will continue to iterate as I add in proper RenderDoc support.
2022-10-05 09:48:18 -07:00
Howard (Aech Linden) Stearns 718073717c SL-18128, SL-18128 - No glerror on Mac! 2022-09-19 12:16:49 -07:00
Dave Parks 8dc59e5ef3 SL-18128 Clear out much OpenGL cruft and switch to core profile on AMD 2022-09-16 16:25:26 -05:00
Dave Parks 00b1fec960 SL-17967 Purge OpenGL extensions (use core API only) 2022-09-02 19:53:56 -05:00
Howard Stearns 01d03edd85 SL-17967 - _ARB constant removal 2022-09-01 13:38:22 -07:00
Howard Stearns 2082443220 SL-17967 - Git rid of ARB that is in core 2022-09-01 10:58:27 -07:00
Andrey Kleshchev 4cfa59d3f1 SL-17473 Viewer not clearing all Vertex Buffers in some cases
Image thread doesn't need mBuffer and buffer isn't thread safe so no point allocating it in an image thread.
2022-05-26 22:43:12 +03:00
Dave Houlton 02c71b0ac2 Merge branch 'master' v 6.6.1 into DRTVWR-528 2022-05-26 11:18:44 -06:00
Dave Parks 6c6d9a10f8 SL-17287 Update Tracy to 0.8.1. Clean up GPU instrumentation. 2022-05-20 13:31:18 -05:00