Commit Graph

6877 Commits

Author SHA1 Message Date
mattias hornlund
e73e6e57bb Iris
- Fixed issue where only client would print default state of cdo used to initialize network state.

#rb LouisPhilippe.Seguin

[CL 36760738 by mattias hornlund in 5.5 branch]
2024-10-01 19:59:38 -04:00
peter engstrom
0ef26db48d Iris - Fixed issue with owner and connection filtered objects and late joining clients.
#jira UE-225367
#rb LouisPhilippe.Seguin

[CL 36760574 by peter engstrom in 5.5 branch]
2024-10-01 19:58:03 -04:00
sergio gardeazabal
453844e22d [ChaosVD] Fix ensure and recording start failure that can happen if you attempt to start a CVD recording when another trace recording session is active.
CVD already attempted to stop the active recording in these situations, but there are cases where the active session might take more than one frame to disconnect, causing the error.

This CL also adds a way to restore the trace channels CVD disabled at the start of the recording

#jira UE-224727
#rb Benn.Gallagher

[CL 36759591 by sergio gardeazabal in 5.5 branch]
2024-10-01 19:49:51 -04:00
sergio gardeazabal
93b2f61f5b [Chaos VD] Fix for log spam and missing that happens when a recording a scene with dynamic collections.
CVD needs to map each inner implicit object to a valid shape instance index so it can properly colorize and show the correct per shape data in the details panel.

We were already handling the case for nested Implicit Object unions, where the objects in the inner union share the same shape instance index, but we need to do the same for union clustered objects that might be the root.

#jira UE-225002
#rb Benn.Gallagher

[CL 36759353 by sergio gardeazabal in 5.5 branch]
2024-10-01 19:47:37 -04:00
mattias hornlund
09159f1928 NetToken
- Added support for separate indices per NetTokenDataStore to make it possible to use fewer bits for the index for types with few exports.

#rb Peter.Engstrom

[CL 36757497 by mattias hornlund in 5.5 branch]
2024-10-01 19:30:24 -04:00
yushan han
e4da80e2ea ChaosFlesh: InvertCurrent in painting tool; use VertexSelection instead of TArray; add AttributeKey input
#rb cedric.caillaud

Merging

//Fortnite/Main/Engine/...

to //Fortnite/Release-32.00/Engine/...

[CL 36757068 by yushan han in 5.5 branch]
2024-10-01 19:26:32 -04:00
michael forot
a3213e2828 Change Dataflow namespace to UE::Dataflow to be ok with coding standard
#rb Alex.McAdams, kriss.gossart

[CL 36755837 by michael forot in 5.5 branch]
2024-10-01 19:11:14 -04:00
peter engstrom
6a6c4cedd0 Iris - Adjusted LocalIndex calculations and added ensure to track down crash.
#rnx
#rb bradley.heath

[CL 36753933 by peter engstrom in 5.5 branch]
2024-10-01 18:55:09 -04:00
benoit gadreau
26ffadbe32 Constraints: ensure attachment dependency is enforced
#jira UE-225153
#rb Mike.Zyracki
#rnx

[CL 36752348 by benoit gadreau in 5.5 branch]
2024-10-01 18:41:36 -04:00
peter engstrom
ec227a3627 NetCore - Implemented FConnectionHandle which carry both parent connection and child connection information. This can be usefule for APIs where it's important to keep track of child connections as well.
#rb LouisPhilippe.Seguin, carles.fernandez

[CL 36750206 by peter engstrom in 5.5 branch]
2024-10-01 18:11:38 -04:00
cedric caillaud
0d10f2feae Geometry collection : fix issues where geometry collection do not properly update the velocity buffer
- this is because the previous transforms are not properly set

#rb jeremy.moore

[CL 36747865 by cedric caillaud in 5.5 branch]
2024-10-01 17:48:47 -04:00
cedric caillaud
e4667121f3 Fix geometry collection component removal logic preventing internal clusters from crumbling into smaller pieces
- HasDynamicInternalClusterParent and HasClusterUnionParent are mutually exclusive and testing both was resulting in getting always false for computing HasDynamicInternalClusterParent

[CL 36747843 by cedric caillaud in 5.5 branch]
2024-10-01 17:48:28 -04:00
cedric caillaud
47741f7940 Dataflow : Fix various issues isues and crashes with Dataflow nodes
- Fix out of bound related crashes when using the select by box node ( when there was more transforms than geometry in the collection )
    - now properly access the centroid array by geometry index
- StaticMeshToCollection node now outputs collection with a single root when using the Split Element option

#rb gustav.melich
#jira UE-225106

#p4v-cherrypick 36466212

[CL 36485897 by cedric caillaud in 5.5 branch]
2024-09-20 17:15:44 -04:00
yushan han
913851c99a ChaosFlesh: geometry cache generation takes skeletal mesh as input; GenerateSurfaceBindings takes an optional list of geometry names
#rb cedric.caillaud

[CL 36461992 by yushan han in 5.5 branch]
2024-09-19 20:44:08 -04:00
yushan han
32778e408f ChaosFlesh: CIS fix
change warning messages to display/verbose

#rb Brice.Criswell
#jira UE-224721

[CL 36449792 by yushan han in 5.5 branch]
2024-09-19 16:17:12 -04:00
jeremy moore
3490ecb33d #jira UE-202340
Add support for non-nanite fallback mesh for nanite geometry collections.
Strip geometry collection nanite render data when cooking non-nanite platforms.
#rb cedric.caillaud

[CL 36439857 by jeremy moore in 5.5 branch]
2024-09-19 13:08:02 -04:00
yizhou chen
194c7b16be Chaos::Fix crash when there are several island groups with joint constraints.
#rb Chris.Caulfield, vincent.robert

[CL 36402787 by yizhou chen in 5.5 branch]
2024-09-18 14:45:46 -04:00
louisphilippe seguin
5fe2ef2b41 Iris
* Added PostInit callback to UNetObjectFactory
* Moved PostInit code from bridges to their respective factory

#rnx
#rb Mattias.Hornlund

[CL 36390399 by louisphilippe seguin in 5.5 branch]
2024-09-18 10:30:30 -04:00
mattias hornlund
93d29af692 Iris/Networking
- Enabled use of NetTokens/NetTokenStore and NetTokenDataStores outside of Iris to facilitate exporting data from shared serialization paths
- NetTokenStore and NetTokenDataStores are now owned by NetDriver.
- Added support for CustomExport bunches to carry data assoiciated with NetTokenExports

GameplayTags
- GameplayTagNetSerializer now respects settings from GameplayTags.ini
- Implemented placeholder GameplayTagNetTokenDataStore.

GameplayTags are now using NetTokens to export data if running in the new dynamic mode.

#rb jodon.karlik, Ryan.Gerleve

[CL 36380672 by mattias hornlund in 5.5 branch]
2024-09-18 04:10:29 -04:00
sergio gardeazabal
e12b3ab07e [ChaosVD] Added support to visualize the log output stream
- Implemented widget to render all recorded logs
- Enabled the log trace channel in CVD
- Implemented a search bar and category & verbosity filter
- Search and other filter application is async
- Implemented two-way selection system. If you scrub to any given frame, all the log lines for that game frame or solver frame will be selected and the log window will scroll automatically to the line. If you click on any log line, CVD will jump to the closes recorded game frame for the selected log line.

#jira UE-203462
#rb Benn.Gallagher

[CL 36365541 by sergio gardeazabal in 5.5 branch]
2024-09-17 20:04:26 -04:00
yushan han
d55d7fce31 ChaosFlesh: Modified Append() in ManagedArrayCollection and derived collections
#rb cedric.caillaud, kriss.gossart

[CL 36355472 by yushan han in 5.5 branch]
2024-09-17 17:40:17 -04:00
yushan han
38e8de19d9 ChaosFlesh: GenerateSurfaceBindings binds global mesh instead of individual flesh components; vertex attribute transfer; supports materials for DeformableTetrahedralComponent
#rb Brice.Criswell, Cedric.Caillaud

[CL 36354939 by yushan han in 5.5 branch]
2024-09-17 17:35:37 -04:00
alex mcadams
85b8a663a0 Chaos Cloth Asset: fix Aerodynamics debug draw.
Softs Evolution doesn't calculate Aerodynamics forces in two passes, so the Forces buffer is not calculated. Instead just calculate the force based on the current state. This will represent the force for next frame instead of current frame, but most of our debug display shows based on current (end of frame) state rather than last frame, so this is consistent with that.

Also add a user-scale menu option and set the Simulation Statistics debug display to true, and fix a DPI scale bug in the text visualization.

#rb kriss.gossart
#jira UE-224203

[CL 36352223 by alex mcadams in 5.5 branch]
2024-09-17 16:45:17 -04:00
jeremy moore
37005c2a09 #jira UE-224160
Fix nanite geometry collection not visually rotating on gizmo driven rotations.
Needed to reapply modified instance transforms after primitive transform update.
This is because, for nanite, Geom Collection GPU instance transforms are stored relative to the relative (non-rotated) world transform.
This bug wasn't visible for non-gizmo use movement cases which go through full scene proxy recreate.
This bug wasn't visible for gizmo translation use case because this is in the relative transform.
#rb cedric.caillaud

[CL 36344776 by jeremy moore in 5.5 branch]
2024-09-17 14:36:27 -04:00
markus boberg
f29ca7e67b [NetPhysics] Refactor physics resimulation flow to further allow optimizations by disabling individual caches of data that might not be needed.
- Rely on FRewindData for both rewind and stepping through non-resim objects histories so we don't only rely on the ResimCache which holds duplicate data.
- Deactivate FEvolutionResimCache by default, API in FPhysicsSolverBase to toggle on and off and the normal EnableRewindData call will enable it if parameter for it is true.
- Put in CVar, enabled by default, to be able to disable FPushPhysicsData dirty proxies from being cached in history: p.Resim.CachePushDataDirtyProxies
- Put in CVar, enabled by default, to be able to disable FPushPhysicsData async inputs from being cached in history: p.Resim.CachePushDataAsyncInputs
- Put in CVar, enabled by default, to optimize RewindData: p.Resim.RewindDataOptimization
- Mark islands for resim if they have particles in them marked for FullResim
- Take actual physics tick-rate into account for physics tick buffering and rewind data history size, instead of value in project settings.

#rb tom.waterson

[CL 36341150 by markus boberg in 5.5 branch]
2024-09-17 13:05:39 -04:00