Commit Graph

1004 Commits

Author SHA1 Message Date
jeremy moore
8ae34caab5 Remove duplication of logic to create a vertex color material proxy for dynamic element style debug rendering.
#rb cedric.caillaud, Jason.Nadro

[CL 35572481 by jeremy moore in ue5-main branch]
2024-08-15 14:58:32 -04:00
jeremy moore
d3f8b2a0fd ISMPool: disallow nanite on managed ISMs with translucent materials.
Removes cases of log spam where we have translucent materials that disable nanite later in the pipeline when creating scene proxies.
#rb cedric.caillaud

[CL 35515823 by jeremy moore in ue5-main branch]
2024-08-13 19:18:47 -04:00
cedric caillaud
6b40c56288 Geometry Collection : Fix crash when adding a geometry collection to a blueprint that contains embedded geometry
- crash was caused by the fact that the owner of a component is null when added to a blueprint
- added extra checks to avoid crashing when this is the case

#jira UE-219818
[FYI] jimmy.andrews, gustav.melich, kazuhisa.minato

[CL 35428749 by cedric caillaud in ue5-main branch]
2024-08-09 13:25:32 -04:00
markus boberg
4d2e0e17ae [NetPhysics] Refactor physics replication cache to run async.
- Also makes GeometryCollectionComponent take solver frame from the marshaling manager instead of the replication cache since it's not using the cache for the states.

#rb Benn.Gallagher

[CL 35302926 by markus boberg in ue5-main branch]
2024-08-05 04:39:03 -04:00
cedric caillaud
ad20c033f3 Geometry collection : expose a way for blueprint to set the component space transform of a specific roiot proxy mesh
[CL 35125615 by cedric caillaud in ue5-main branch]
2024-07-26 20:47:26 -04:00
jamie hayes
2d076c123a Nanite fallback static mesh build refactor:
* Stop using Nanite builder to generate the first reductions of fallback LOD, and instead only use Nanite to generate the first LOD, and perform the reductions with the mesh reduction module.
* Split out parts of the Nanite build portion of static mesh to prepare for upcoming changes (Nanite Assemblies) that will require building Nanite meshes with multiple inputs for the same static mesh.
* Re-introduce a Nanite DDC data fix since these changes require version bumps anyway.

#rb brian.karis
#jira UE-207151

[CL 35004573 by jamie hayes in ue5-main branch]
2024-07-22 18:16:52 -04:00
shaun kime
3096a5104b Fixed Geometry collection memory reporting for GetResourceSizeEx if editor data is filtered and the cooking data options are removed.
#rb cedric.caillaud

[CL 34955918 by shaun kime in ue5-main branch]
2024-07-20 13:48:34 -04:00
jeremy moore
f2fecd29dc Add support for per-bone hit proxies to geometry collection nanite scene proxies.
#rb Jimmy.Andrews
#tests Use fracture mode with nanite geometry collection to confirm that selection works.

[CL 34902727 by jeremy moore in ue5-main branch]
2024-07-18 11:42:39 -04:00
jimmy andrews
765ad95250 add simple empty light cache interface to nanite geometry collection scene proxy, since we never have baked light maps for them
#rb Jeremy.Moore

[CL 34882297 by jimmy andrews in ue5-main branch]
2024-07-17 15:46:26 -04:00
cedric caillaud
72c4876536 Geometry collection : add support for collision visualization mode ( player collision & Visibility collision )
#rb Sergio.Gardeazabal
#jira UE-218991

[CL 34841757 by cedric caillaud in ue5-main branch]
2024-07-16 11:29:59 -04:00
Michael Forot
0a75528473 Save of the dataflow scene description
#rb Brice.Criswell
#jira none

[CL 34495970 by Michael Forot in ue5-main branch]
2024-06-19 08:11:11 -04:00
Brice Criswell
235805fc4a GeometryCollection : Blueprint access for ChaosSolverActor
#rb cedric.caillaud
#jira none

[CL 34348805 by Brice Criswell in ue5-main branch]
2024-06-13 14:36:36 -04:00
mattias hornlund
6fff4f9c51 Iris / Juno
- Temporary change to make GeometryCollectionRepDynamicData, GeometryCollectionRepData and GeometryCollectionRepStateData to use LastResortNetSerializer

#rb Peter.Engstrom

[CL 34272063 by mattias hornlund in ue5-main branch]
2024-06-11 06:55:07 -04:00
graham wihlidal
18f387a4e2 Nanite support for per mesh section cast shadows flag
#rb jamie.hayes
#jira UE-171477
#fyi brian.karis, rune.stubbe, andrew.lauritzen, ola.olsson

[CL 34210703 by graham wihlidal in ue5-main branch]
2024-06-07 14:58:51 -04:00
Brice Criswell
b2c1fb1c9b GeometryCollection : Conversion from SkeletalMesh
- Fixed insertion issue for debug builds where infos and raw names were misaligned.
#rb brice.criswell
#jira none

[CL 34107501 by Brice Criswell in ue5-main branch]
2024-06-04 17:21:52 -04:00
cedric caillaud
10fbeb2a28 Geometry collection : Memory optimization : Remove simplicials from dynamic collection avoiding extra expensive copies and extra memory
this saves a total 16 bytes per bone ( Physics thread + game thread dyanmic collection )  per geometry collection component

#rb Benn.Gallagher, titouan.deslandes, vincent.robert

[CL 34080384 by cedric caillaud in ue5-main branch]
2024-06-03 18:44:53 -04:00
brandon schaefer
e64748d3de Disable the top modules that are not currently set to enable AutoRTFM
#rb neil.henning

[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
cedric caillaud
6c7af5818d [Backout] - CL33950711
[FYI] cedric.caillaud
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL33931377
[FYI] cedric.caillaud
Original CL Desc
-----------------------------------------------------------------
Geometry collection asset - move cooking of render data  out of the serialize method
- This is required to support async loading and avoid the resource initialization from calling GameThread  checked methods
- Move cooking to both PreSave and PostLoad
THis simplifies the code as PostLoad and PreSave are not called during transactions

#rb Jeremy.Moore
#jira UE-215088

[CL 33978689 by cedric caillaud in ue5-main branch]
2024-05-29 13:10:12 -04:00
cedric caillaud
fd85c92ee6 [Backout] - CL33931377
[FYI] cedric.caillaud
Original CL Desc
-----------------------------------------------------------------
Geometry collection asset - move cooking of render data  out of the serialize method
- This is required to support async loading and avoid the resource initialization from calling GameThread  checked methods
- Move cooking to both PreSave and PostLoad
THis simplifies the code as PostLoad and PreSave are not called during transactions

#rb Jeremy.Moore
#jira UE-215088

[CL 33951250 by cedric caillaud in ue5-main branch]
2024-05-28 16:12:37 -04:00
cedric caillaud
40afb51b2a Geometry collection asset - move cooking of render data out of the serialize method
- This is required to support async loading and avoid the resource initialization from calling GameThread  checked methods
- Move cooking to both PreSave and PostLoad
THis simplifies the code as PostLoad and PreSave are not called during transactions

#rb Jeremy.Moore
#jira UE-215088

[CL 33931385 by cedric caillaud in ue5-main branch]
2024-05-27 17:17:50 -04:00
cedric caillaud
1be79a061b geometry collection : add support for changing enable gravity flag at runtime
[FYI] chris.caulfield

[CL 33928320 by cedric caillaud in ue5-main branch]
2024-05-27 14:23:58 -04:00
cedric caillaud
1e68725496 geometry collection - memory optimization - allocate field data on demand , remove unused arrays and packed existing private members
- saves 320 bytes from the proxy
- cleaned up the buffer command API for the proxy to be clear about what can be called from the game or physics thread

#rb vincent.robert, benn.gallagher, brice.criswell, titouan.deslandes

[CL 33900856 by cedric caillaud in ue5-main branch]
2024-05-24 14:14:39 -04:00
titouan deslandes
2222f0c382 Geometry collection - memory optimization
* packed and re-ordered members in GeometryCollectionComponent, saving 64 bytes
* packed and re-ordered members in GeometryCollectionISMPoolRenderer, saving 16 bytes
* packed and re-ordered members in IPhysicsProxyBase, saving 8 bytes
* packed and re-ordered members in ClusterUnionReplicatedProxyComponent, saving 16 bytes

#rb cedric.caillaud

[CL 33894015 by titouan deslandes in ue5-main branch]
2024-05-24 10:31:28 -04:00
cedric caillaud
bd29cafbab Geometry collection - memory optimization
* packed and re-ordered data in structures to minimize padding as much as possible
* reduce simulation parameters data by 80 bytes ( 112 if stripping the deprecated members )
* remove dead code

#rb titouan.deslandes

[CL 33871845 by cedric caillaud in ue5-main branch]
2024-05-23 15:40:38 -04:00
jimmy andrews
636bfbf3fc Remove bone selected material reference from UGeometryCollection, and clean up some references / accesses to it and legacy methods referring to its (now nonexistent) material ID
#rb cedric.caillaud

[CL 33836478 by jimmy andrews in ue5-main branch]
2024-05-22 13:38:07 -04:00