Commit Graph

8453 Commits

Author SHA1 Message Date
brian karis
12e43285f4 Changed UV error weights to be UV area normalized. This makes the most sense to me for how to see UV error as texel error in screen space. Although I feel it is theoretically better this doesn't appear to have any noticable impact, likely because UV error has so far been set vanishingly low.
UV mirror seams are now considered an attribute discontinuity. This is handled through a cheap trick of changing the tops bits of the material index per triangle.

This should not strictly be necessary because the QEM could account for the difference but to get it to properly catch issues in practice required increasing the UV error weight high enough that it impacts all meshes including ones that didn't have noticable issues. Targeting the mirror case specifically was better even though it shouldn't be special theoretically.

This fixes Nanite UV bugs in Frosty.
#jira UE-113150

#ROBOMERGE-SOURCE: CL 16411470 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16412628 by brian karis in ue5-main branch]
2021-05-20 19:38:09 -04:00
ryan schmidt
6191a7ce3c ApproximateActors updates:
- FMeshSceneAdapter updates
   - if bThickenThinMeshes is enabled, then all instance meshes are converted to DynamicMesh and decomposed to find non-closed regions. Those regions are uniqued into separate meshes. The remaining closed geometry is separated out and kept as instanced.
   - various utility functions added to support above
   - previous code to explicitly 'thicken' open meshes into solids is removed. Instead unsigned distance is used to determine inside/outside and generate a 1/0 winding number
   - instances are now sorted into an octree to speed up winding number evaluations
   - If all meshes are closed (or effectively closed via above, ie will return integer winding number) then winding number query can early-out as soon as it finds a non-zero value
- Add hard-normals options in IGeometryProcessing_ApproximateActors (not exposed in MergeActors tool options yet)
- Added hard-normal callucation to ApproximateActorsImpl, and additional profiling
- Allow specification of actual  ECollisionTraceFlag options in CreateStaticMeshUtil, instead of just a boolean
- Add FSparseDynamicOctree3::ContainmentQueryCancellable() variant that can early-exit

#rb none
#rnx
#jira none
#preflight 60a686274c320300018d3841

#ROBOMERGE-SOURCE: CL 16410125 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16412542 by ryan schmidt in ue5-main branch]
2021-05-20 19:35:43 -04:00
Jamie Dale
64f3d21132 Pass the culture list override from the project launcher for cook-by-the-book cooks
This override is only used if the list isn't empty, otherwise the project default is used. Cook-on-the-fly isn't impacted by this change, as it cooks assets on-demand so doesn't need to pre-cook a certain list of cultures.

#rb Patrick.Laflamme

[CL 16407969 by Jamie Dale in ue5-main branch]
2021-05-20 15:23:39 -04:00
Zousar Shaker
35cb1325a8 -Avoid having dependency on Engine by TextureFormatOodle by avoiding use of UTexture and getting
-Add mechanism for ITextureFormat to have a generic and private "FormatSettings" block that can be global, but also exported with a texture build action and applied when a texture build is executed remotely.  Also ensure that ChildTextureFormat is able to split and store/read the format settings for Child & Base format as separate sub-items.
-Allow the PS5TextureBuildWorker to compile in Oodle if the plugin is present and enabled.

#rb charles.bloom

[CL 16406838 by Zousar Shaker in ue5-main branch]
2021-05-20 14:19:29 -04:00
Devin Doucette
e3600df4ee DDC: Added UE::DerivedData::FBuildInput
FBuildInput and the associated builder type collect the inputs for a build.

#rb Zousar.Shaker
#rnx

[CL 16406497 by Devin Doucette in ue5-main branch]
2021-05-20 13:53:48 -04:00
Devin Doucette
5e17eb1966 DDC: Moved IBuildFunction configuration into a new Configure() function instead of several virtual functions
Also added CancelAsyncBuild and clarified the comments on how async builds work.

#rb Zousar.Shaker
#rnx

[CL 16406496 by Devin Doucette in ue5-main branch]
2021-05-20 13:53:45 -04:00
Devin Doucette
134df5e821 DDC: Reordered EPriority to make operations like Min and Max make sense with it
#rb Tim.Smith
#rnx

[CL 16405468 by Devin Doucette in ue5-main branch]
2021-05-20 12:37:08 -04:00
Devin Doucette
8efdaccd3f DDC: Added HasConstants() and HasInputs() to FBuildAction to mirror FBuildDefinition
#rb Tim.Smith
#rnx

[CL 16405466 by Devin Doucette in ue5-main branch]
2021-05-20 12:37:01 -04:00
aurel cordonnier
4c1f424cec no unity fixes
#rb jeanfrancois.dube

[CL 16389788 by aurel cordonnier in ue5-main branch]
2021-05-19 14:05:12 -04:00
rune stubbe
8a9f900ed4 Converted most of Nanite back to float when running with LWC. Fixes various data corruption issues resulting in Nanite crashing with LWC.
#JIRA UE-115577
#rb ola.olsson
[FYI] graham.wihlidal, brian.karis

#ROBOMERGE-SOURCE: CL 16385988 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16386070 by rune stubbe in ue5-main branch]
2021-05-19 10:55:06 -04:00
ionut matasaru
9e9a825635 [Insights] Fixed backward compatibility with 32bit platforms for LLM tags tracing.
#jira UE-115001
#rb Johan.Berg

[CL 16383967 by ionut matasaru in ue5-main branch]
2021-05-19 09:09:30 -04:00
paul chipchase
04229b992f IVirtualizationBackend::PushData now returns an enum describing what happened to the operation rather than a straight true/false.
#rb Per.Larsson
#rnx
#preflight 60a4f14665d94d00015be8d8

[CL 16383162 by paul chipchase in ue5-main branch]
2021-05-19 07:46:07 -04:00
David Harvey
1d41c2c202 Undo the refactor to allow Windows-based Platform extensions to specialize GenericWindowsTargetPlatform (CL 16329569).
Cannot easily specialize the specialization's config settings, so a different approach is required.

#jira UE-115613
#rb none
#rnx

[CL 16382731 by David Harvey in ue5-main branch]
2021-05-19 05:56:48 -04:00
jason nadro
5599ec91d8 [Insights] - Format memory graph vertex axis units to two decimal places.
#rb Andrew.Firth
[FYI] Ionut.Matasaru
[REVIEW] [at]Andrew.Firth
#jira none

#ROBOMERGE-SOURCE: CL 16374948 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16378816 by jason nadro in ue5-main branch]
2021-05-18 19:54:57 -04:00
jason nadro
290b810c50 Changing default LLM tags in Memory Insights to include the common tags that account for the majority of memory.
- Animation, Lumen, Nanite, ProgramSize, RenderTargets, SceneRender, UObject.

#rb Andrew.Firth
[FYI] Ionut.Matasaru
[REVIEW]
#jira none

#ROBOMERGE-SOURCE: CL 16373559 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16378775 by jason nadro in ue5-main branch]
2021-05-18 19:52:29 -04:00
andrew firth
aa63dfebfb [Insights] - format memory graph unit amounts with 2decimal places
[at]jason.nadro

#rb jason.nadro

#ROBOMERGE-SOURCE: CL 16373514 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16378758 by andrew firth in ue5-main branch]
2021-05-18 19:52:13 -04:00
geoff evans
b1c54a1182 Add Trace Cpu Events and Counters to FileSystem DDC backend.
#jira none
#rb devin.doucette
#preflight 60a4337db7ccb000013e0fd6

[CL 16378052 by geoff evans in ue5-main branch]
2021-05-18 18:50:43 -04:00
Simon Tovey
c4d171f9a6 Fix for VM compile issue with matrix constants.
#rb Rob.Krajcarski
#jira UE-115957, UE-115956

[CL 16377212 by Simon Tovey in ue5-main branch]
2021-05-18 17:59:25 -04:00
yoan stamant
f00a143547 [AITestSuite] Added actor to the MockAI for VLOG support
#rb maxime.mercier

#ROBOMERGE-SOURCE: CL 16365382 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16370667 by yoan stamant in ue5-main branch]
2021-05-18 13:21:54 -04:00
Lukas Hermanns
fb34aca6c2 Add '#line'-directive to custom HLSL rewriter in ShaderConductor.
#rb Rolando.Caloca, Will.Damon
#fyi Ryan.Vance, Carl.Lloyd
#jira none
#rnx

[CL 16367768 by Lukas Hermanns in ue5-main branch]
2021-05-18 11:17:09 -04:00
ionut matasaru
3381fd434f [Insights] Updated again the text with resolved symbols to minimize the text flickering.
#rb Catalin.Dragoiu

[CL 16367376 by ionut matasaru in ue5-main branch]
2021-05-18 10:39:36 -04:00
Helge Mathee
8dd8ae98d3 Control Rig: remove notion of slice context from graph and improve compilation performance
#jira UE-113382
#rb jack.cai

[CL 16367071 by Helge Mathee in ue5-main branch]
2021-05-18 10:22:22 -04:00
ionut matasaru
4a65d5cbe1 [Insights]
- Memory: Changed the "symbols resolved" message in status bar of Allocs Table to show also the number pending symbols to be resolved.
  - Timing view: Hidden the "Exclusive Time percent in tooltip when event duration is 0 (instead of showing NaN).
#rb Catalin.Dragoiu

[CL 16367008 by ionut matasaru in ue5-main branch]
2021-05-18 10:18:46 -04:00
Helge Mathee
430e049180 Control Rig: Improve performance of SControlRigStackview label generation
#jira UE-113382
#rb audit

[CL 16366977 by Helge Mathee in ue5-main branch]
2021-05-18 10:18:06 -04:00
Catalin Dragoiu
371abc1192 [Insights] Fix for Insights menu not apearing on MAC
#rb Ionut.Matasaru

[CL 16366953 by Catalin Dragoiu in ue5-main branch]
2021-05-18 10:17:34 -04:00