Commit Graph

114 Commits

Author SHA1 Message Date
Brice Criswell
7d211813c9 Dataflow : Restructured editor to use the FBaseCharacterFXEditorToolkit
-	Updated Geometry Collection Editor and Chaos Flesh Editor to reflect the initialization changes.
-	Updated the Asset Actions for Geometry Collection and Chaos Flesh to use the Asset Definition
-	Moved render state into the Dataflow Editor Viewport Client.
-	Added linker dependencies as needed.
-	Stopped short of adding the subsystems for viewport editing operations.
#rb tyson.brochu
#fyi cedric.caillaud, gustav.melich, kriss.gossart, ryan.kautzman

[CL 27788696 by Brice Criswell in ue5-main branch]
2023-09-12 08:54:00 -04:00
Brice Criswell
8e109ec0bc Dataflow : Module file renamed.
#rb none

[CL 26474383 by Brice Criswell in ue5-main branch]
2023-07-19 18:55:57 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
jeremy moore
1cae9c2d97 Move all immutable geometry collection rendering data into the geometry collection asset.
This is built as part of geometry collection DDC contents.
Reworked scene proxy to use this data. Some big changes there:
* Tidied up hit proxy code so that all hit proxy clients use the same path.
* Removing of internal faces are now handled without an additional index buffer by always storing internal faces at the end of a section and providing different section descriptions for including internal faces.
* Dynamic geometry hiding in editor is now done by zeroing transforms instead of rebuilding the index buffer.
#rb cedric.caillaud
#preflight 63edc2e55c7bd278c11efe51

[CL 24261113 by jeremy moore in ue5-main branch]
2023-02-16 12:40:53 -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
cedric caillaud
d48ae5324c Geometry collection : Fix thumbnaiol not properly rendering because of out of date bounds
#rb trivial
#preflight 63b90bfcc927e34482d95693

[CL 23608037 by cedric caillaud in ue5-main branch]
2023-01-07 17:13:53 -05:00
christopher waters
8fd10b0e13 Dependency cleanup around some Rendering headers.
#preflight 63b893e547321b9d895924b0

[CL 23605570 by christopher waters in ue5-main branch]
2023-01-06 18:57:09 -05:00
brice criswell
937b6bd45a Dataflow : Remove unused toolkits
#rb none
#preflight 636c0458a550a2a759100149

[CL 23071865 by brice criswell in ue5-main branch]
2022-11-10 01:10:24 -05:00
henrik karlsson
b75f8273d9 Include removals
* GeometryCollectionComponent.h - Most files are related to the removal of includes in this file. Removed 7 headers
   - Moved GeometryCollectionDamagePropagationData in to its own file
   - Changed COPY_ON_WRITE_ATTRIBUTE to be set in a way so implementations can be placed in cpp file.
   - Moved some function implementations to cpp file
* Removed include in FieldSystemActor.h
* Removed include in FieldSystem.h
* Removed include in CommonUISettings.h


#preflight 636b325c376a9cd6a8818aae
#rb cedric.caillaud (for the actual changes, not additional includes and a couple include removals outside GeometryCollection)

[CL 23069399 by henrik karlsson in ue5-main branch]
2022-11-09 20:53:21 -05:00
brice criswell
34a671b274 Dataflow : Generic evaluation from DataflowEditor
- Allow dataflow to perform graph evaluations.
#rb none
[FYI] Cedric.Caillaud, Gustav.Melich
#preflight 636ad035843e6ac794e4f7a6

[CL 23049086 by brice criswell in ue5-main branch]
2022-11-09 02:18:51 -05:00
brice criswell
42a3cd1758 Dataflow : Proper Context type identification.
#rb none
#preflight 6365a3f4d308b70e6672df29

[CL 22999978 by brice criswell in ue5-main branch]
2022-11-04 22:38:02 -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
Brice Criswell
d520c6913a GeometryCollectionEditor: Persistent dataflow context with invalidation.
#rb none
#preflight 634f8fedac48fa11ed1ce358

[CL 22618684 by Brice Criswell in ue5-main branch]
2022-10-19 01:58:50 -04:00
Brice Criswell
829e474cea Dataflow : Evaluation
- Formalized the caching timestamp with a struct wrapper.
#rb none
#preflight 634ee9121341cb8a2062dc6b

[CL 22606834 by Brice Criswell in ue5-main branch]
2022-10-18 14:29:38 -04:00
cedric caillaud
d10f14e49c Chaos : fix potential crash with generating geometry collection thumbnails
#rb trivial
#preflight none

[CL 22547832 by cedric caillaud in ue5-main branch]
2022-10-15 02:12:40 -04:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
rex hill
6f5e038a59 Fix GeometryCollection slate icons missing from cooked editors
#preflight skip
[FYI] Michael.Lentine

[CL 22140330 by rex hill in ue5-main branch]
2022-09-22 14:03:41 -04:00
bryan sefcik
0eeac455e0 Pass 3 on cleaning up build.cs files.
#jira
#preflight 631b9c15d31788ea3ab0f27b

[CL 21935601 by bryan sefcik in ue5-main branch]
2022-09-10 00:02:58 -04:00
nick darnell
8c6dccfce9 Core - Making some improvements to TObjectPtr, introducing some templating utilities so that we can better template match TObjectPtr vs UObject* pointers so that a single templated function can work for either.
Core - Added support for assigning a TObjectPtr<T> to a TScriptInterface just like you'd expect from a raw Object*.

Actor - Making a version of GetComponents that will work for TObjectPtr collections.  Additionally fixed several places in the engine where we're forcing the template parameter instead of allowing it to be determined automatically - which forced me to leave one of the GetComponent implementations, but I think we aught to remove it. e.g.

Don't Do

TArray<UPrimitiveComponent*> PrimComponents;
Actor->GetComponents<UPrimitiveComponent>(PrimComponents);

Do

TArray<UPrimitiveComponent*> PrimComponents;
Actor->GetComponents(PrimComponents);

Slate - Introducing support for collections of TObjectPtr<T>'s being used as source lists for the STableView.

#preflight 630f7af8e54ec9d581b03d65
[REVIEW] [at]Marc.Audy, [at]Steve.Robb, [at]Zousar.Shaker

[CL 21727328 by nick darnell in ue5-main branch]
2022-08-31 16:13:49 -04:00
kriss gossart
0422ca7705 Skeletal Mesh - Replace the newly created GetSkeletalMesh function by GetSkeletalMeshAsset so it matches the setter SetSkeletalMeshAsset function (which itself couldn't be named SetSkeletalMesh due to the function already existing and doing something else).
#rb Josie.Yang
#preflight 62fa2afeae3edb54c979492e
#jira none

[CL 21385959 by kriss gossart in ue5-main branch]
2022-08-15 09:26:50 -04:00
Brice Criswell
e58a3499e0 Dataflow - Connections as UStruct
#rb none
#preflight 62acfb235c69124c40dbb3ea

[CL 20711897 by Brice Criswell in ue5-main branch]
2022-06-17 18:30:14 -04:00
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
Brice Criswell
ff1f9793c8 Dataflow : FContext CRT udpate
#rb none
#preflight 62a39bf0a76bc5b5cacd85a5

[CL 20601401 by Brice Criswell in ue5-main branch]
2022-06-10 16:06:26 -04:00
Brice Criswell
e6569adcc9 Dataflow : Support for FProperty on the FNode
#rb none
#fyi Ryan.Kautzman, Benn.Gallagher, Gustav.Melich, Cedric.Caillaud
#preflight 62a18ec1f73a01bd9811dad8

[CL 20572155 by Brice Criswell in ue5-main branch]
2022-06-09 02:36:29 -04:00