Commit Graph

37 Commits

Author SHA1 Message Date
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
jimmy andrews
92852cf5b1 rework how internal faces are tracked and assigned materials in geometry collections:
- add explicit tracking of internal surfaces in fracture geometry, and remove concept of 'internal-only' materials in odd-numbered slots.
- add tooling to set internal materials, and to set default internal materials to be assigned on fracture
- add option to preserve internal face data via odd material numbers in ToMesh tool + option to re-import these ToMesh outputs w/ internal material IDs set

#rb cedric.caillaud
#rb david.hill
#preflight 63e66867de74ffbae51e5dc7
#jira UE-165320

[CL 24136970 by jimmy andrews in ue5-main branch]
2023-02-11 12:37:57 -05:00
jimmy andrews
829a30210c rework how UVs are accessed in geometry collection: make each UV layer a separate attribute, so it is impossible to have an inconsistent number of UVs per vertex, and we do not allocate so many small arrays. Provide a variety of helper functions to make the transition as easy as possible.
#rb cedric.caillaud
#rb brice.criswell
#preflight 63d074be976daa618cdcd957

[CL 23844522 by jimmy andrews in ue5-main branch]
2023-01-25 01:36:28 -05:00
gustav melich
b613e05259 Dataflow:
- Added SelectionView window
- Bug fixes

#rb Brice.Criswell, Cedric.Caillaud
#preflight 63cf5b06ce73d97996dd47e1

[CL 23834208 by gustav melich in ue5-main branch]
2023-01-24 13:20:58 -05:00
christopher waters
7215f7d4ec Fully moving MaterialDomain to its own header.
#jira none
#preflight 639b4dc335203bc7aa695078

[CL 23531533 by christopher waters in ue5-main branch]
2022-12-15 16:01:51 -05:00
cedric caillaud
11c43eb8cc Fix crash when converting a geometry collectino to another one with missing InstancedMesh attribute on it
#rb trivial
#preflight none

[CL 23475380 by cedric caillaud in ue5-main branch]
2022-12-11 23:12:34 -05:00
cedric caillaud
b960e1ce31 geometry collection : fixed material consolidation and make sure instanced mesh array is properly generated when building a GC in dataflow
- Improved InitializeMaterials to be able to handle material list only made of external materials
- Added CollectionInstancedMeshFacade and update code using the attribute directly to use the facade instead
- Added new input / output to Geometry Collection Terminal node ( InstancedMeshes )
- Simplified FindOrAddAutoInstanceMesh methods

[FYI] jimmy.andrews
#rb none
#preflight 6389699c0e4613faeded4210

[CL 23370012 by cedric caillaud in ue5-main branch]
2022-12-02 00:40:18 -05:00
brice criswell
1dc0cf0874 GeometryCollection : Facade API cleanup
#rb Cedric.Caillaud
#preflight 6376d4c0aa2fe2b05f6668e0

[CL 23194460 by brice criswell in ue5-main branch]
2022-11-18 10:22:38 -05:00
cedric caillaud
9fc08afba5 Optimize geaometry collection creation from geometry sources
- Only call reindexMaterial once
- Make sure reindexMaterial  skips validation when calling RemoveElements

#rb brice.criswell, jimmy.andrews
#preflight 63726910b6636838286b850d

[CL 23124875 by cedric caillaud in ue5-main branch]
2022-11-14 15:56:50 -05:00
jimmy andrews
9f0c852b12 make static mesh -> geometry collection conversion respect the static mesh build settings, so normals/tangents are computed with the same settings as used by the static mesh build, and are not recomputed if the build settings do not allow it
#preflight 636c55b0376a9cd6a8d3aeb0
#rb cedric.caillaud

[CL 23072026 by jimmy andrews in ue5-main branch]
2022-11-10 01:18:48 -05:00
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