Commit Graph

5347 Commits

Author SHA1 Message Date
cedric caillaud
1b129aa778 Clustering optimization : add two cvar (soft and hard ) to control the number of released particles based on the number of active geometry collection particle
#rb benn.gallagher, vincent.robert

[CL 28344375 by cedric caillaud in ue5-main branch]
2023-09-29 11:58:13 -04:00
pj kack
663b85f951 Make sure recipient of cache reads knows about them before they are actioned.
The submitted read was completing almost as quickly as it took to return from BeginRead() so it was never in the PendingMaterializes map for collection. Consequently the OnRead() callback wasn't able to find the read in the PendingMaterializes map.

Implemented and preflighted by martin.ridgers, reviewed and submitted by pj.kack.

#rb pj.kack
#rnx
#[robomerge][valkyrie] dev-valkyrie

#ushell-cherrypick of 28340644 by Martin.Ridgers

[CL 28343041 by pj kack in ue5-main branch]
2023-09-29 11:02:10 -04:00
mattias hornlund
13826fcfd5 Iris
- Fixed assert in ReplicationWriter

#rb Peter.Engstrom

[CL 28342160 by mattias hornlund in ue5-main branch]
2023-09-29 10:31:03 -04:00
martin ridgers
60cf424299 Corrected page size causing check()
#rb trivial
#rnx
#jira

[CL 28339195 by martin ridgers in ue5-main branch]
2023-09-29 07:36:53 -04:00
paul chipchase
129f1089b3 Fix up some of the Ias cvars to match the style of the rest of the module.
#rb Martin.Ridgers
#rnx

[CL 28337952 by paul chipchase in ue5-main branch]
2023-09-29 04:53:37 -04:00
martin ridgers
151f9907f5 Removed unused cancellation token object
#rb pj
#rnx
#jira

(git:ae45cf1 - Martin Ridgers - 2023-09-27 22:10:32 +0200)

#ushell-cherrypick of 28290419 by Martin.Ridgers

[CL 28337121 by martin ridgers in ue5-main branch]
2023-09-29 02:33:33 -04:00
martin ridgers
47c2a2a04a The FS lock is no longer required but we need to lock RWs to DataMap
#rb pj
#rnx
#jira
#ushell-cherrypick of 28290396 by Martin.Ridgers

[CL 28337116 by martin ridgers in ue5-main branch]
2023-09-29 02:33:23 -04:00
paul chipchase
da3e16d962 Ias will now generate the OnDemandToc via utoc files on disk rather than downloading it from a CDN.
#rb PJ.Kack
#rnx

- Flipped cvar 's.IasGenerateOnDemandToc' to default to true.
- Added a specific line of logging when generating the OnDemandToc from disk.

[CL 28337057 by paul chipchase in ue5-main branch]
2023-09-29 02:26:43 -04:00
michael bao
b5ae00a61b geometry collection should return false for CanEditSimulatePhysics if no rest collection is set
#rb cedric.caillaud

[CL 28333213 by michael bao in ue5-main branch]
2023-09-28 20:31:47 -04:00
vincent robert
16568b2f49 Reduce memory usage in Dynamic Collection
Remove children array of set from Dynamic Collection, it is now using the bit array from its parent.
#rb cedric.caillaud

[CL 28331755 by vincent robert in ue5-main branch]
2023-09-28 18:44:03 -04:00
chris caulfield
cd58f3bb24 Chaos - collision detection fixes
- add setting struct to FMeshContactGenerator
- change capsule collision to use FMeshContactGenerator with custom settings

#rb vincent.robert, jaco.vandyk

[CL 28327309 by chris caulfield in ue5-main branch]
2023-09-28 16:16:21 -04:00
mattias hornlund
228791254f Iris
- Added support for sending attachments flagged as SendImmediate from PostDispatchTick

#jira UE-122456
#rb Peter.Engstrom

[CL 28318795 by mattias hornlund in ue5-main branch]
2023-09-28 10:58:24 -04:00
michael forot
d3ac481582 Convex optimization LODs
#rb chris.caulfield, michael.bao

[CL 28315528 by michael forot in ue5-main branch]
2023-09-28 08:50:50 -04:00
michael forot
3e0244f2be Fix juno field crash
#rb trivial

[CL 28314962 by michael forot in ue5-main branch]
2023-09-28 08:20:10 -04:00
martin ridgers
75b049f7ef Change IAS cache to use read/cancel ops on its IO thread
#rb pj,jb
#rnx
#jira
(git:2acec25 - Martin Ridgers - 2023-09-27 22:09:39 +0200)

[CL 28313946 by martin ridgers in ue5-main branch]
2023-09-28 07:30:35 -04:00
martin ridgers
118117e8fc Resolve() now uses the FResult object
#rb pc
#jira
#rnx
(git:f28d447 - Martin Ridgers - 2023-09-25 00:06:49 +0200)

[CL 28313771 by martin ridgers in ue5-main branch]
2023-09-28 07:17:15 -04:00
martin ridgers
b25ffdb8e6 Make sure IAS' service thread exits correctly on shutdown
#rb pj
#rnx
#ushell-cherrypick of 28311027 by Martin.Ridgers

[CL 28312403 by martin ridgers in ue5-main branch]
2023-09-28 05:59:25 -04:00
martin ridgers
df8f7a2b6c Moved work reception into its own method
(git:2ce4019 - Martin Ridgers - 2023-09-24 16:18:55 +0200)
#rb trivial
#jira
#rnx

[CL 28310297 by martin ridgers in ue5-main branch]
2023-09-28 02:24:52 -04:00
martin ridgers
6c1c9577b9 Smaller alloc size increases for request builds and message receives
(git:a0ad1a6 - Martin Ridgers - 2023-09-27 21:30:53 +0200)

#rb trivial
#jira
#rnx

[CL 28310290 by martin ridgers in ue5-main branch]
2023-09-28 02:24:17 -04:00
chris caulfield
0970048e1b Chaos - add show queryonly, simonly, probeonly options to debugdraw
#rb cedric.caillaud

[CL 28303060 by chris caulfield in ue5-main branch]
2023-09-27 20:12:09 -04:00
vincent robert
f2f162ac2d Reduce memory usage in Dynamic Collection
Remove parent array from Dynamic Collection, it is now replaced by a bit array
#rb cedric.caillaud

[CL 28285924 by vincent robert in ue5-main branch]
2023-09-27 15:03:55 -04:00
peter engstrom
fe6ca60113 Iris - Multiple huge objects support.
The max number of huge objects in transit is controlled via the cvar net.Iris.ReplicationWriterMaxHugeObjectsInTransit, defaulting to 16, but will be at least one. There's a tradeoff mainly between the connection characteristics to support and normal object replication scheduling when tweaking this value. On one hand you don't want to end up stalling object replication because the top priority objects are huge. So you want to be able to keep replicating huge objects during the maximum latency, including latency variation, and packet loss scenarios you want to provide the best experience possible for. On the other hand object deletion cannot be performed once the object is in the huge object queue. Consider this and how long time it will take to replicate the huge object queue depending on the average payload of a huge object.

#jira UE-123370
#rb mattias.hornlund

[CL 28283681 by peter engstrom in ue5-main branch]
2023-09-27 14:19:10 -04:00
chris caulfield
4542b77075 Chaos - fix CollisionConstraint initial penetration MinInitialPhi
E.g., Objects would pop out of the ground even when InitialDepenetrationVelocity was set to zero. We don't save solver results for contacts that did not generate an impulse so we were throwing away initial penetration data. We must calculate and store MinimumInitialPhi on the previous frame when the data is still available.

#rb none

[CL 28278627 by chris caulfield in ue5-main branch]
2023-09-27 12:48:41 -04:00
markus boberg
c966135fb1 [NetPhysics] Enable RenderInterpolation CVars
[CL 28269775 by markus boberg in ue5-main branch]
2023-09-27 07:33:57 -04:00
markus boberg
3cbb994795 [NetPhysics] Temp disable RenderInterpolation CVars due to compile errors
[CL 28269342 by markus boberg in ue5-main branch]
2023-09-27 07:12:16 -04:00