Commit Graph

48 Commits

Author SHA1 Message Date
yushan han
8638758dd6 ChaosFlesh: fixed USkeleton refskeleton inconsistency, deprecated SkeletonToCollection with SkeletalMeshToCollection, added TransferVertexSkinWeights node
#rb brice.criswell
#jira UE-227340

Merging

//Fortnite/Main/Engine/...

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

[CL 37054807 by yushan han in 5.5 branch]
2024-10-11 13:01:00 -04:00
yushan han
88225d7101 ChaosFlesh: refactor kinematic vertex attribute, transfer skin weights between collections, skeletal mesh to collection now contains skin weights, add particle radius cvar
ChaosFlesh: CIS fix
backward compatibility for per-vertex kinematic attribute
Embedded positions are now initialized to 0 even without embedding info.
Fixed BoneWeightsFacade.IsValid() by allowing KinematicAttribute to be invalid for backward compatibility
#rb Brice.Criswell
#jira UE-227225

Merging

//Fortnite/Main/Engine/...

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

[CL 37027497 by yushan han in 5.5 branch]
2024-10-10 13:48:27 -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
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
Brice Criswell
b2c1fb1c9b GeometryCollection : Conversion from SkeletalMesh
- Fixed insertion issue for debug builds where infos and raw names were misaligned.
#rb brice.criswell
#jira none

[CL 34107501 by Brice Criswell in ue5-main branch]
2024-06-04 17:21:52 -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
Brice Criswell
392409b63d GeometryCollection : SkeletalMeshToCollectionConversion
- Updated split mesh bone name to start from zero.
#rb yushan.han
#jira none

[CL 33388203 by Brice Criswell in ue5-main branch]
2024-05-01 20:41:45 -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
Brice Criswell
49bd4bed4b ChaosFlesh : CreateTetrahedron updates
#rb brice.criswell
#jira none

[CL 33159644 by Brice Criswell in ue5-main branch]
2024-04-22 22:00:37 -04:00
gustav melich
9ba7af2603 Dataflow:
- Fixed SkeletalMeshToCollection node to create Children attribute
- Updated BlueprintToCollection node to create root node and parent everything under it

#rb cedric.caillaud

[CL 33133346 by gustav melich in ue5-main branch]
2024-04-21 23:27:40 -04:00
Brice Criswell
f0b17da98e GeometryCollection : SkeletalMeshConversion
- Remove usage of DynamicMesh
#rb brice.criswell
#jira none

[CL 33018487 by Brice Criswell in ue5-main branch]
2024-04-16 18:54:01 -04:00
Brice Criswell
5d86754e9d Dataflow : Node rendering
- Node color remapping
#rb brice.criswell
#jira none

[CL 33017082 by Brice Criswell in ue5-main branch]
2024-04-16 18:09:18 -04:00
gustav melich
abcf9e1142 Dataflow:
- Implemented BlueprintToCollection node

#rb Brice.Criswell, cedric.caillaud

[CL 32814104 by gustav melich in ue5-main branch]
2024-04-08 20:44:55 -04:00
Brice Criswell
f1285beef9 GeometryCollection : AppendSkeletalMesh updates
#rb brice.criswell
#jira none

[CL 32753277 by Brice Criswell in ue5-main branch]
2024-04-04 23:52:30 -04:00
Brice Criswell
c7295bd049 GeometryCollection : SkeletalMesh conversion with geometry split by component.
#rb brice.criswell
#jira none

[CL 32719380 by Brice Criswell in ue5-main branch]
2024-04-03 22:22:28 -04:00
Brice Criswell
ca421de665 GeometryCollection : SkeletalMeshConversion
- Update the transform attributes to reflect the SkeletalMesh transform hierarchy.
#rb brice.criswell
#jira none

[CL 32630534 by Brice Criswell in ue5-main branch]
2024-03-30 12:25:12 -04:00
gustav melich
8386abd108 Dataflow:
- Implemented GeometryCollectionToCollection node

#rb cedric.caillaud, Jimmy.Andrews

[CL 32578018 by gustav melich in ue5-main branch]
2024-03-28 10:57:17 -04:00
gustav melich
b98937a659 Dataflow:
- Implemented StaticMeshToCollection node

#rb cedric.caillaud, Jimmy.Andrews

[CL 32265839 by gustav melich in ue5-main branch]
2024-03-14 20:44:48 -04:00
Brice Criswell
af8dec2336 Dataflow : Convert transfoms from skeleton as a FTransform3f
#rb brice.criswell
#jira none

[CL 30678018 by Brice Criswell in ue5-main branch]
2024-01-17 23:07:14 -05:00
vincent robert
5bf06ad1ea Convert RestCollection in single precision
- This change won't have much impact on memory when building in game, but the impact will be when loading. Also it harmonize the Dynamic Collection and the Rest Collection. And so it optimizes the access, and conversion to transforms.
- DynamicCollection has a function set back transforms to its RestCollection, and free memory
- Remove function from ManageArrayCollection makes sure to free memory now.
#rb cedric.caillaud

[CL 28721098 by vincent robert in ue5-main branch]
2023-10-12 14:40:24 -04:00
cedric caillaud
af9e935a2b geometry collection : fix issue where "transformed" geometry were not ignored when importing collision from source
#rb jimmy.andrew

[CL 28686422 by cedric caillaud in ue5-main branch]
2023-10-11 18:08:19 -04:00
jimmy andrews
ac4ef9b9a7 Warn on conversion of a large mesh (>1M tris) to geometry collection, and show a progress bar
#rb cedric.caillaud

[CL 27510303 by jimmy andrews in ue5-main branch]
2023-08-30 20:50:47 -04:00
michael forot
6e4094da3e Chaos implicit object ref counted ptr + union simple shapes (WIP)
#rb chris.caulfield

[CL 26722951 by michael forot in ue5-main branch]
2023-07-31 17:46:47 -04:00
Jimmy Andrews
b782ccbdc9 Attempt to make the Static Mesh -> Geometry Collection conversion more robust to missing normal/tangent information by forcing a recompute if either attribute is *entirely* invalid, even if the recompute flag is not set.
#rb rinat.abdrashitov

[CL 26034458 by Jimmy Andrews in ue5-main branch]
2023-06-15 22:53:53 -04:00
bryan sefcik
a325a91dd1 Updated the "AutoInstances" meshes to not add to the ISMPool until they are needed.
Deprecated the FSoftObjectPath "StaticMesh" property in FGeometryCollectionAutoInstanceMesh and replaced it with a TObjectPtr<UStaticMesh> Mesh property. This fixes an issue where asserts would fire because we were doing sync loads after the loadscreen.
These changes saved roughly 100MBs in our test level.

#jira
#rb cedric.caillaud
#preflight 63f846e9c35a14198085d30e

[CL 24406749 by bryan sefcik in ue5-main branch]
2023-02-24 15:00:49 -05:00