Commit Graph

26 Commits

Author SHA1 Message Date
phil popp
3c6080ac38 Added FVertexInterface and reworked existing INode interfaces
Added FNodeFacade to simplify writing nodes and reduce coding errors.
#rb Ethan.Geller
#jira UEAU-568

[CL 14171493 by phil popp in ue5-main branch]
2020-08-24 10:57:03 -04:00
Ethan Geller
c31c8db2cf #jira UE-95294, UE-96304, UE-96303
Fix for static analysis warnings.
#rb none

[CL 14115001 by Ethan Geller in ue5-main branch]
2020-08-14 13:39:33 -04:00
Ethan Geller
c220f25170 #jira none
Android NDK fix- fix __VA_ARGS__ syntax error when REGISTER_METASOUND_DATA_TYPE is called with just two args.

[CL 14109972 by Ethan Geller in ue5-main branch]
2020-08-13 20:37:41 -04:00
Ethan Geller
2ee51b0fa1 #jira UEAU-544
Support for UObject literals in metasounds.
#rb phil.popp

[CL 14109099 by Ethan Geller in ue5-main branch]
2020-08-13 19:07:41 -04:00
phil popp
81a1f9d6e4 Adding validation checks and better error reporting to FOperatorBuidler
#jira UEAU-499
#rb Max.Hayes

[CL 14107958 by phil popp in ue5-main branch]
2020-08-13 17:37:43 -04:00
jimmy smith
a6dfb5758c Fix for nounity error in MetasoundFrontend
#rb trivial
#fyi rob.gay

[CL 14052855 by jimmy smith in ue5-main branch]
2020-08-06 16:38:42 -04:00
Rob Gay
f9a2806cb4 - Mock up displaying required I/O to UI for MetasoundSources
- Disallow removing required I/O from MetasoundSources
- Add functions to expose/iterate required I/O archetypes from Frontend
- Enable copy graph nodes using JSON MS Document Schema and pruning unused nodes
- Mock in paste code (Ethan to add validation or "fix-up" logic on MSDoc side to avoid duplication of node/I/O Ids, names, etc.)
#rb ethan.geller
#jira UEAU-547

[CL 14038324 by Rob Gay in ue5-main branch]
2020-08-05 12:47:19 -04:00
Rob Gay
35560ea2d0 Metasound Literal Editor Updates
- Hide superfluous type info & non-preferred literal data
- Allow user to rename nodes with display name, which is independent from node string name (and supports localization)
- Add better membership checks to editor detail customizations to ensure document member renames/data org doesn't break editor
#rb ethan.geller
#rnx
#jira UEAU-546

[CL 13981474 by Rob Gay in ue5-main branch]
2020-07-30 16:57:04 -04:00
Ethan Geller
2350082524 #jira UEAU-543
Extract registry-related metasound files to Metasound Frontend, and move our core node library to MetasoundCoreNodeLibrary.
#rb phil.popp
#fyi phil.popp, jimmy.smith

[CL 13957102 by Ethan Geller in ue5-main branch]
2020-07-28 13:58:29 -04:00
Rob Gay
237203e150 - Add frontend-side connection support in MetasoundEditor
- Swap I/O detail customization groups for categories
#rb ethan.geller
#jira UEAU-527

[CL 13941091 by Rob Gay in ue5-main branch]
2020-07-23 23:21:12 -04:00
Ethan Geller
529318d783 #jira UEAU-524
Implement UMetasoundSource, Archetype registry, and implement Archetype support in the metasound editor.
#rb rob.gay, phil.popp
#fyi rob.gay, phil.popp

[CL 13940440 by Ethan Geller in ue5-main branch]
2020-07-23 20:32:26 -04:00
Rob Gay
6fb458fd4f Checkpoint on more input/output work
- Expose I/O arrays to UI (TODO: fix rename. We currently have two places we're caching input/output names and no easy way to snatch I/O metadata from I/O node.  Could we add function to reference name from description instead of caching on node?)
- Stub in json import exposition to UI
- Fix crash with removing inputs/outputs
- Various clean-up
#rb ethan.geller
#jira UEAU-527

[CL 13937505 by Rob Gay in ue5-main branch]
2020-07-23 16:39:56 -04:00
Rob Gay
ab72512ab2 Implement Translation Layer between Metasound Document Model & EdGraph Part 1
- Build EdGraphNodes from registry
- Display Metasound Metadata in custom details panel
- Fix namespacing
- Add input/output nodes scaffolding to MetasoundEditorGraph
#jira UEAU-527
#rb ethan.geller

[CL 13926036 by Rob Gay in ue5-main branch]
2020-07-22 14:52:03 -04:00
Rob Gay
456a7518bc Include clean-up
#rb trivial
#jira none
#rnx

[CL 13911039 by Rob Gay in ue5-main branch]
2020-07-21 14:34:07 -04:00
Ethan Geller
d2e5a15223 #jira none
Add import logic for JSON parsing.
#rb none

[CL 13903378 by Ethan Geller in ue5-main branch]
2020-07-20 21:26:45 -04:00
Ethan Geller
2960b7679a #jira UE-95593
Fix for linker error on string literal on linux. Move implementation of the string literal from DECLARE_METASOUND_DATA_TYPE to REGISTER_METASOUND_DATATYPE.
#rb phil.popp, rob.gay

[CL 13902707 by Ethan Geller in ue5-main branch]
2020-07-20 20:32:01 -04:00
phil popp
f8efd2fc9a CIS compile fix for MetasoundFrontend.cpp
#jira none
#rb none
#fyi Ethan.Geller

[CL 13895567 by phil popp in ue5-main branch]
2020-07-20 12:41:40 -04:00
Ethan Geller
fdd6146f8f #jira none
Add APIs to FGraphHandle to push literals to inputs.
#fyi rob.gay, phil.popp

[CL 13891284 by Ethan Geller in ue5-main branch]
2020-07-20 00:58:04 -04:00
Ethan Geller
a03703a060 #jira UEAU-471
1) The node registry and METASOUND_REGISTER_NODE(FMyNodeType)
2) The datatype registry and REGISTER_METASOUND_DATATYPE(FMyDataType) (which I have to rename to METASOUND_REGISTER_DATATYPE)
3) Integration of literals, which are handled with FDataTypeLiteralParam and serialized out with FMetasoundLiteralDescription , and can be expanded to pass in a UObject*/TArray<UObject*> in the future
4) And finally, the full construction of an arbitrary graph to build operators out of in Metasound::Frontend::FGraphHandle::BuildOperator, which needs a sample rate/frame count per callback to work.

#rb rob.gay, phil.popp

[CL 13891250 by Ethan Geller in ue5-main branch]
2020-07-20 00:05:22 -04:00
halfdan ingvarsson
0eb1c9ec18 Build fix for non-unity builds.
#jira none
#fyi rob.gay
#rnx

[CL 13890987 by halfdan ingvarsson in ue5-main branch]
2020-07-19 20:20:49 -04:00
phil popp
322cc9d194 CIS fixes for android/linux
#rb none
#jira none
#fyi Ethan.Geller

[CL 13890229 by phil popp in ue5-main branch]
2020-07-18 15:37:39 -04:00
Rob Gay
bd273007cc Moving implementation off of UMetasound to avoid engine requirement
- Move deserialize/serialize utilities off of module and into own FileConversion namespace. Stub in landing place for export in Intermediates.
#jira UEAU-527
#rb ethan.geller

[CL 13886786 by Rob Gay in ue5-main branch]
2020-07-17 16:43:42 -04:00
Rob Gay
bdc971b2d0 Move UMetasound to MetasoundEngine (step toward editor enablement as EdGraph reference will be required on class).
#rb ethan.geller
#jira UEAU-476

[CL 13860810 by Rob Gay in ue5-main branch]
2020-07-15 00:16:40 -04:00
Ethan Geller
67ed3dd4e0 #jira none
Clang compile fix: friend class UMetasound is in the global namespace, so FHandleInitParams needed to establish friendship with ::UMetasound rather than UMetasound.
#rb none

[CL 13832348 by Ethan Geller in ue5-main branch]
2020-07-03 15:38:17 -04:00
Ethan Geller
5b541adb02 #jira none
Fix for missing includes for non-unity compiles.
#fyi josh.adams
#rb none

[CL 13832334 by Ethan Geller in ue5-main branch]
2020-07-03 15:20:47 -04:00