Commit Graph

324 Commits

Author SHA1 Message Date
cedric caillaud
3f789086d2 Chaos: Deprecate geometrycollection debuyg draw component
#rb benn.gallagher, brice.criswell
#jira UE-100417
#preflight 61f8d6f2a6632a34f368e29d

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 18805895 in //UE5/Release-5.0/... via CL 18807995 via CL 18821777
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822139 by cedric caillaud in ue5-main branch]
2022-02-02 02:20:31 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
jimmy andrews
fcd733205d use FGeometryCollectionEdit more consistently and make sure convex hulls are updated where needed (and not updated when not needed)
#rb brice.criswell
#rnx
#preflight 61f871ec41414fb013dd56d9

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18801705 in //UE5/Release-5.0/... via CL 18802150 via CL 18821532
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821616 by jimmy andrews in ue5-main branch]
2022-02-02 01:45:10 -05:00
chris kulla
932734af70 Fix incorrect geometric normals on path traced geometry with WPO materials
The post-process which applies WPO usually leaves mesh vertices in world space. However the vertex factory might still contains a local to world transform which is required to rotate the shading normals correctly. We thus end up with a mismatch when the world position is computed for ray tracing. Currently only the path tracer was manifesting an artifact due to this, but the inconsistency could have shown up in other ways (for example if a material had a dependency on world space position).

The fix is to simply keep the mesh in "local" space by instructing the RayTracingDynamicMesh compute shader to put the vertex back into local space after applying WPO.

All the geometry types were reviewed for this potential issue and the RayTracingDynamicMesh has been updated to mandate a preprocessor signal on how to handle this.

#jira UE-139634
#rb Yuriy.ODonnell, Juan.Canada
#preflight 61f871aa114ec25fe0bfe9b3

#ROBOMERGE-AUTHOR: chris.kulla
#ROBOMERGE-SOURCE: CL 18801676 in //UE5/Release-5.0/... via CL 18802144 via CL 18821528
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821609 by chris kulla in ue5-main branch]
2022-02-02 01:44:52 -05:00
jimmy andrews
7dcfc5245d update fracture tool convex to account for convexes autogenerating ("make convex hulls" is now "update convex hulls" and just transfers the tool settings to the geometry collection convex parameters)
+ add CanExceedFraction parameter to the convex parameters

#rb brice.criswell
#rnx
#preflight 61f8718741414fb013dd4bd1

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18801604 in //UE5/Release-5.0/... via CL 18802105 via CL 18821515
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821596 by jimmy andrews in ue5-main branch]
2022-02-02 01:43:57 -05:00
brice criswell
7044f3e8c0 Geometry Collection - Editing Updates
- Updated collection to support enabled flag
- Updated modify to only invalidate the UObject
- Added UObject->Modify to ComponentEdit constructor.
#rb Jimmy.Andrews
#preflight 61f827dd5a026d2d19a88a7e

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18793559 in //UE5/Release-5.0/... via CL 18793715 via CL 18794559
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18795047 by brice criswell in ue5-main branch]
2022-01-31 14:58:13 -05:00
brice criswell
fc6c04a825 GeometryCollection : Convex Generation
- Defaulting the geometry collection assets collision geometry to convex
- Updating the convex bodies during the destruction of the geometry collections edit object.
#rb none
[FYI] Jimmy.Andrews
#preflight 61f480557a7f0d39ddfe1e88

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18792035 in //UE5/Release-5.0/... via CL 18792214 via CL 18792488
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792572 by brice criswell in ue5-main branch]
2022-01-31 12:57:29 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
jimmy andrews
8d54964125 move rest collection Modify() call in FGeometryCollectionEdit from destructor to constructor -- Modify() should be called before the data is changed
#rb rinat.abdrashitov
#rb brice.criswell
#rnx
#preflight 61f42cd674510448a6853a2e

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18774203 in //UE5/Release-5.0/... via CL 18774223 via CL 18775020
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18775111 by jimmy andrews in ue5-main branch]
2022-01-28 13:40:49 -05:00
dmitriy dyomin
f0f6fa5d3e Fixed: Editor crashes when opening TM-PhysEntrance in QAGame with mobile preview enabled
#jira UE-140099
#rb carl.lloyd
#preflight 61f40192f628752a568a919a

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18771058 in //UE5/Release-5.0/... via CL 18771063 via CL 18771201
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18771210 by dmitriy dyomin in ue5-main branch]
2022-01-28 10:09:40 -05:00
graham wihlidal
1b4d3ee4f2 Refactored Nanite material audit checks into modular utilities, and added auditing support to Nanite Audit Tool.
#preflight 61f21e5ffc74f46b56511252
#jira UE-132980
#rb zach.bethel
[FYI] brian.karis

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 18749986 in //UE5/Release-5.0/... via CL 18749992 via CL 18750099
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18750112 by graham wihlidal in ue5-main branch]
2022-01-26 23:48:41 -05:00
andrew davidson
08570f0250 LWC: Enable ISPC for LWC double types. Submitted on behalf of jeff.rous[at]intel.com
#rb andy.davidson
#jira UE-107988
#preflight 61eec2feaa3f15faa57a5702

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18708912 in //UE5/Release-5.0/... via CL 18708982 via CL 18709226
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18709243 by andrew davidson in ue5-main branch]
2022-01-24 10:54:27 -05:00
rune stubbe
82ad7d504c Moved StaticMesh to DDC2 to enable Nanite streaming from it directly in editor mode.
The data is now split into two sections. One section contains just the Nanite streaming data and the other section contains everything else.
The Nanite streaming data is no longer loaded on mesh initialization, instead the streamer issues requests against it on demand for just the chunks that are needed.
#rb zousar.shaker
[FYI] graham.wihlidal, brian.karis, devin.doucette
#preflight 61e97899f1602135349d2380

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 18674835 in //UE5/Release-5.0/... via CL 18674853 via CL 18674870
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679731 by rune stubbe in ue5-main branch]
2022-01-20 15:23:39 -05:00
brice criswell
7bf8899fa1 Chaos : Clustering Connection Graph
- Add ability to display using debug command (p.Chaos.Solver.DebugDraw.Cluster.Constraints 1)
- Changed default to MinimalSpanningSubsetDelaunayTriangulation
#rb trivial
#preflight 61e852f33778a195deebb979

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18661507 in //UE5/Release-5.0/... via CL 18661559 via CL 18661597
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18661617 by brice criswell in ue5-main branch]
2022-01-19 13:48:58 -05:00
cedric caillaud
c5318fc01b CHaos - BackPort size specific data for geometry collection
CL 15260032 (Size specific damage )
CL 16429701 (step 1 - size specific parameters restructuring )
CL 16439958 ( review fixes from 16429701 )
CL 16456707 (transfer defaults to size specific data)
CL 16476610 ( Force Size Specific data to always have a single element )
CL 16555840 ( Allow empty collision arrays )

#rb brice.criswell, marc.audy
#jira none
#preflight 61d656171a3fd09dcbd808e6
[FYI] marc.audy

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 18527050 in //UE4/Release-4.27-Chaos/... via CL 18527083 via CL 18527917 via CL 18527924
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18527928 by cedric caillaud in ue5-release-engine-test branch]
2022-01-05 21:51:22 -05:00
brice criswell
80373d0829 Chaos : Clustering
- Removed template parameters from FRigidClustering
#rb trivial
#preflight 61d33e081a3fd09dcbc070c9

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18503466 in //UE5/Release-5.0/... via CL 18503488
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18503500 by brice criswell in ue5-release-engine-test branch]
2022-01-03 16:19:33 -05:00
Mattiwatti
781330ecc8 Adding GRHISupportsMapWriteNoOverwrite to check at runtime if RLM_WriteOnly_NoOverwrite is supported.
Motivated by changes from PR #7423

#jira UE-116122
#rb mihnea.balta
#preflight 61b92ee77618e01ffb2085f9

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 18469448 in //UE5/Release-5.0/... via CL 18469481
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18469508 by Mattiwatti in ue5-release-engine-test branch]
2021-12-15 14:15:45 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
ola olsson
09858c9218 Add filtering of shadow subjects at the proxy level for GPU-Scene supporting primitives (VSM / non-VSM)
- Enables turning off non VSM for more cases.
- Only send primitives with dynamic relevance down the dynamic subject path.
- Optimization: cache IsNaniteProxy flag on FLightPrimitiveInteraction.
- Fix the MaxNonFarCascadeDistance calculation to not include DF cascades.
- Skip SM allocation for uncached SMs without subject primitives.
- Add flag bSupportsGPUScene to FPrimitiveSceneProxy and helper to set up EnableGPUSceneSupportFlags (also turns on bVFRequiresPrimitiveUniformBuffer)
- Add error check to make sure bSupportsGPUScene is not set unless all VFs actually supports GPU-Scene

#rb andrew.lauritzen
#preflight 61af2fe02b3384289ae39e36

#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 18393307 in //UE5/Release-5.0/... via CL 18393317
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18393321 by ola olsson in ue5-release-engine-test branch]
2021-12-07 05:26:32 -05:00
jon nabozny
b27dcfb385 Support for multiple root pages per Nanite resource
Added UI for changing minimum residency
Decoupled imposter data allocation from root page allocation
Removed convoluted logic around a page's dependencies including itself for legacy reasons
Made streaming of imposter data optional (r.Nanite.Streaming.Imposters)
#rb andrew.lauritzen, ola.olsson
#preflight 6163f8f8eaa06c0001e409ee
#lockdown michal.valient

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 17770690 via CL 17986013 via CL 18368123 via CL 18368152
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18368223 by jon nabozny in ue5-release-engine-test branch]
2021-12-03 10:01:28 -05:00
rune stubbe
2b49ee823d Nanite changes to support prestreaming
#rb jeremy.moore, matt.hoffman
#lockdown michal.valient
#preflight 61583fa15631d9000132f55d

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 17701503 via CL 17969695 via CL 18366584 via CL 18366678
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18366745 by rune stubbe in ue5-release-engine-test branch]
2021-12-03 02:41:20 -05:00
jon nabozny
3e478185e0 Moved optional GPU memory over to dynamic payload allocator + various CPU/threading optimizations (avoid expensive contention grabbing per instance render data buffer unless absolutely necessary). Saves upwards of ~222MB GPU memory in Frosty, and ~840MB GPU memory if world partition is disabled (4x more instances loaded).
#rb ola.olsson
#preflight 614a1091286e3b00010e7380
[FYI] brian.karis, rune.stubbe, jason.nadro, krzysztof.narkowicz, andy.firth
#lockdown michal.valient

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 17588680 via CL 17950709 via CL 18364633 via CL 18364726
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18364781 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 23:38:54 -05:00
jon nabozny
1044ec5252 Moved per instance local bounds and Nanite hierarchy offset over to optional sidecar data, and updated all areas to source from the correct data + refactored GPU Scene to populate the new arrays correctly (the only current user of them). Also removed per instance flags in favor of dynamically deriving the important bits on GPU Scene upload. Reduces size of FPrimitiveInstance from 80 bytes down to 48 bytes (single 4x3 float FRenderTransform remains, could be 2x float4s with FCompressedTransform in the future).
#preflight 6138020f25e54000015502f6
#rb brian.karis, krzysztof.narkowicz
[FYI] daniel.wright, ola.olsson, rune.stubbe

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 17488104 via CL 17933105 via CL 18363029 via CL 18363080
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18363108 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 20:49:23 -05:00
brett miller
7c0c32d75a GeometryCollectionComponent
-- added ForceMotionBlur property to make the Nanite scene proxy think that the geometry collection is always moving so that motion blur optimizaztion is forced to evaluate motion.

[FYI] graham.wihlidal,jack.oakman,matt.hoffman,yafes.sahin
#deadend
#preflight 613a81bd48c4a400012d99b2

#ROBOMERGE-AUTHOR: brett.miller
#ROBOMERGE-SOURCE: CL 17477454 via CL 17926793 via CL 18361971 via CL 18362051
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18362115 by brett miller in ue5-release-engine-test branch]
2021-12-02 18:57:44 -05:00
tyson brochu
5487c2caff Fracture tool: restore Hide/Unhide button functionality. In UGeometryCollectionComponent, if a Hide array is not available in the GeometryCollection, use the Visible array to determine visibility.
#jira UE-135935
#rnx
#rb cedric.caillaud
#preflight 619fd320f70a9e92db88f4c1

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 18296026 in //UE5/Release-5.0/... via CL 18296032
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18296033 by tyson brochu in ue5-release-engine-test branch]
2021-11-25 13:38:07 -05:00