Commit Graph

5 Commits

Author SHA1 Message Date
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
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
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