Commit Graph

114 Commits

Author SHA1 Message Date
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
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
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
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
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
jimmy andrews
9124ea5c41 Fix failed check on undo of geometry collection changes in fracture mode
#rb cedric.caillaud

[CL 32859852 by jimmy andrews in ue5-main branch]
2024-04-10 12:22:12 -04:00
michael forot
b6168a808d Boolean on the geometry collection to enable the convex optimization
#rb cedric.caillaud

[CL 32445886 by michael forot in ue5-main branch]
2024-03-22 15:20:59 -04:00
jeremy moore
c538388cfb Comment update from review feedback.
[CL 28723526 by jeremy moore in ue5-main branch]
2023-10-12 15:24:35 -04:00
jeremy moore
1850f5c0e5 [Backout] - CL28697429
[FYI] bob.tellez
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL28695704
[FYI] Jeremy.Moore
Original CL Desc
-----------------------------------------------------------------
Store transform remap array for AutoInstanceMeshes in the geometry collection object.
This allows it to be calculated and stored once, for reference by multiple component instances.

[CL 28699292 by jeremy moore in ue5-main branch]
2023-10-11 23:17:16 -04:00
bob tellez
d776ae3ea2 [Backout] - CL28695704
[FYI] Jeremy.Moore
Original CL Desc
-----------------------------------------------------------------
Store transform remap array for AutoInstanceMeshes in the geometry collection object.
This allows it to be calculated and stored once, for reference by multiple component instances.

[CL 28697464 by bob tellez in ue5-main branch]
2023-10-11 21:57:26 -04:00
jeremy moore
5fc0e30c40 Store transform remap array for AutoInstanceMeshes in the geometry collection object.
This allows it to be calculated and stored once, for reference by multiple component instances.

[CL 28695736 by jeremy moore in ue5-main branch]
2023-10-11 20:57:17 -04:00
cedric caillaud
919458fb26 Make sure auto instance meshes array does not contain duplicates when generating geometry collection from Dataflow
- Add a SetAutoInstanceMeshes method to geometry collection asset that rem,ove duplicates and re-assign the auto instance indices as well as consolidating per instance primitive data
- call this method when setting the array when creating the asset in the geometry collection terminal node

#rb jeremy.moore

[CL 28686547 by cedric caillaud in ue5-main branch]
2023-10-11 18:10:36 -04:00
cedric caillaud
86dd65778d Compute component space transform optimization
Store breadth first order indices for transform on the rest collection

#rb benn.gallagher, vincent.robert, brice.criswell
[FYI] jeremy.moore

[CL 27652487 by cedric caillaud in ue5-main branch]
2023-09-06 17:00:17 -04:00
cedric caillaud
61000b99b1 Add damage modifier to physics material and an option in Geometry Collection asset to opt for it
#rb steven.barnett

[CL 26918152 by cedric caillaud in ue5-main branch]
2023-08-08 11:31:47 -04:00
cedric caillaud
c7fa6954f0 Fix mass calculation for geometry collections when overriding materials on the component
#rb michael.bao, steven.barnett

[CL 26679228 by cedric caillaud in ue5-main branch]
2023-07-28 13:39:56 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
robomerge
2e34b6a655 Make geometry collection convert vertex colors to sRGB when converting from FLinearColor to the render buffer FColor for new geometry collections.
For old geometry collections, keep the old behavior so that vertex colors are not changed unexpectedly on existing assets.  Add a bool on the UGeometryCollection asset object to let user control whether the conversion is performed.

#rb brice.criswell

[CL 25934820 by robomerge in ue5-main branch]
2023-06-12 15:24:20 -04:00
cedric caillaud
173be81199 Geometry collection : Expose Damage model property to blueprints
#rb trivial
#preflight none

[CL 25549123 by cedric caillaud in ue5-main branch]
2023-05-19 14:44:02 -04:00
cedric caillaud
538112ae9e Dataflow : add extra outputs to override nodes
- Add IsOverriden and typed Default value
- Expose Geometry collection Overrides map to blueprint
- Change display name of a Overrides map to DataFlow Overrides

[FYI] jack,oakman, gustav.melich
#rb gustav.melich, brice.criswell
#preflight 645bfbbcaa3c584c0bf86746

[CL 25420151 by cedric caillaud in ue5-main branch]
2023-05-10 20:28:16 -04:00
robert millar
d9b4700aa0 Markup up native serializers for object ref archives
#rb none

[CL 25415965 by robert millar in ue5-main branch]
2023-05-10 16:34:18 -04:00
cedric caillaud
2e6a07c611 Dataflow (Submitted on behalf of gustav.melich)
- Added GetFloatOverrideFromAsset, GetIntOverrideFromAsset, GetBoolOverrideFromAsset, GetStringOverrideFromAsset nodes
- Added 'Overrides' property to GC asset
- Added override node invalidation when 'Overrides' property gets changed on the asset
- bug fixes

[FYI] gustav.melich, jack.oakman
#rb Brice.Criswell, Cedric.Caillaud
#preflight 645aecf59f4768296389997d

[CL 25399653 by cedric caillaud in ue5-main branch]
2023-05-10 01:08:51 -04:00