Commit Graph

499 Commits

Author SHA1 Message Date
bill henderson
e50a6e6857 Modular Vehicle changes for networking
#preflight 637b508b8b12eb83a7609ca2
#rb Cedric.Caillaud
#preflight 637b508b8b12eb83a7609ca2

[CL 23219604 by bill henderson in ue5-main branch]
2022-11-21 07:56:36 -05:00
cedric caillaud
394cac8fda Make geometry collection replication properties write-able
#rb trivial
#preflight none

[CL 23208012 by cedric caillaud in ue5-main branch]
2022-11-18 17:51:59 -05:00
brice criswell
1dc0cf0874 GeometryCollection : Facade API cleanup
#rb Cedric.Caillaud
#preflight 6376d4c0aa2fe2b05f6668e0

[CL 23194460 by brice criswell in ue5-main branch]
2022-11-18 10:22:38 -05:00
cedric caillaud
803bfaaa67 geometrycollection runtime optimization
- Optimize managed array collection NumElement to only fetch once from the group map
- Make sure to skip IncrementSleepTimer and ImcrementBreakTimer method is GC is not broken yet
- Early out in RefreshEmbeddedGeometry if no examplar is present
- Optimize BuildGeometry to reduce cache missed when running too small batch across large number of threads ( 2.5 time perf boost )

#rb benn.gallagher
#preflight 637531c6953c19d43519551b

[CL 23166264 by cedric caillaud in ue5-main branch]
2022-11-16 19:21:50 -05:00
cedric caillaud
9fc08afba5 Optimize geaometry collection creation from geometry sources
- Only call reindexMaterial once
- Make sure reindexMaterial  skips validation when calling RemoveElements

#rb brice.criswell, jimmy.andrews
#preflight 63726910b6636838286b850d

[CL 23124875 by cedric caillaud in ue5-main branch]
2022-11-14 15:56:50 -05:00
cedric caillaud
89b7dcfcbd Improve set clustered function on geometry collection component
- Add a set clustered by transformed box
- Fix the set clustered functions to properly update the kinematic state of the parents
- Imporved the debug draw of connection graph to better see the node state when close

#rb none
#preflight 636dd14e953c19d435279592

[CL 23102242 by cedric caillaud in ue5-main branch]
2022-11-11 14:11:40 -05:00
jimmy andrews
9f0c852b12 make static mesh -> geometry collection conversion respect the static mesh build settings, so normals/tangents are computed with the same settings as used by the static mesh build, and are not recomputed if the build settings do not allow it
#preflight 636c55b0376a9cd6a8d3aeb0
#rb cedric.caillaud

[CL 23072026 by jimmy andrews in ue5-main branch]
2022-11-10 01:18:48 -05:00
henrik karlsson
b75f8273d9 Include removals
* GeometryCollectionComponent.h - Most files are related to the removal of includes in this file. Removed 7 headers
   - Moved GeometryCollectionDamagePropagationData in to its own file
   - Changed COPY_ON_WRITE_ATTRIBUTE to be set in a way so implementations can be placed in cpp file.
   - Moved some function implementations to cpp file
* Removed include in FieldSystemActor.h
* Removed include in FieldSystem.h
* Removed include in CommonUISettings.h


#preflight 636b325c376a9cd6a8818aae
#rb cedric.caillaud (for the actual changes, not additional includes and a couple include removals outside GeometryCollection)

[CL 23069399 by henrik karlsson in ue5-main branch]
2022-11-09 20:53:21 -05:00
brice criswell
ad1a1d4723 GeometryCollection : Material index out of bounds crash.
#rb Cedric.Caillaud
#preflight 636ad115ed07daaa9a2e5fcb

[CL 23049087 by brice criswell in ue5-main branch]
2022-11-09 02:18:57 -05:00
brice criswell
34a671b274 Dataflow : Generic evaluation from DataflowEditor
- Allow dataflow to perform graph evaluations.
#rb none
[FYI] Cedric.Caillaud, Gustav.Melich
#preflight 636ad035843e6ac794e4f7a6

[CL 23049086 by brice criswell in ue5-main branch]
2022-11-09 02:18:51 -05:00
cedric caillaud
4a17690360 Enable strip on cook to work without nanite enabled
#rb brice.criswell
#preflight 636962624d3c1d9d927d5c40

[CL 23025344 by cedric caillaud in ue5-main branch]
2022-11-08 04:24:06 -05:00
cedric caillaud
17a5140e40 Geometrty collection - add multiple blueprint functions
- GetLocalBoudns
- GetDebugInfo : to get detailed info about the various collection and their arrays ( including estimated memory usage )
- SetAnchoredByIndex / SetAnchoredBybox now has a bAnchored boolean

#rb brice.criswell
#preflight

[CL 22958587 by cedric caillaud in ue5-main branch]
2022-11-03 13:56:42 -04:00
cedric caillaud
243f3b1b4e Chaos : add method to dynamically set Geometry collection fragment to be anchored ( by index or by box )
#rb brice.criswell
#preflight 636182f91608da6ba139f700

[CL 22918006 by cedric caillaud in ue5-main branch]
2022-11-02 11:47:15 -04:00
henrik karlsson
6463430a14 * InterchangeActorHelper - Added include to solve compile error
* GeometryCollectionRenderLevelSetActor - Removed using namespace Chaos in global namespace

Attempt at fixing Mac build errors

#rb none
#jira none
#preflight skipped

[CL 22892779 by henrik karlsson in ue5-main branch]
2022-11-01 17:49:46 -04:00
cedric caillaud
fb3e9ff339 Chaos : enable support for root proxy mesh for geometry collection ( work only with ISM at the moment )
#rb brice.criswell, michael.bao
#preflight 6359d21b5d49a96f7b127ffa

[CL 22850795 by cedric caillaud in ue5-main branch]
2022-10-29 03:00:57 -04:00
cedric caillaud
ab5cd03a19 Chaos : expose ISM Pool so it can be edited in construction scripts
#rb trivial
#preflight none

[CL 22823601 by cedric caillaud in ue5-main branch]
2022-10-28 00:34:23 -04:00
cedric caillaud
45169b4d63 Chaos : fix geometry collection replication failing because the client side component has a authority local role when physics state is being created
#rb none
#preflight 635adaea944463bad46f163f

[CL 22823592 by cedric caillaud in ue5-main branch]
2022-10-28 00:33:43 -04:00
henrik karlsson
ed85af7728 Non unity/pch compile fixes
Cmdline: UnrealEditor Win64 debug -nodebuginfo -nolink -allcores -DisableUnity -CppStd=Cpp17 -allmodules -nopch

#rb none
#preflight skipped

[CL 22799084 by henrik karlsson in ue5-main branch]
2022-10-26 19:29:11 -04:00
cedric caillaud
dba9dd5ecb Chaos : Dataflow : add geometry collection asset specific nodes
#rb gustav.melich, brice.criswell
#preflight 6358159ce456a68082b43ba9

[CL 22798238 by cedric caillaud in ue5-main branch]
2022-10-26 19:04:47 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
Jimmy Andrews
e648a4cb5e Improved user control and visibility into proximity and connection graph generation for fracture:
- Added a Proximity tool to Fracture Mode to visualize and change generation settings for GeometryCollection bone proximity.
 - Added more user controls for how proximity is generated, including a "Convex Hull distance" method for deciding contact, which should help include connections that were missed by the default proximity detection method.
 - Made proximity settings live on the GeometryCollection as (non-cooked) attributes, so proximity re-generates with the desired method after further fracturing/clustering.
 - Added an option to automatically convert the proximity graph to a pre-computed connection graph used by simulation.
 - Reduce redundant proximity calculations: Be more consistent in relying on FGeometryCollectionEdit to update proximity as needed, and call 'RequireProximity' instead of 'UpdateProximity' in cases where we expect a valid proximity may already be present.

#rb cedric.caillaud
#preflight 6356d21b0313c24974eea2f8

[CL 22735429 by Jimmy Andrews in ue5-main branch]
2022-10-24 16:24:39 -04:00
graham wihlidal
5c05f4b3cd Rename FPrimitiveInstance to FInstanceSceneData and FPrimitiveInstanceDynamicData to FInstanceDynamicData (to match all the shader names, accessors/members, and resolving a number of outstanding TODOs)
#rb trivial
#preflight skip

[CL 22729202 by graham wihlidal in ue5-main branch]
2022-10-24 12:06:55 -04:00
henrik karlsson
d138aa6804 Fixed a bunch of non-unity non-pch compile errors (missing includes)
#rb none
#preflight skipped

[CL 22713063 by henrik karlsson in ue5-main branch]
2022-10-22 17:33:07 -04:00
cedric caillaud
5b28136c0a Chaos : fix potential crash with replication when physics state is destroyed
#rb brice.criswell.michael.forot
#jira UE-167938
#preflight 6352d8b63a547c3da385dcf3

[CL 22712152 by cedric caillaud in ue5-main branch]
2022-10-22 15:35:03 -04:00