Commit Graph

443 Commits

Author SHA1 Message Date
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
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
cedric caillaud
c19ac15348 Dataflow : add mesh transform to StaticMeshToCollection node
[CL 36309252 by cedric caillaud in 5.5 branch]
2024-09-16 13:59:09 -04:00
cedric caillaud
e103e963e0 Dataflow / Geometry collection : fix crash when geometry collection are empty
- this also allow terminal node to actually properly process empty collection

#jira UE-223273
#rb brice.criswell, michael.forot, gustav.melich

[CL 36289407 by cedric caillaud in 5.5 branch]
2024-09-13 21:28:49 -04:00
Michael Forot
dcf4d77016 6- Chaos rigid dataflow simulation support
#rb cedric.caillaud
#jira none

#virtualized

[CL 36009893 by Michael Forot in ue5-main branch]
2024-09-04 11:01:32 -04:00
cedric caillaud
83dddda3e9 Geometry collection : Add GetLocalRestTransform blueprint function
[CL 35912879 by cedric caillaud in ue5-main branch]
2024-08-29 23:06:41 -04:00
sebastien lussier
93c6874ab9 World Partition - HLODs - Improved support for Geometry Collection components
* Will now rely on the Geometry Collection ISM Pool components to generate the HLOD, allowing PerInstanceData to be taken into account in the HLOD
* As a side effect, this allow the computation of a valid "HLOD hash"  for HLODs from GC on building actors - previously only correct for JunoBuildingProp
#jira UE-220875
#rb Jeremy.Moore, Richard.Malo

[CL 35825057 by sebastien lussier in ue5-main branch]
2024-08-27 10:37:53 -04:00
bill henderson
b1005ac923 New Geometry Collection option to always update active transforms - so vehicle parts can fall off and remain on the ground rather than following the root actors movement
#rb cedric.caillaud

[CL 35692033 by bill henderson in ue5-main branch]
2024-08-21 05:26:23 -04:00
cedric caillaud
8c72e0c6bf Geometry collection : Fix removal timer starting at -1 and causing remove on break to be longer by a second
#rb benn.gallagher, vincent.robert, jimmy.andrews

[CL 35582972 by cedric caillaud in ue5-main branch]
2024-08-15 19:22:31 -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
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
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
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
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
cedric caillaud
b1294014fd Geometry collection / Dataflow : properly support material instances
[CL 33821138 by cedric caillaud in ue5-main branch]
2024-05-22 00:24:38 -04:00
Michael Forot
7afe95f574 3- Multiple dataflow terminal nodes
#rb Brice.Criswell
#jira none

[CL 33762293 by Michael Forot in ue5-main branch]
2024-05-20 04:19:46 -04:00
trapper mcferron
58600e18e7 Added a GroupHash member to FISMComponentDescription for identical SMs to be separated into different groups for finer grained culling.
#rb Jeremy.Moore

[CL 33732127 by trapper mcferron in ue5-main branch]
2024-05-17 14:47:23 -04:00
Brice Criswell
ab85cafc1f Dataflow : Skeleton View
-Refactored Skeleton View to match the FDataflowNodeView paradigm.
-Renamed ?Skeletal Hierarchy? to ?Skelton View?
-Added conversion for Collection to Skelton
-Updated FCollectionTransformFacade to support optional BoneName attribute.
#rb cedric.caillaud
#jira none

[CL 33337463 by Brice Criswell in ue5-main branch]
2024-04-30 10:30:35 -04:00
steve robb
92463911c8 Fixed mismatched printf format arguments.
#rb brandon.schaefer

[CL 33264801 by steve robb in ue5-main branch]
2024-04-26 11:02:47 -04:00
jeremy moore
d24210941f Fix for Geometry Component in-editor moving.
Refreshing custom renderer during OnUpdateTransform() happens before the fulll component hierachy has the transform applied. This means that the refreshed intance transform is based against the previous actor root transform and an offset can occur.
Move the refresh to the end of MoveComponentImpl() fixes it.
Submitting to unblock users, but will also investigate if using local transform space instead or world space is better.

[CL 33189751 by jeremy moore in ue5-main branch]
2024-04-23 21:00:48 -04:00