Commit Graph

14 Commits

Author SHA1 Message Date
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
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
cedric caillaud
a59a81e2b9 Geometry collection : added support for ISMPools, it only works if an ISMPool actor is assigned to the GC instance
Limitations : Currently this requires the GC to be reset to recompute the list of instanciable meshes and their corresponding indices
Mitigation : this can be turned off using the following cvar : p.Chaos.GC.UseISMPool

#rb brice.criswell, Krzysztof.Narkowicz
#preflight 63519a8af92c325024c32137

[CL 22705192 by cedric caillaud in ue5-main branch]
2022-10-21 19:51:57 -04:00
Brice Criswell
016bf1e5be Chaos : Animated Kinematics on deformables
#rb none
#preflight 633f81bf62762f4a1b7a1e13

[CL 22391487 by Brice Criswell in ue5-main branch]
2022-10-06 21:52:53 -04:00
Brice Criswell
6a84bdf9b6 GeometryCollection - Skeleton Import
- Added utility function to import a skeleton into a FTransformCollection
#rb none
#fyi cedric.caillaud, jimmy.andrews
#preflight 632b2d0bd747fe52c8dc963f

[CL 22114552 by Brice Criswell in ue5-main branch]
2022-09-21 11:52:44 -04:00
Brice Criswell
40a2ff491e GeometryCollection : Introspection.
-Use virtual IsA to identify derived classes.
-Fixed typo in api.
#rb cedric.caillaud
#fyi jimmy.andrews
#preflight 632b26bfc7791417aa2ecc48

[CL 22113543 by Brice Criswell in ue5-main branch]
2022-09-21 11:19:57 -04:00
Brice Criswell
a9c8158731 GeometryCollection : AppendSkeletalMesh
Made GeometryCollection::AppendSkeletalMesh more generic so it can take just a FManagedArrayCollection.
- Added a static version of FGeometryCollection::UpdateBoundingBox
- Added a static version of FGeometryCollection::ReindexMaterials
- Added Interface for standard attribute creation
#rb none
#preflight 632500d18c3def91aab79974
#preflight 632508ba743614651496822c

[CL 22063294 by Brice Criswell in ue5-main branch]
2022-09-16 19:43:53 -04:00
Jimmy Andrews
4acfad1f33 add options on geometry collection creation
- make material duplication for internal materials optional
 - ask if user wants to split the mesh by connected component

+ implement the connected component split on the mesh description as part of the conversion, so we can do it before we've thrown out the mesh topology (geometry collection is a rendering rep that can't represent mesh topology; it splits at every UV seam and sharp edge)

#preflight 62fe8062f7404b55a3010ac6

[CL 21448521 by Jimmy Andrews in ue5-main branch]
2022-08-18 15:37:22 -04:00
Jimmy Andrews
d42b54726c fix duplicate materials on new/reset of a geometry collection
#rb trivial
#preflight 62f559e4fb0cb69a5a171751

[CL 21344203 by Jimmy Andrews in ue5-main branch]
2022-08-11 16:23:50 -04:00
cedric caillaud
d0e7989913 Chaos geometry collection : add support for static mesh buildScale parameter
#rb jimmy.andrews
#jira none
#preflight 62b5e2c0d82986248b661805

[CL 20810864 by cedric caillaud in ue5-main branch]
2022-06-24 12:28:07 -04:00
Jimmy Andrews
a0a2371b27 Refactor GeometryCollectionEngineConversion functions to optionally have core FGeometryCollection conversion called separately from material-related conversion that requires the UObject/Component
#rb Brice.Criswell
#preflight 62b4cf8eb822fb9c117bd548

[CL 20801937 by Jimmy Andrews in ue5-main branch]
2022-06-23 17:00:03 -04:00
cedric caillaud
391dc48340 Chaos geometry collection : fix import of external collision to ignore non implicit shapes
#rb none

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 20529803 via CL 20529819 via CL 20529836
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20531702 by cedric caillaud in ue5-main branch]
2022-06-06 21:10:52 -04:00
cedric caillaud
7090a2cbbd Chaos destruction : import external collision data from create a geometry collection from other geometry collections
#rb none
#jira none
#preflight 629ac618c80cbaebe5f99388

[CL 20498618 by cedric caillaud in ue5-main branch]
2022-06-03 23:13:28 -04:00
Brice Criswell
ed37b71c02 GeometryCollection : Structure change
- Moved AppendStaticMesh and AppendSkeletalMesh to the Engine level
- Moved the Node implementation into GeometryCollectionNodes within the plugin.
#rb trivial
#preflight 6298120a216be32a7627a7e0

[CL 20464135 by Brice Criswell in ue5-main branch]
2022-06-01 21:41:57 -04:00