Commit Graph

8797 Commits

Author SHA1 Message Date
krzysztof narkowicz
eed0fc3bed New Lumen surface cache card generation:
* Generate surfels directly from the triangles instead of relying on ray tracing, to fix coverage issues on some meshes
* Surfels which are inside meshes (surrounded by back faces) or are too close to geometry are discarded
* New surfel clustering algorithm, which inserts one seed after another and tries to iteratively grow clusters in order to find the best set of seeds. Final step is to reset all clusters and grow all simultaneously from previously selected seeds.
* Cluster growing is based on normal, distance and surfel visibility (don�t cluster surfels near geometry first, as it can cause algorithm to be stuck in a local minimum)
* Runtime sampling has strict culling based on the angle and card AABB. Additionally, the tri-planar blending zone was tightened. This improves performance. 0.62-0.5 ms.
* Added various visualizations and CVars for card generation debugging
* Fixed card visibility bug, where card could influence outside of it�s range due to negative shadow map visibility

[FYI] Daniel.Wright, Patrick.Kelly


#ROBOMERGE-SOURCE: CL 16897632
#ROBOMERGE-BOT: (v836-16769935)

[CL 16916104 by krzysztof narkowicz in ue5-main branch]
2021-07-21 17:57:42 -04:00
Lukas Hermanns
0f58a3008d Added 'precise' qualifier to fix Z-fighting with World Position Offset (WPO) in MaterialTemplate.ush. Only affects D3D11/DXBC shaders on Windows.
#rb Kevin.Ortegren
#fyi Mihnea.Balta
#jira UE-102725
#rnx

[CL 16911422 by Lukas Hermanns in ue5-main branch]
2021-07-21 13:01:39 -04:00
Devin Doucette
bea14d56ce DDC: Changed TRequest to cast to IRequest before invoking its functions
This allows the request type to make its functions on IRequest protected or private, or allows use with a request type that hides its IRequest behind an implicit conversion.

Also disabled operator-> and operator* for the base IRequest because it is preferred to use the functions on TRequest to the IRequest interface.

#rb Matt.Peters
#rnx

[CL 16911217 by Devin Doucette in ue5-main branch]
2021-07-21 12:42:51 -04:00
ionut matasaru
f4f2913a3a [Insights]
- Timing Insights: Added more switches related to context switches:
      * Overlays - Extend the visualisation of context switches over the cpu timing tracks. (Shift+O)
      * Extended Lines - Show/hide the extended vertical lines at edges of each context switch event. (Shift+L)
  - Moved all options into a "Context Switches" sub-menu in the Tracks menu.
  - Added placeholder code for the Cpu Core tracks.

#rb Catalin.Dragoiu

[CL 16910128 by ionut matasaru in ue5-main branch]
2021-07-21 11:28:03 -04:00
charles bloom
eb51becbdb Compression Flags add ForPackaging to differentiate packaging compression usage
add OodleDataCompression CommonUsage to translate Flags

#rb dan.thompson

[CL 16908872 by charles bloom in ue5-main branch]
2021-07-21 09:52:19 -04:00
ionut matasaru
3a12a16172 [Insights] Removed unused IdleAreaBrush member and the DashedBrush style.
#rb none

[CL 16908337 by ionut matasaru in ue5-main branch]
2021-07-21 08:32:41 -04:00
ionut matasaru
6f56d6b461 [Insights] Disabled striped brush for context switches.
#rb none

[CL 16908315 by ionut matasaru in ue5-main branch]
2021-07-21 08:26:39 -04:00
ionut matasaru
33d5d7a348 [Insights]
- Improved struct packing for FTraceViewModel, FStoreBrowserTraceInfo and FLogMessageRecord.
  - Log View: Limited the height of "Category Filter" menu to height of the Log View panel.

#rb Catalin.Dragoiu

[CL 16906839 by ionut matasaru in ue5-main branch]
2021-07-21 05:10:35 -04:00
sara schvartzman
d52e900d02 Control Rig: Fix Fornite compilation errors
#rb na

[CL 16906554 by sara schvartzman in ue5-main branch]
2021-07-21 03:35:10 -04:00
paul chipchase
dffdc8a417 Add a cpu trace when pulling payloads for the source control backend.
#rb trivial
#rnx
#preflight 60f6ceaa8da1560001eed8d4

[CL 16896436 by paul chipchase in ue5-main branch]
2021-07-20 10:18:27 -04:00
danny couture
989c3cb117 Fix behavior of CachedDataProbablyExists so it can reach the slow cache to avoid always recompiling stuff that exists in Jupiter but not locally
#rnx
#rb Devin.Doucette, Sebastien.Lussier

[CL 16893978 by danny couture in ue5-main branch]
2021-07-20 05:56:37 -04:00
Zousar Shaker
9abf3ef937 Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
#rb none
#preflight 60f6411c35476b00018dd12c

[CL 16892864 by Zousar Shaker in ue5-main branch]
2021-07-20 00:21:34 -04:00
Zousar Shaker
1571c9f36e Fix linux compile error and bug with my last submits related to function version iteration for build functions.
#rb none

[CL 16889472 by Zousar Shaker in ue5-main branch]
2021-07-19 17:40:45 -04:00
Devin Doucette
ca1582337c DDC: Switched to XXH3 for FPayloadId::FromName
#rb Zousar.Shaker
#rnx

[CL 16889028 by Devin Doucette in ue5-main branch]
2021-07-19 17:05:40 -04:00
Devin Doucette
18b4e4a14c Texture: Use GetModuleChecked instead of LoadModuleChecked since it can be called from any thread
#rb Zousar.Shaker
#rnx

[CL 16888859 by Devin Doucette in ue5-main branch]
2021-07-19 16:55:25 -04:00
Zousar Shaker
3f35355cc1 Add methods for iterating through build functions in the function registry.
#rb devin.doucette

[CL 16888770 by Zousar Shaker in ue5-main branch]
2021-07-19 16:47:17 -04:00
Devin Doucette
0748494fc6 DDC: Exposed the cache key and build status in the build complete callback params
#rb Zousar.Shaker
#rnx
#preflight 60f5c7a78da1560001c68086

[CL 16888763 by Devin Doucette in ue5-main branch]
2021-07-19 16:46:58 -04:00
Sebastien Lussier
67afa3e5fb Allow the use of alternate names for flattening material params
#jira UE-115794
#rb patrick.enfedaque

[CL 16888386 by Sebastien Lussier in ue5-main branch]
2021-07-19 16:25:04 -04:00
Zousar Shaker
bd3886b31f Fix bug where queued batch request failure in HttpDerivedDataBackend would cause incorrect DDC output (erroneous cache misses).
Adding basic unit test for HttpDerivedDataBackend.

#rb devin.doucette

[CL 16885295 by Zousar Shaker in ue5-main branch]
2021-07-19 13:09:40 -04:00
Devin Doucette
672da1da55 DDC: Fixed a crash when creating the build context fails
#rb Zousar.Shaker
#rnx

[CL 16883576 by Devin Doucette in ue5-main branch]
2021-07-19 10:51:21 -04:00
Devin Doucette
431dab26ea DDC: Added EPutStatus::Skipped to avoid slow retry when simulating cache misses
#rb Zousar.Shaker
#preflight 60f12443a34bf50001654df1

[CL 16883247 by Devin Doucette in ue5-main branch]
2021-07-19 10:11:49 -04:00
Devin Doucette
090bdb178e DDC: Fixed a missing include in DerivedDataBuildVersion.h
#rb trivial
#rnx

[CL 16883233 by Devin Doucette in ue5-main branch]
2021-07-19 10:10:26 -04:00
ionut matasaru
da9240470e [Insights]
- Enabled "HighDPI" support for Unreal Insights app.
  - Fixed size and location of app windows (for both browser and viewer modes) when high dpi is enabled and DPIScaleFactor is not 1.
  - Added name of trace in the application's title.

#rb Catalin.Dragoiu

[CL 16882805 by ionut matasaru in ue5-main branch]
2021-07-19 08:53:15 -04:00
ionut matasaru
b5397e9c42 Fixed misspelled variable name.
#rb none

[CL 16881893 by ionut matasaru in ue5-main branch]
2021-07-19 06:52:22 -04:00
sara schvartzman
21ac81ac5e Control Rig: Python Command Log
#jira UE-114616
#rb helge.mathee

[CL 16881672 by sara schvartzman in ue5-main branch]
2021-07-19 06:32:28 -04:00