chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("b4a9f19a-bbb0-4d65-8d4a-560460e2505c")]
|
||||
internal sealed class AllTests : Instance<AllTests>
|
||||
{
|
||||
[Output(Guid = "f9ddc7da-91fa-4a7c-b59d-d1ba8fc5eb74")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,287 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "b4a9f19a-bbb0-4d65-8d4a-560460e2505c"/*AllTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "032369ea-6dfd-4f8c-ad77-32a37e01c6de"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0e675013-1925-4741-a9e0-c0d055641e03"/*IoTests*/,
|
||||
"SymbolId": "202467cd-e898-4869-b08c-804ca5db5b45",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "10faad6c-183d-4705-bbf2-fda99f5c99e9"/*Test all*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"Name": "Test all",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1e456b87-7d8c-4f8b-ab29-fdecb8defc3c"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "33977f8e-023b-4b37-8b93-41fc742c956e"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "36284a42-864f-4028-97f5-1133530a9c97"/*MathTests*/,
|
||||
"SymbolId": "69de6e29-4eeb-4672-934a-05ca982ed5db",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "59c24bca-ab64-4edf-9bc9-a122d0649914"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7a825daf-6620-4b08-b3d8-4d1c1dd28666"/*ParticleTests*/,
|
||||
"SymbolId": "340f164b-c3c3-4a36-9ca6-19312fed4438",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "804c58c6-544d-41b6-8e5a-00b5574ee947"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "85e65c1c-c4ac-46ac-a321-840638f83b02"/*PbrTests*/,
|
||||
"SymbolId": "e7cecfc5-e6e5-4fb7-aadf-0f7b7dfef154",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8aad18ca-aec8-41c2-835c-2d4da1c5025e"/*DemoProjectTests*/,
|
||||
"SymbolId": "cf9a082f-490c-4b59-8a9a-eee161420d06",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d6bc9851-841a-44c0-961e-d4991b799556"/*ShaderTests*/,
|
||||
"SymbolId": "6647b9fd-a99f-45c8-864f-a2f0a7b61857",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "dff1caad-9921-4d27-9916-5f15ed93151a"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ea931cc3-c474-403e-8e64-ea0c584f16ac"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ec6f7a65-02e9-4231-a6ce-20a2c908c7c8"/*PointTests*/,
|
||||
"SymbolId": "9eab73c1-bcca-4a10-8af8-7aa13649a9b6",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "f9ddc7da-91fa-4a7c-b59d-d1ba8fc5eb74"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "85e65c1c-c4ac-46ac-a321-840638f83b02",
|
||||
"SourceSlotId": "6060e4cf-d707-4340-98fc-7f78f28cdf1b",
|
||||
"TargetParentOrChildId": "032369ea-6dfd-4f8c-ad77-32a37e01c6de",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "804c58c6-544d-41b6-8e5a-00b5574ee947",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "33977f8e-023b-4b37-8b93-41fc742c956e",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dff1caad-9921-4d27-9916-5f15ed93151a",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "59c24bca-ab64-4edf-9bc9-a122d0649914",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ea931cc3-c474-403e-8e64-ea0c584f16ac",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "032369ea-6dfd-4f8c-ad77-32a37e01c6de",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1e456b87-7d8c-4f8b-ab29-fdecb8defc3c",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "36284a42-864f-4028-97f5-1133530a9c97",
|
||||
"SourceSlotId": "17ef7414-7c28-43a0-bd04-b72bb03ad2bb",
|
||||
"TargetParentOrChildId": "1e456b87-7d8c-4f8b-ab29-fdecb8defc3c",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8aad18ca-aec8-41c2-835c-2d4da1c5025e",
|
||||
"SourceSlotId": "771dbcd5-b6a0-4888-a11b-f8cc71c362d4",
|
||||
"TargetParentOrChildId": "33977f8e-023b-4b37-8b93-41fc742c956e",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ec6f7a65-02e9-4231-a6ce-20a2c908c7c8",
|
||||
"SourceSlotId": "a0f103c6-1d04-4391-97d7-2b9651bad1c3",
|
||||
"TargetParentOrChildId": "59c24bca-ab64-4edf-9bc9-a122d0649914",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7a825daf-6620-4b08-b3d8-4d1c1dd28666",
|
||||
"SourceSlotId": "ab75c4d6-b5cf-4422-8e36-793b054b1ce6",
|
||||
"TargetParentOrChildId": "804c58c6-544d-41b6-8e5a-00b5574ee947",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d6bc9851-841a-44c0-961e-d4991b799556",
|
||||
"SourceSlotId": "b749c355-fd7c-41de-b0bd-9c64b3151d0b",
|
||||
"TargetParentOrChildId": "dff1caad-9921-4d27-9916-5f15ed93151a",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0e675013-1925-4741-a9e0-c0d055641e03",
|
||||
"SourceSlotId": "7ccb7b18-f64a-4938-ab09-9b79b2962af5",
|
||||
"TargetParentOrChildId": "ea931cc3-c474-403e-8e64-ea0c584f16ac",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "b4a9f19a-bbb0-4d65-8d4a-560460e2505c"/*AllTests*/,
|
||||
"Description": "",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "032369ea-6dfd-4f8c-ad77-32a37e01c6de"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 681.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0e675013-1925-4741-a9e0-c0d055641e03"/*IoTests*/,
|
||||
"Position": {
|
||||
"X": 156.762,
|
||||
"Y": 646.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "10faad6c-183d-4705-bbf2-fda99f5c99e9"/*Test all*/,
|
||||
"Position": {
|
||||
"X": 436.762,
|
||||
"Y": 506.02582
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1e456b87-7d8c-4f8b-ab29-fdecb8defc3c"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 716.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "33977f8e-023b-4b37-8b93-41fc742c956e"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 541.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "36284a42-864f-4028-97f5-1133530a9c97"/*MathTests*/,
|
||||
"Position": {
|
||||
"X": 156.762,
|
||||
"Y": 716.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "59c24bca-ab64-4edf-9bc9-a122d0649914"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 611.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7a825daf-6620-4b08-b3d8-4d1c1dd28666"/*ParticleTests*/,
|
||||
"Position": {
|
||||
"X": 156.762,
|
||||
"Y": 506.02585
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "804c58c6-544d-41b6-8e5a-00b5574ee947"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 506.02585
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "85e65c1c-c4ac-46ac-a321-840638f83b02"/*PbrTests*/,
|
||||
"Position": {
|
||||
"X": 156.762,
|
||||
"Y": 681.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8aad18ca-aec8-41c2-835c-2d4da1c5025e"/*DemoProjectTests*/,
|
||||
"Position": {
|
||||
"X": 156.76201,
|
||||
"Y": 541.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d6bc9851-841a-44c0-961e-d4991b799556"/*ShaderTests*/,
|
||||
"Position": {
|
||||
"X": 156.76201,
|
||||
"Y": 576.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dff1caad-9921-4d27-9916-5f15ed93151a"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 576.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ea931cc3-c474-403e-8e64-ea0c584f16ac"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 296.762,
|
||||
"Y": 646.0258
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ec6f7a65-02e9-4231-a6ce-20a2c908c7c8"/*PointTests*/,
|
||||
"Position": {
|
||||
"X": 156.762,
|
||||
"Y": 611.0258
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "f9ddc7da-91fa-4a7c-b59d-d1ba8fc5eb74"/*Result*/,
|
||||
"Position": {
|
||||
"X": 576.76196,
|
||||
"Y": 506.02582
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("cf9a082f-490c-4b59-8a9a-eee161420d06")]
|
||||
internal sealed class DemoProjectTests : Instance<DemoProjectTests>
|
||||
{
|
||||
[Output(Guid = "771dbcd5-b6a0-4888-a11b-f8cc71c362d4")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,268 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "cf9a082f-490c-4b59-8a9a-eee161420d06"/*DemoProjectTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "34a06156-8b88-4610-aee0-7194a0c3faed"/*DemoWorksForEverybody*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "DemoWorksForEverybody",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 50
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 190.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.08
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 10
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4a18ea3a-4f45-4262-abd5-10e6f86aae13"/*WorksForEverybody*/,
|
||||
"SymbolId": "00485ce8-d342-4c97-aac3-1af8a7f03897",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "64d92ce1-5e58-4c1d-8dba-7d5062e7a19a"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7319e3f8-c410-4ecf-84e2-284402821169"/*ThereDemo*/,
|
||||
"SymbolId": "5ea8bc54-d1f6-4748-9839-e3e4415a5608",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "86c6c88a-dd5d-42d8-8039-768146712a96"/*DemoDesatyre*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "DemoDesatyre",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 10
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 4.5,
|
||||
"Y": 32.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.6
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 30
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8949b1e4-0efc-4a61-b742-e61807a1574a"/*DemoThere*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "DemoThere",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 10
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 192.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.025
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 30
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8fd6c8f2-a899-4509-9b1a-61ba6b189e96"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a26e199b-cc62-443b-9a60-5ab56ea19fbb"/*Katsumaki*/,
|
||||
"SymbolId": "bfa5b00c-e1f3-4b15-8fec-859156facfce",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b0cf2b73-484a-4531-b215-08f0bee0af42"/*Test Demos*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"Name": "Test Demos",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fa431c7a-81c5-4c0a-b4ae-f559c4c1707b"/*Katsumaki*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "Katsumaki",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 10
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 95.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.05
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 50
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "771dbcd5-b6a0-4888-a11b-f8cc71c362d4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4a18ea3a-4f45-4262-abd5-10e6f86aae13",
|
||||
"SourceSlotId": "de57341f-86c1-4426-b3c6-a5dc36490759",
|
||||
"TargetParentOrChildId": "34a06156-8b88-4610-aee0-7194a0c3faed",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fa431c7a-81c5-4c0a-b4ae-f559c4c1707b",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "64d92ce1-5e58-4c1d-8dba-7d5062e7a19a",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7319e3f8-c410-4ecf-84e2-284402821169",
|
||||
"SourceSlotId": "9316bc94-c0d3-45a4-9fab-ae9608510b04",
|
||||
"TargetParentOrChildId": "8949b1e4-0efc-4a61-b742-e61807a1574a",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "86c6c88a-dd5d-42d8-8039-768146712a96",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "8fd6c8f2-a899-4509-9b1a-61ba6b189e96",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "34a06156-8b88-4610-aee0-7194a0c3faed",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8949b1e4-0efc-4a61-b742-e61807a1574a",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "64d92ce1-5e58-4c1d-8dba-7d5062e7a19a",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8fd6c8f2-a899-4509-9b1a-61ba6b189e96",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a26e199b-cc62-443b-9a60-5ab56ea19fbb",
|
||||
"SourceSlotId": "b731afda-aff0-44e3-b0a9-b7caa2b73c86",
|
||||
"TargetParentOrChildId": "fa431c7a-81c5-4c0a-b4ae-f559c4c1707b",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "cf9a082f-490c-4b59-8a9a-eee161420d06"/*DemoProjectTests*/,
|
||||
"Description": "",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "34a06156-8b88-4610-aee0-7194a0c3faed"/*DemoWorksForEverybody*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 35.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4a18ea3a-4f45-4262-abd5-10e6f86aae13"/*WorksForEverybody*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "64d92ce1-5e58-4c1d-8dba-7d5062e7a19a"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 269.89496
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7319e3f8-c410-4ecf-84e2-284402821169"/*ThereDemo*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 93.361664
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "86c6c88a-dd5d-42d8-8039-768146712a96"/*DemoDesatyre*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 364.92804
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8949b1e4-0efc-4a61-b742-e61807a1574a"/*DemoThere*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 128.36166
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8fd6c8f2-a899-4509-9b1a-61ba6b189e96"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 399.92804
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a26e199b-cc62-443b-9a60-5ab56ea19fbb"/*Katsumaki*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 199.89496
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b0cf2b73-484a-4531-b215-08f0bee0af42"/*Test Demos*/,
|
||||
"Position": {
|
||||
"X": 193.15875,
|
||||
"Y": 293.53076
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fa431c7a-81c5-4c0a-b4ae-f559c4c1707b"/*Katsumaki*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 234.89496
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "771dbcd5-b6a0-4888-a11b-f8cc71c362d4"/*Result*/,
|
||||
"Position": {
|
||||
"X": 193.15875,
|
||||
"Y": 433.53076
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
using System.Diagnostics;
|
||||
using T3.Core.Animation;
|
||||
using T3.Core.Utils;
|
||||
|
||||
// ReSharper disable ForCanBeConvertedToForeach
|
||||
|
||||
namespace Examples.testing;
|
||||
|
||||
[Guid("83cb923e-a387-4be2-b391-4111c7bd90fe")]
|
||||
internal sealed class ExecuteTests : Instance<ExecuteTests>
|
||||
{
|
||||
[Output(Guid = "229A2DD4-419F-43B9-AECD-12EAB9B25DEF")]
|
||||
public readonly Slot<string> Result = new();
|
||||
|
||||
public ExecuteTests()
|
||||
{
|
||||
Result.UpdateAction = Update;
|
||||
}
|
||||
|
||||
private bool _isRunning;
|
||||
private int _testInputIndex;
|
||||
private int _testframeId;
|
||||
|
||||
private void Update(EvaluationContext context)
|
||||
{
|
||||
var testframeId = "_TestFrame";
|
||||
var testResultId = "_TestResult";
|
||||
var testActionId = "_TestAction";
|
||||
|
||||
var onlyShowFails = OnlyShowFails.GetValue(context);
|
||||
|
||||
var isTestRoot = !context.IntVariables.TryGetValue(testframeId, out var frame);
|
||||
|
||||
if (isTestRoot)
|
||||
{
|
||||
context.IntVariables[testframeId] = Playback.FrameCount;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Log.Debug("Forwarding test...", this);
|
||||
}
|
||||
|
||||
var needsUpdate = MathUtils.WasChanged(TriggerTest.GetValue(context), ref _testTriggered);
|
||||
needsUpdate |= MathUtils.WasChanged(UpdateReferences.GetValue(context), ref _updateReferences);
|
||||
|
||||
var subTextRestarted = false;
|
||||
if (!isTestRoot)
|
||||
{
|
||||
if (context.ObjectVariables[testActionId] != null
|
||||
&& context.IntVariables[testframeId] != _testframeId)
|
||||
{
|
||||
subTextRestarted = true;
|
||||
_testframeId = context.IntVariables[testframeId];
|
||||
}
|
||||
}
|
||||
|
||||
if (isTestRoot && !needsUpdate && !_isRunning)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (subTextRestarted || needsUpdate && (_testTriggered || _updateReferences))
|
||||
{
|
||||
_stopwatch.Restart();
|
||||
Playback.OpNotReady = false;
|
||||
_isRunning = true;
|
||||
Result.DirtyFlag.Trigger = DirtyFlagTrigger.Animated;
|
||||
_testInputIndex = 0;
|
||||
|
||||
|
||||
_rootTestResults.Clear();
|
||||
}
|
||||
|
||||
if (isTestRoot)
|
||||
{
|
||||
if (_updateReferences)
|
||||
{
|
||||
context.ObjectVariables[testActionId] = "UpdateReferences";
|
||||
//Log.Debug("Updating references ..." + testIndex, this);
|
||||
}
|
||||
else if (_testTriggered)
|
||||
{
|
||||
context.ObjectVariables[testActionId] = "Test";
|
||||
//Log.Debug("Testing ..." + testIndex, this);
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
context.ObjectVariables[testResultId] = _rootTestResults;
|
||||
}
|
||||
|
||||
|
||||
var testSlots = Tests.CollectedInputs;
|
||||
|
||||
// Execute test commands
|
||||
while (_testInputIndex < testSlots.Count)
|
||||
{
|
||||
//Log.Debug($" {_testInputIndex} / {testSlots.Count}",this);
|
||||
testSlots[_testInputIndex].DirtyFlag.ForceInvalidate();
|
||||
testSlots[_testInputIndex].GetValue(context);
|
||||
|
||||
if (Playback.OpNotReady)
|
||||
break;
|
||||
|
||||
_testInputIndex++;
|
||||
}
|
||||
|
||||
if (!isTestRoot)
|
||||
{
|
||||
Result.Value = "intermediate test";
|
||||
return;
|
||||
}
|
||||
|
||||
if (!context.IntVariables.Remove(testframeId))
|
||||
Log.Warning($"Expected {testframeId} variable for root test");
|
||||
|
||||
if (Playback.OpNotReady)
|
||||
return;
|
||||
|
||||
_stopwatch.Stop();
|
||||
|
||||
_stringBuilder.Clear();
|
||||
var countFails = 0;
|
||||
var countSuccess = 0;
|
||||
foreach (var line in _rootTestResults)
|
||||
{
|
||||
if (line.Contains("FAILED"))
|
||||
{
|
||||
_stringBuilder.AppendLine(line);
|
||||
countFails++;
|
||||
}
|
||||
else if (line.Contains("PASSED"))
|
||||
{
|
||||
countSuccess++;
|
||||
if (!onlyShowFails)
|
||||
_stringBuilder.AppendLine(line);
|
||||
}
|
||||
}
|
||||
|
||||
var countTotal = countFails + countSuccess;
|
||||
var passedLabel = countFails == 0 ? "SUCCESS" : "FAILED";
|
||||
|
||||
_stringBuilder.Insert(0, $"{passedLabel}: {countSuccess} / {countTotal} {_stopwatch.ElapsedMilliseconds * 0.001:0.0s}\n\n");
|
||||
|
||||
Result.Value = _stringBuilder.ToString();
|
||||
|
||||
if (!Playback.OpNotReady)
|
||||
{
|
||||
Log.Debug("Completed", this);
|
||||
TriggerTest.SetTypedInputValue(false);
|
||||
UpdateReferences.SetTypedInputValue(false);
|
||||
Result.DirtyFlag.Trigger = DirtyFlagTrigger.None;
|
||||
_isRunning = false;
|
||||
}
|
||||
}
|
||||
|
||||
private readonly StringBuilder _stringBuilder = new();
|
||||
private readonly List<string> _rootTestResults = [];
|
||||
private bool _testTriggered;
|
||||
private bool _updateReferences;
|
||||
|
||||
private readonly Stopwatch _stopwatch = new();
|
||||
|
||||
[Input(Guid = "18023689-423A-4FB8-BC3C-9E74D0148C78")]
|
||||
public readonly MultiInputSlot<string> Tests = new();
|
||||
|
||||
[Input(Guid = "31937a13-1e53-45dd-8e6f-91ca5f3aaa19")]
|
||||
public readonly InputSlot<bool> TriggerTest = new();
|
||||
|
||||
[Input(Guid = "E1989C94-8F51-414A-9CA0-33631875A9DF")]
|
||||
public readonly InputSlot<bool> UpdateReferences = new();
|
||||
|
||||
[Input(Guid = "13D66A6D-75E1-4AB0-805D-A2234B3334A4")]
|
||||
public readonly InputSlot<bool> OnlyShowFails = new();
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "83cb923e-a387-4be2-b391-4111c7bd90fe"/*ExecuteTests*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "18023689-423a-4fb8-bc3c-9e74d0148c78"/*Tests*/,
|
||||
"DefaultValue": ""
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"DefaultValue": false
|
||||
}
|
||||
],
|
||||
"Children": [],
|
||||
"Connections": []
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "83cb923e-a387-4be2-b391-4111c7bd90fe"/*ExecuteTests*/,
|
||||
"Description": "Groups and executes integration tests.\n\nAlso see [VisualTest] and [AllTests].",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 300.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "18023689-423a-4fb8-bc3c-9e74d0148c78"/*Tests*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 0.0
|
||||
},
|
||||
"Usage": "Default"
|
||||
},
|
||||
{
|
||||
"InputId": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 150.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 225.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "229a2dd4-419f-43b9-aecd-12eab9b25def"/*Result*/,
|
||||
"Position": {
|
||||
"X": 300.0,
|
||||
"Y": 200.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Links": [
|
||||
{
|
||||
"Id": "4a5f5989-4919-42e1-900c-0f292f86368e",
|
||||
"Title": "Documentation.",
|
||||
"Description": "",
|
||||
"LinkUrl": "https://github.com/tixl3d/tixl/wiki/dev.IntegrationTests",
|
||||
"LinkType": "Documentation"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("202467cd-e898-4869-b08c-804ca5db5b45")]
|
||||
internal sealed class IoTests : Instance<IoTests>
|
||||
{
|
||||
[Output(Guid = "7ccb7b18-f64a-4938-ab09-9b79b2962af5")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,538 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "202467cd-e898-4869-b08c-804ca5db5b45"/*IoTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "09dc0bce-3ef3-48be-b216-c0c634b8e82c"/*ConvertFormat*/,
|
||||
"SymbolId": "e1cd1cdf-3982-4bb3-b080-9f0a851566d7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1bd1c988-1555-44e5-bba5-85289b93334f"/*PlayVideo*/,
|
||||
"SymbolId": "914fb032-d7eb-414b-9e09-2bdd7049e049",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2cad0c24-f0d8-4a3e-b7a4-247d659c60aa"/*PlayVideo*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "PlayVideo",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 4
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 4.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2d7cc84f-34f9-4448-89db-7ae40599f0f2"/*WebCam*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "WebCam",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2efd53eb-a247-43ec-a21b-11c05cfd26fd"/*ConvertFormat*/,
|
||||
"SymbolId": "e1cd1cdf-3982-4bb3-b080-9f0a851566d7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "335d04be-a0d9-42f5-86a6-6e7cc65fd3ff"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3b619a40-c54d-4b24-8218-f7571df0d9a7"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3ca59277-eb71-43d9-aad2-eae7754a6a59"/*SelectFloatFromDict*/,
|
||||
"SymbolId": "fd5467c7-c75d-4755-8885-fd1ff1f07c95",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "41ca6051-92cb-4a80-be12-c3cbe206b6ee"/*Time*/,
|
||||
"SymbolId": "b0d75f21-df33-460b-beab-d8c5e1f23e5e",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "ba443b6a-487f-4739-94a3-915584ee2d46"/*Units*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "437071f8-2574-4f96-9ea7-378441ea0ad3"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "46861d1c-d523-4d1c-978b-bc312ce0db0b"/*SpoutInput*/,
|
||||
"SymbolId": "25307357-6f6c-45b1-a38d-de635510a845",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "c5c487d2-3ec0-49e3-9ea5-0b1238e82233"/*ReceiverName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Spout Demo Sender"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4df3ac25-2ca0-476f-8327-0202f5872dbc"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5af9194d-80a4-44fd-83a5-681593326c33"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "747e1c01-dc57-4e92-82cc-b559c9edd8a1"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7f8e0a4b-5424-46ab-bf4d-372a4ceb95c2"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "851fbf7d-09d0-482c-a5ea-5b0cd43d978d"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "85badb3a-ca46-4934-9812-0711c2dfcbd3"/*Text*/,
|
||||
"SymbolId": "fd31d208-12fe-46bf-bfa3-101211f8f497",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "85c359c9-9903-4c50-86ac-184755d82cbc"/*OscOutput*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "OscOutput",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "878e089d-28a2-4096-b1e3-db1ca1af6f96"/*OscOutput*/,
|
||||
"SymbolId": "4e99da86-482f-4037-8664-b2371526d632",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8ca53254-3018-4f7a-9fd4-becd7076149e"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "93a38349-d399-4e04-97fd-fa7e6586586b"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9d7da7a7-2703-4f5e-b298-5e18980e0e28"/*OscInput*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "OscInput",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a600d18c-238e-4d13-8e64-046e9c568690"/*SpoutOutput*/,
|
||||
"SymbolId": "13be1e3f-861d-4350-a94e-e083637b3e55",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "7c27ebd7-3746-4b70-a252-dd0ac0445b74"/*SenderName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "tixl"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a918d6f8-f2e5-42d8-b730-ab17615f67ff"/*NdiOutput*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "NdiOutput",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ac7922ee-b7d7-46fe-a8d6-1e8c27fc508e"/*OscInput*/,
|
||||
"SymbolId": "3a1d7ea0-5445-4df0-b08a-6596e53f815a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ade7a971-38b6-4d7f-a220-a28f5a9968dd"/*NdiInput*/,
|
||||
"SymbolId": "7567c3b0-9d91-40d2-899d-3a95b481d023",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "bbb5a65c-f350-4a8a-b4c6-0637d9c7e424"/*SpoutOut*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "SpoutOut",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "bde238b7-90f8-4171-888b-842fcb47997a"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c0c7c4b9-7190-4d16-a344-d4dc6c37a9fe"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c4499e0f-6c97-4ba6-8632-a27011dc7f2c"/*SpoutInput*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "SpoutInput",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d5149f89-c395-4ea2-a9bc-02b836113eb9"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d6cb02e8-57c2-4590-806e-74289ab9a256"/*FloatToString*/,
|
||||
"SymbolId": "39c96cfd-dedf-4f76-a471-d1c26c9ba9fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e63dbcfe-aa18-4a71-bfa6-9c878a83c310"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ebfc1e02-dc4f-4df0-810b-4a5269326a4a"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f0f7eceb-45bb-4eb7-b86f-7287dda04ed6"/*NdiOutput*/,
|
||||
"SymbolId": "9412d0f4-dab8-4145-9719-10395e154fa7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fa6de355-cf7d-4128-9285-55fb0df871c3"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fb7b4529-a97f-4204-85c4-58272d1f4bd7"/*NdiInput*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "NdiInput",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "7ccb7b18-f64a-4938-ab09-9b79b2962af5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1bd1c988-1555-44e5-bba5-85289b93334f",
|
||||
"SourceSlotId": "fa56b47f-1b16-45d5-80cd-32c5a872acf4",
|
||||
"TargetParentOrChildId": "09dc0bce-3ef3-48be-b216-c0c634b8e82c",
|
||||
"TargetSlotId": "33b6a702-2452-45d4-b5f7-7ff9f66940a6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "41ca6051-92cb-4a80-be12-c3cbe206b6ee",
|
||||
"SourceSlotId": "fd3049aa-4c22-405b-b9b4-0a2474d0e377",
|
||||
"TargetParentOrChildId": "1bd1c988-1555-44e5-bba5-85289b93334f",
|
||||
"TargetSlotId": "48e62a3c-a903-4a9b-a44a-148c6c07ac1e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c0c7c4b9-7190-4d16-a344-d4dc6c37a9fe",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "2cad0c24-f0d8-4a3e-b7a4-247d659c60aa",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2efd53eb-a247-43ec-a21b-11c05cfd26fd",
|
||||
"SourceSlotId": "8acb5759-a93a-4f45-a19b-99e24792fe19",
|
||||
"TargetParentOrChildId": "2d7cc84f-34f9-4448-89db-7ae40599f0f2",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "46861d1c-d523-4d1c-978b-bc312ce0db0b",
|
||||
"SourceSlotId": "10955469-f5c0-476d-8a1b-9cb2803820a9",
|
||||
"TargetParentOrChildId": "335d04be-a0d9-42f5-86a6-6e7cc65fd3ff",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "335d04be-a0d9-42f5-86a6-6e7cc65fd3ff",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "3b619a40-c54d-4b24-8218-f7571df0d9a7",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ac7922ee-b7d7-46fe-a8d6-1e8c27fc508e",
|
||||
"SourceSlotId": "f697732e-46f3-4037-afc5-56f396bd70ad",
|
||||
"TargetParentOrChildId": "3ca59277-eb71-43d9-aad2-eae7754a6a59",
|
||||
"TargetSlotId": "126d52eb-cdf9-48e6-ac77-bb6e90700c56"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "09dc0bce-3ef3-48be-b216-c0c634b8e82c",
|
||||
"SourceSlotId": "8acb5759-a93a-4f45-a19b-99e24792fe19",
|
||||
"TargetParentOrChildId": "5af9194d-80a4-44fd-83a5-681593326c33",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fb7b4529-a97f-4204-85c4-58272d1f4bd7",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a918d6f8-f2e5-42d8-b730-ab17615f67ff",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9d7da7a7-2703-4f5e-b298-5e18980e0e28",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "85c359c9-9903-4c50-86ac-184755d82cbc",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ebfc1e02-dc4f-4df0-810b-4a5269326a4a",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2d7cc84f-34f9-4448-89db-7ae40599f0f2",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "bbb5a65c-f350-4a8a-b4c6-0637d9c7e424",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c4499e0f-6c97-4ba6-8632-a27011dc7f2c",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a600d18c-238e-4d13-8e64-046e9c568690",
|
||||
"SourceSlotId": "297ea260-4486-48f8-b58f-8180acf0c2c5",
|
||||
"TargetParentOrChildId": "7f8e0a4b-5424-46ab-bf4d-372a4ceb95c2",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ade7a971-38b6-4d7f-a220-a28f5a9968dd",
|
||||
"SourceSlotId": "85f1af38-074e-475d-94f5-f48079979509",
|
||||
"TargetParentOrChildId": "851fbf7d-09d0-482c-a5ea-5b0cd43d978d",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d6cb02e8-57c2-4590-806e-74289ab9a256",
|
||||
"SourceSlotId": "c63a1977-a594-490d-b5fb-de4d40bad016",
|
||||
"TargetParentOrChildId": "85badb3a-ca46-4934-9812-0711c2dfcbd3",
|
||||
"TargetSlotId": "f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "93a38349-d399-4e04-97fd-fa7e6586586b",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "85c359c9-9903-4c50-86ac-184755d82cbc",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d5149f89-c395-4ea2-a9bc-02b836113eb9",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "8ca53254-3018-4f7a-9fd4-becd7076149e",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "878e089d-28a2-4096-b1e3-db1ca1af6f96",
|
||||
"SourceSlotId": "a6679d6c-fc34-4588-ab20-5079ad8f8a03",
|
||||
"TargetParentOrChildId": "93a38349-d399-4e04-97fd-fa7e6586586b",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "bde238b7-90f8-4171-888b-842fcb47997a",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "9d7da7a7-2703-4f5e-b298-5e18980e0e28",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4df3ac25-2ca0-476f-8327-0202f5872dbc",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "a600d18c-238e-4d13-8e64-046e9c568690",
|
||||
"TargetSlotId": "d4b5c642-9cb9-4f41-8739-edbb9c6c4857"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8ca53254-3018-4f7a-9fd4-becd7076149e",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "a918d6f8-f2e5-42d8-b730-ab17615f67ff",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fa6de355-cf7d-4128-9285-55fb0df871c3",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "bbb5a65c-f350-4a8a-b4c6-0637d9c7e424",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "85badb3a-ca46-4934-9812-0711c2dfcbd3",
|
||||
"SourceSlotId": "3f8b20a7-c8b8-45ab-86a1-0efcd927358e",
|
||||
"TargetParentOrChildId": "bde238b7-90f8-4171-888b-842fcb47997a",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5af9194d-80a4-44fd-83a5-681593326c33",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "c0c7c4b9-7190-4d16-a344-d4dc6c37a9fe",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3b619a40-c54d-4b24-8218-f7571df0d9a7",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "c4499e0f-6c97-4ba6-8632-a27011dc7f2c",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f0f7eceb-45bb-4eb7-b86f-7287dda04ed6",
|
||||
"SourceSlotId": "3c0ae0e5-a2af-4437-b7fa-8ad300cb8b8b",
|
||||
"TargetParentOrChildId": "d5149f89-c395-4ea2-a9bc-02b836113eb9",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3ca59277-eb71-43d9-aad2-eae7754a6a59",
|
||||
"SourceSlotId": "4b281a08-46e9-4036-9a80-29caf11e3b6c",
|
||||
"TargetParentOrChildId": "d6cb02e8-57c2-4590-806e-74289ab9a256",
|
||||
"TargetSlotId": "f36e4078-2608-4308-ab5f-077c05b1181a"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "851fbf7d-09d0-482c-a5ea-5b0cd43d978d",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "e63dbcfe-aa18-4a71-bfa6-9c878a83c310",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2cad0c24-f0d8-4a3e-b7a4-247d659c60aa",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "ebfc1e02-dc4f-4df0-810b-4a5269326a4a",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "437071f8-2574-4f96-9ea7-378441ea0ad3",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "f0f7eceb-45bb-4eb7-b86f-7287dda04ed6",
|
||||
"TargetSlotId": "15ddab7a-aad4-49eb-9e56-70714e10679f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7f8e0a4b-5424-46ab-bf4d-372a4ceb95c2",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "fa6de355-cf7d-4128-9285-55fb0df871c3",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e63dbcfe-aa18-4a71-bfa6-9c878a83c310",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "fb7b4529-a97f-4204-85c4-58272d1f4bd7",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "202467cd-e898-4869-b08c-804ca5db5b45"/*IoTests*/,
|
||||
"Description": "Testing basic IO features",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "09dc0bce-3ef3-48be-b216-c0c634b8e82c"/*ConvertFormat*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 937.62225
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1bd1c988-1555-44e5-bba5-85289b93334f"/*PlayVideo*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 867.62225
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2cad0c24-f0d8-4a3e-b7a4-247d659c60aa"/*PlayVideo*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1042.6223
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2d7cc84f-34f9-4448-89db-7ae40599f0f2"/*WebCam*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1211.3344
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2efd53eb-a247-43ec-a21b-11c05cfd26fd"/*ConvertFormat*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1176.3344
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "335d04be-a0d9-42f5-86a6-6e7cc65fd3ff"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1476.0055
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3b619a40-c54d-4b24-8218-f7571df0d9a7"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1511.0055
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3ca59277-eb71-43d9-aad2-eae7754a6a59"/*SelectFloatFromDict*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 436.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "41ca6051-92cb-4a80-be12-c3cbe206b6ee"/*Time*/,
|
||||
"Position": {
|
||||
"X": -586.90845,
|
||||
"Y": 902.62225
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "437071f8-2574-4f96-9ea7-378441ea0ad3"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 176.81035
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "46861d1c-d523-4d1c-978b-bc312ce0db0b"/*SpoutInput*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1441.0055
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4df3ac25-2ca0-476f-8327-0202f5872dbc"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1251.1927
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5af9194d-80a4-44fd-83a5-681593326c33"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 972.62225
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "747e1c01-dc57-4e92-82cc-b559c9edd8a1"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": -192.01324,
|
||||
"Y": 1007.9109
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7f8e0a4b-5424-46ab-bf4d-372a4ceb95c2"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1321.1927
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "851fbf7d-09d0-482c-a5ea-5b0cd43d978d"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 50.68466
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "85badb3a-ca46-4934-9812-0711c2dfcbd3"/*Text*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 506.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "85c359c9-9903-4c50-86ac-184755d82cbc"/*OscOutput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 769.3969
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "878e089d-28a2-4096-b1e3-db1ca1af6f96"/*OscOutput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 664.3969
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8ca53254-3018-4f7a-9fd4-becd7076149e"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 281.81036
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "93a38349-d399-4e04-97fd-fa7e6586586b"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 734.3969
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9d7da7a7-2703-4f5e-b298-5e18980e0e28"/*OscInput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 576.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a600d18c-238e-4d13-8e64-046e9c568690"/*SpoutOutput*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1286.1927
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a918d6f8-f2e5-42d8-b730-ab17615f67ff"/*NdiOutput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 316.81036
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ac7922ee-b7d7-46fe-a8d6-1e8c27fc508e"/*OscInput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 401.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ade7a971-38b6-4d7f-a220-a28f5a9968dd"/*NdiInput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 15.684662
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "bbb5a65c-f350-4a8a-b4c6-0637d9c7e424"/*SpoutOut*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1391.1929
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "bde238b7-90f8-4171-888b-842fcb47997a"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 541.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c0c7c4b9-7190-4d16-a344-d4dc6c37a9fe"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1007.62225
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c4499e0f-6c97-4ba6-8632-a27011dc7f2c"/*SpoutInput*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1546.0056
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d5149f89-c395-4ea2-a9bc-02b836113eb9"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 246.81035
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d6cb02e8-57c2-4590-806e-74289ab9a256"/*FloatToString*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 471.4751
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e63dbcfe-aa18-4a71-bfa6-9c878a83c310"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 85.68466
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ebfc1e02-dc4f-4df0-810b-4a5269326a4a"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1077.6223
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f0f7eceb-45bb-4eb7-b86f-7287dda04ed6"/*NdiOutput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 211.81035
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fa6de355-cf7d-4128-9285-55fb0df871c3"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -446.90842,
|
||||
"Y": 1356.1927
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fb7b4529-a97f-4204-85c4-58272d1f4bd7"/*NdiInput*/,
|
||||
"Position": {
|
||||
"X": -444.34708,
|
||||
"Y": 120.68466
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "7ccb7b18-f64a-4938-ab09-9b79b2962af5"/*Result*/,
|
||||
"Position": {
|
||||
"X": 45.385864,
|
||||
"Y": 1229.4578
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("69de6e29-4eeb-4672-934a-05ca982ed5db")]
|
||||
internal sealed class MathTests : Instance<MathTests>
|
||||
{
|
||||
[Output(Guid = "17ef7414-7c28-43a0-bd04-b72bb03ad2bb")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,279 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "69de6e29-4eeb-4672-934a-05ca982ed5db"/*MathTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "0774c646-964a-469e-9971-14517d623c84"/*DelayTriggerChange*/,
|
||||
"SymbolId": "fbd9ac37-4427-4852-95d7-d8383fefbe36",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "1d86c7d6-95c1-416c-a643-28745e099a53"/*TimeMode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
},
|
||||
{
|
||||
"Id": "bfe68cee-b0f2-4140-931a-c8e089f7e2c2"/*DelayDuration*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0aebc79b-28fe-4e4d-bda0-3ca8834a3534"/*AnimValue*/,
|
||||
"SymbolId": "ea7b8491-2f8e-4add-b0b1-fd068ccfed0d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "48005727-0158-4795-ad70-8410c27fd01d"/*Rate*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 4.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "264696f6-5589-4f34-be4f-edcfc578ac03"/*ValuesToTexture*/,
|
||||
"SymbolId": "55cc0f79-96c9-482e-9794-934dc0f87708",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4231bdf2-ad93-4a55-9276-e4a1b2e63c7a"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5112b462-6a5d-4b6d-8dc9-75f7940770e4"/*KeepFloatValues*/,
|
||||
"SymbolId": "32a1d28e-23bc-44a8-becc-b52972464526",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "c84aa4cf-ce04-43e2-8d88-4ce3b8a7155e"/*AddValueToList*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "58dee5ef-e36e-4a7a-a015-7c6077edf313"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "13d66a6d-75e1-4ab0-805d-a2234b3334a4"/*OnlyShowFails*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8237c4a0-f444-4953-952f-eb87b780da1a"/*DelayTrigger*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "DelayTrigger",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "085ca93b-4167-444c-b3e0-a0628e93c633"/*Resolution*/,
|
||||
"Type": "T3.Core.DataTypes.Vector.Int2",
|
||||
"Value": {
|
||||
"X": 160,
|
||||
"Y": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 160
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "933f4e3c-1420-4c0b-943e-eaaf69c9cd01"/*Trigger*/,
|
||||
"SymbolId": "0bec016a-5e1b-467a-8273-368d4d6b9935",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e7c1f0af-da6d-4e33-ac86-7dc96bfe7eb3"/*BoolValue*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "954b1b05-1bb6-4bfb-8e9b-a33d1cf5672b"/*KeepFloatValues*/,
|
||||
"SymbolId": "32a1d28e-23bc-44a8-becc-b52972464526",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a5b92786-d338-4022-bfd5-a21e7dd8f4d4"/*KeepFloatValues*/,
|
||||
"SymbolId": "32a1d28e-23bc-44a8-becc-b52972464526",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b639afd8-e2f4-47ce-8726-df77ab4cb620"/*BoolToFloat*/,
|
||||
"SymbolId": "9db2fcbf-54b9-4222-878b-80d1a0dc6edf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "bbe9e51d-3485-46a9-a20c-653c72c05888"/*Int2*/,
|
||||
"SymbolId": "f1218934-f874-4f70-a077-0ebe7d12104d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "53602af2-48d9-42ab-80c3-ae1f1e600d28"/*Y*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 3
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "dd35ff4c-e1b2-4cfe-9370-b311be14cf6f"/*frameCount*/,
|
||||
"SymbolId": "cc07b314-4582-4c2c-84b8-bb32f59fc09b",
|
||||
"Name": "frameCount",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4515c98e-05bc-4186-8773-4d2b31a8c323"/*Int*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 100
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f62279ac-097f-4556-9bf5-c8a83cb1fa93"/*BoolToFloat*/,
|
||||
"SymbolId": "9db2fcbf-54b9-4222-878b-80d1a0dc6edf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "4231bdf2-ad93-4a55-9276-e4a1b2e63c7a",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "17ef7414-7c28-43a0-bd04-b72bb03ad2bb"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "933f4e3c-1420-4c0b-943e-eaaf69c9cd01",
|
||||
"SourceSlotId": "2451ea62-9915-4ec1-a65e-4d44a3758fa8",
|
||||
"TargetParentOrChildId": "0774c646-964a-469e-9971-14517d623c84",
|
||||
"TargetSlotId": "ab225218-f4b6-4ab6-be28-f2526da4b1a0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5112b462-6a5d-4b6d-8dc9-75f7940770e4",
|
||||
"SourceSlotId": "62b18ce3-1ffe-475e-9955-6f72c2fe6e18",
|
||||
"TargetParentOrChildId": "264696f6-5589-4f34-be4f-edcfc578ac03",
|
||||
"TargetSlotId": "092c8d1f-a70e-4298-b5df-52c9d62f8e04"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a5b92786-d338-4022-bfd5-a21e7dd8f4d4",
|
||||
"SourceSlotId": "62b18ce3-1ffe-475e-9955-6f72c2fe6e18",
|
||||
"TargetParentOrChildId": "264696f6-5589-4f34-be4f-edcfc578ac03",
|
||||
"TargetSlotId": "092c8d1f-a70e-4298-b5df-52c9d62f8e04"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "954b1b05-1bb6-4bfb-8e9b-a33d1cf5672b",
|
||||
"SourceSlotId": "62b18ce3-1ffe-475e-9955-6f72c2fe6e18",
|
||||
"TargetParentOrChildId": "264696f6-5589-4f34-be4f-edcfc578ac03",
|
||||
"TargetSlotId": "092c8d1f-a70e-4298-b5df-52c9d62f8e04"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "58dee5ef-e36e-4a7a-a015-7c6077edf313",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "4231bdf2-ad93-4a55-9276-e4a1b2e63c7a",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0aebc79b-28fe-4e4d-bda0-3ca8834a3534",
|
||||
"SourceSlotId": "ae4addf0-08cf-4b25-9515-4fef9359d183",
|
||||
"TargetParentOrChildId": "5112b462-6a5d-4b6d-8dc9-75f7940770e4",
|
||||
"TargetSlotId": "a5ed1db1-2dc9-43b2-97c3-cd416d07089b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8237c4a0-f444-4953-952f-eb87b780da1a",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "58dee5ef-e36e-4a7a-a015-7c6077edf313",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "bbe9e51d-3485-46a9-a20c-653c72c05888",
|
||||
"SourceSlotId": "3265ff5f-9d8d-48d5-a6f8-9085b4f19a78",
|
||||
"TargetParentOrChildId": "8237c4a0-f444-4953-952f-eb87b780da1a",
|
||||
"TargetSlotId": "085ca93b-4167-444c-b3e0-a0628e93c633"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dd35ff4c-e1b2-4cfe-9370-b311be14cf6f",
|
||||
"SourceSlotId": "8a65b34b-40be-4dbf-812c-d4c663464c7f",
|
||||
"TargetParentOrChildId": "8237c4a0-f444-4953-952f-eb87b780da1a",
|
||||
"TargetSlotId": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "264696f6-5589-4f34-be4f-edcfc578ac03",
|
||||
"SourceSlotId": "f01099a0-a196-4689-9900-edac07908714",
|
||||
"TargetParentOrChildId": "8237c4a0-f444-4953-952f-eb87b780da1a",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0aebc79b-28fe-4e4d-bda0-3ca8834a3534",
|
||||
"SourceSlotId": "5538411f-e6e5-4dff-9cf4-a6410be49a8c",
|
||||
"TargetParentOrChildId": "933f4e3c-1420-4c0b-943e-eaaf69c9cd01",
|
||||
"TargetSlotId": "e7c1f0af-da6d-4e33-ac86-7dc96bfe7eb3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b639afd8-e2f4-47ce-8726-df77ab4cb620",
|
||||
"SourceSlotId": "f0321a54-e844-482f-a161-7f137abc54b0",
|
||||
"TargetParentOrChildId": "954b1b05-1bb6-4bfb-8e9b-a33d1cf5672b",
|
||||
"TargetSlotId": "a5ed1db1-2dc9-43b2-97c3-cd416d07089b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f62279ac-097f-4556-9bf5-c8a83cb1fa93",
|
||||
"SourceSlotId": "f0321a54-e844-482f-a161-7f137abc54b0",
|
||||
"TargetParentOrChildId": "a5b92786-d338-4022-bfd5-a21e7dd8f4d4",
|
||||
"TargetSlotId": "a5ed1db1-2dc9-43b2-97c3-cd416d07089b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0774c646-964a-469e-9971-14517d623c84",
|
||||
"SourceSlotId": "04febb7c-e4c8-4252-9606-be433f82c8ad",
|
||||
"TargetParentOrChildId": "b639afd8-e2f4-47ce-8726-df77ab4cb620",
|
||||
"TargetSlotId": "253b9ae4-fac5-4641-bf0c-d8614606a840"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dd35ff4c-e1b2-4cfe-9370-b311be14cf6f",
|
||||
"SourceSlotId": "8a65b34b-40be-4dbf-812c-d4c663464c7f",
|
||||
"TargetParentOrChildId": "bbe9e51d-3485-46a9-a20c-653c72c05888",
|
||||
"TargetSlotId": "579e72d6-638e-4b17-bb4e-88a55e3a1d4d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "933f4e3c-1420-4c0b-943e-eaaf69c9cd01",
|
||||
"SourceSlotId": "2451ea62-9915-4ec1-a65e-4d44a3758fa8",
|
||||
"TargetParentOrChildId": "f62279ac-097f-4556-9bf5-c8a83cb1fa93",
|
||||
"TargetSlotId": "253b9ae4-fac5-4641-bf0c-d8614606a840"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "69de6e29-4eeb-4672-934a-05ca982ed5db"/*MathTests*/,
|
||||
"Description": "",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "0774c646-964a-469e-9971-14517d623c84"/*DelayTriggerChange*/,
|
||||
"Position": {
|
||||
"X": -1026.5427,
|
||||
"Y": 1217.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0aebc79b-28fe-4e4d-bda0-3ca8834a3534"/*AnimValue*/,
|
||||
"Position": {
|
||||
"X": -1348.5955,
|
||||
"Y": 1146.3738
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "264696f6-5589-4f34-be4f-edcfc578ac03"/*ValuesToTexture*/,
|
||||
"Position": {
|
||||
"X": -606.5427,
|
||||
"Y": 1147.9006
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4231bdf2-ad93-4a55-9276-e4a1b2e63c7a"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": -188.63275,
|
||||
"Y": 1303.1445
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5112b462-6a5d-4b6d-8dc9-75f7940770e4"/*KeepFloatValues*/,
|
||||
"Position": {
|
||||
"X": -746.5427,
|
||||
"Y": 1147.9006
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "58dee5ef-e36e-4a7a-a015-7c6077edf313"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": -606.5427,
|
||||
"Y": 1357.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8237c4a0-f444-4953-952f-eb87b780da1a"/*DelayTrigger*/,
|
||||
"Position": {
|
||||
"X": -606.5427,
|
||||
"Y": 1252.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "933f4e3c-1420-4c0b-943e-eaaf69c9cd01"/*Trigger*/,
|
||||
"Position": {
|
||||
"X": -1208.5955,
|
||||
"Y": 1181.3738
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "954b1b05-1bb6-4bfb-8e9b-a33d1cf5672b"/*KeepFloatValues*/,
|
||||
"Position": {
|
||||
"X": -746.5427,
|
||||
"Y": 1217.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a5b92786-d338-4022-bfd5-a21e7dd8f4d4"/*KeepFloatValues*/,
|
||||
"Position": {
|
||||
"X": -746.5427,
|
||||
"Y": 1182.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b639afd8-e2f4-47ce-8726-df77ab4cb620"/*BoolToFloat*/,
|
||||
"Position": {
|
||||
"X": -886.5427,
|
||||
"Y": 1217.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "bbe9e51d-3485-46a9-a20c-653c72c05888"/*Int2*/,
|
||||
"Position": {
|
||||
"X": -746.5427,
|
||||
"Y": 1322.9008
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dd35ff4c-e1b2-4cfe-9370-b311be14cf6f"/*frameCount*/,
|
||||
"Position": {
|
||||
"X": -886.5427,
|
||||
"Y": 1292.057
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f62279ac-097f-4556-9bf5-c8a83cb1fa93"/*BoolToFloat*/,
|
||||
"Position": {
|
||||
"X": -886.5427,
|
||||
"Y": 1182.9008
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "17ef7414-7c28-43a0-bd04-b72bb03ad2bb"/*Result*/,
|
||||
"Position": {
|
||||
"X": 45.385864,
|
||||
"Y": 1229.4578
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("340f164b-c3c3-4a36-9ca6-19312fed4438")]
|
||||
internal sealed class ParticleTests : Instance<ParticleTests>
|
||||
{
|
||||
[Output(Guid = "ab75c4d6-b5cf-4422-8e36-793b054b1ce6")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,344 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "340f164b-c3c3-4a36-9ca6-19312fed4438"/*ParticleTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "03dd906f-9a24-44f5-95be-0fd4e086df26"/*4*/,
|
||||
"SymbolId": "9b550333-1caa-43d4-9e6f-245c55c2d24a",
|
||||
"Name": "4",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.04
|
||||
},
|
||||
{
|
||||
"Id": "5ec058e5-e6cb-492c-8ab3-58fd2948feee"/*FrameDropRate*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 4
|
||||
},
|
||||
{
|
||||
"Id": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.42144662,
|
||||
"Z": 0.9802594,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "10189b0c-6d7b-40e6-b414-9a939133a128"/*ParticleSystem*/,
|
||||
"SymbolId": "e44ae9b6-cd56-4224-8a5d-118eda4cd3f4",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "38392c86-4a1b-4b6f-ac32-26920a73e1e2"/*EmitVelocity*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "9642f5c6-5ad2-4d35-a5ed-a3fde10817ae"/*Speed*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 4.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3266f682-840d-4c9f-9250-2888775d9c45"/*Framerate Speed*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "Framerate Speed",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "33174fac-dd49-4b42-90ed-9419a66a75f8"/*_ParticleUpdateTester*/,
|
||||
"SymbolId": "9b550333-1caa-43d4-9e6f-245c55c2d24a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.018
|
||||
},
|
||||
{
|
||||
"Id": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.5124006,
|
||||
"Z": 0.2032181,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3d9e75ec-2985-402f-a34f-408c03193d03"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4c53bf41-16fb-4fd1-85ad-632a197f1bf0"/*HasTimeChanged*/,
|
||||
"SymbolId": "2443b2fd-c397-4ea6-9588-b595f918cf01",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5410e163-3c84-4187-8e5f-ce2187cf5af7"/*2*/,
|
||||
"SymbolId": "9b550333-1caa-43d4-9e6f-245c55c2d24a",
|
||||
"Name": "2",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.04
|
||||
},
|
||||
{
|
||||
"Id": "5ec058e5-e6cb-492c-8ab3-58fd2948feee"/*FrameDropRate*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 2
|
||||
},
|
||||
{
|
||||
"Id": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.20138568,
|
||||
"Y": 1.0,
|
||||
"Z": 0.16310209,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "62d9b60d-9b76-4483-bba4-90c78b825ad4"/*Group*/,
|
||||
"SymbolId": "a3f64d34-1fab-4230-86b3-1c3deba3f90b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "63f9c403-6ce5-471b-8b41-eaa9eb5e4e16"/*Camera*/,
|
||||
"SymbolId": "746d886c-5ab6-44b1-bb15-f3ce2fadf7e6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "313596cc-3854-436b-89da-5fd40164ce76"/*Position*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 1.4276351,
|
||||
"Y": -0.51382196,
|
||||
"Z": 1.9268938
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "a7acb25c-d60c-43a6-b1df-2cd5c6e183f3"/*Target*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 0.046971902,
|
||||
"Y": -0.777876,
|
||||
"Z": -0.03574485
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7303470b-920f-4a78-a188-2fa555e9cf8d"/*TurbulenceForce*/,
|
||||
"SymbolId": "3f8376f2-b89a-4ab4-b6dc-a3e8bf88c0a5",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e27a97ce-3d0f-41a9-93c3-a1691f4029aa"/*Amount*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 10.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8c0deeaf-3784-4c0e-a1ed-74957a3b3293"/*RadialPoints*/,
|
||||
"SymbolId": "3352d3a1-ab04-4d0a-bb43-da69095b73fd",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9094b343-8ff8-47d1-b907-624961d18d8d"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9cf3b50f-e0f1-404d-8cdb-48a247ec0eb2"/*DrawPoints*/,
|
||||
"SymbolId": "ffd94e5a-bc98-4e70-84d8-cce831e6925f",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b27c8222-a2b2-4e53-bd3f-d466b0cfe33f"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "ec46bef4-8dce-4eb4-bfe8-e35a5ac416ec"/*TextureFormat*/,
|
||||
"Type": "SharpDX.DXGI.Format",
|
||||
"Value": "R8G8B8A8_UNorm"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "df3f9ba9-aff8-4a63-982b-b3e314502a8b"/*Particles*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "Particles",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 100
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f83d4008-7b52-449d-80c8-c6f20f610125"/*8*/,
|
||||
"SymbolId": "9b550333-1caa-43d4-9e6f-245c55c2d24a",
|
||||
"Name": "8",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.05
|
||||
},
|
||||
{
|
||||
"Id": "5ec058e5-e6cb-492c-8ab3-58fd2948feee"/*FrameDropRate*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 8
|
||||
},
|
||||
{
|
||||
"Id": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.2869522,
|
||||
"Y": 0.68247193,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "3d9e75ec-2985-402f-a34f-408c03193d03",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "ab75c4d6-b5cf-4422-8e36-793b054b1ce6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8c0deeaf-3784-4c0e-a1ed-74957a3b3293",
|
||||
"SourceSlotId": "d7605a96-adc6-4a2b-9ba4-33adef3b7f4c",
|
||||
"TargetParentOrChildId": "10189b0c-6d7b-40e6-b414-9a939133a128",
|
||||
"TargetSlotId": "ba08e719-a1d1-4ac6-9c8c-076478a65a81"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7303470b-920f-4a78-a188-2fa555e9cf8d",
|
||||
"SourceSlotId": "e5bbe22e-e3f6-4f1f-9db0-fc7632c10639",
|
||||
"TargetParentOrChildId": "10189b0c-6d7b-40e6-b414-9a939133a128",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4c53bf41-16fb-4fd1-85ad-632a197f1bf0",
|
||||
"SourceSlotId": "4883b1ec-16c1-422f-8db6-c74c3d48e5be",
|
||||
"TargetParentOrChildId": "10189b0c-6d7b-40e6-b414-9a939133a128",
|
||||
"TargetSlotId": "c6bdbb07-6996-4e5b-a058-37c9cbeca6fe"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9094b343-8ff8-47d1-b907-624961d18d8d",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "3266f682-840d-4c9f-9250-2888775d9c45",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "df3f9ba9-aff8-4a63-982b-b3e314502a8b",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "3d9e75ec-2985-402f-a34f-408c03193d03",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3266f682-840d-4c9f-9250-2888775d9c45",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "3d9e75ec-2985-402f-a34f-408c03193d03",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "33174fac-dd49-4b42-90ed-9419a66a75f8",
|
||||
"SourceSlotId": "b0e73991-3f04-401d-b909-ab29ed6f4c13",
|
||||
"TargetParentOrChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5410e163-3c84-4187-8e5f-ce2187cf5af7",
|
||||
"SourceSlotId": "b0e73991-3f04-401d-b909-ab29ed6f4c13",
|
||||
"TargetParentOrChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "03dd906f-9a24-44f5-95be-0fd4e086df26",
|
||||
"SourceSlotId": "b0e73991-3f04-401d-b909-ab29ed6f4c13",
|
||||
"TargetParentOrChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f83d4008-7b52-449d-80c8-c6f20f610125",
|
||||
"SourceSlotId": "b0e73991-3f04-401d-b909-ab29ed6f4c13",
|
||||
"TargetParentOrChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4",
|
||||
"SourceSlotId": "977ca2f4-cddb-4b9a-82b2-ff66453bbf9b",
|
||||
"TargetParentOrChildId": "63f9c403-6ce5-471b-8b41-eaa9eb5e4e16",
|
||||
"TargetSlotId": "047b8fae-468c-48a7-8f3a-5fac8dd5b3c6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "63f9c403-6ce5-471b-8b41-eaa9eb5e4e16",
|
||||
"SourceSlotId": "2e1742d8-9ba3-4236-a0cd-a2b02c9f5924",
|
||||
"TargetParentOrChildId": "9094b343-8ff8-47d1-b907-624961d18d8d",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "10189b0c-6d7b-40e6-b414-9a939133a128",
|
||||
"SourceSlotId": "51b9c6bd-b7cc-48a4-979b-3febcac914c2",
|
||||
"TargetParentOrChildId": "9cf3b50f-e0f1-404d-8cdb-48a247ec0eb2",
|
||||
"TargetSlotId": "5df18658-ef86-4c0f-8bb4-4ac3fbbf9a33"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9cf3b50f-e0f1-404d-8cdb-48a247ec0eb2",
|
||||
"SourceSlotId": "b73347d9-9d9f-4929-b9df-e2d6db722856",
|
||||
"TargetParentOrChildId": "b27c8222-a2b2-4e53-bd3f-d466b0cfe33f",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b27c8222-a2b2-4e53-bd3f-d466b0cfe33f",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "df3f9ba9-aff8-4a63-982b-b3e314502a8b",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "340f164b-c3c3-4a36-9ca6-19312fed4438"/*ParticleTests*/,
|
||||
"Description": "",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "03dd906f-9a24-44f5-95be-0fd4e086df26"/*4*/,
|
||||
"Position": {
|
||||
"X": -280.98636,
|
||||
"Y": 366.18854
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "10189b0c-6d7b-40e6-b414-9a939133a128"/*ParticleSystem*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3266f682-840d-4c9f-9250-2888775d9c45"/*Framerate Speed*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 378.3996
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "33174fac-dd49-4b42-90ed-9419a66a75f8"/*_ParticleUpdateTester*/,
|
||||
"Position": {
|
||||
"X": -280.98636,
|
||||
"Y": 296.18857
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3d9e75ec-2985-402f-a34f-408c03193d03"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 346.04715,
|
||||
"Y": 233.31935
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4c53bf41-16fb-4fd1-85ad-632a197f1bf0"/*HasTimeChanged*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 35.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5410e163-3c84-4187-8e5f-ce2187cf5af7"/*2*/,
|
||||
"Position": {
|
||||
"X": -280.98636,
|
||||
"Y": 331.18857
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "62d9b60d-9b76-4483-bba4-90c78b825ad4"/*Group*/,
|
||||
"Position": {
|
||||
"X": -140.98636,
|
||||
"Y": 296.18857
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "63f9c403-6ce5-471b-8b41-eaa9eb5e4e16"/*Camera*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 308.3996
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7303470b-920f-4a78-a188-2fa555e9cf8d"/*TurbulenceForce*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 70.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8c0deeaf-3784-4c0e-a1ed-74957a3b3293"/*RadialPoints*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9094b343-8ff8-47d1-b907-624961d18d8d"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 343.3996
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9cf3b50f-e0f1-404d-8cdb-48a247ec0eb2"/*DrawPoints*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 104.99997
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b27c8222-a2b2-4e53-bd3f-d466b0cfe33f"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 139.99997
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "df3f9ba9-aff8-4a63-982b-b3e314502a8b"/*Particles*/,
|
||||
"Position": {
|
||||
"X": 140.00006,
|
||||
"Y": 174.99997
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f83d4008-7b52-449d-80c8-c6f20f610125"/*8*/,
|
||||
"Position": {
|
||||
"X": -280.98636,
|
||||
"Y": 401.18854
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "ab75c4d6-b5cf-4422-8e36-793b054b1ce6"/*Result*/,
|
||||
"Position": {
|
||||
"X": 550.00006,
|
||||
"Y": 99.999985
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("e7cecfc5-e6e5-4fb7-aadf-0f7b7dfef154")]
|
||||
internal sealed class PbrTests : Instance<PbrTests>
|
||||
{
|
||||
[Output(Guid = "6060e4cf-d707-4340-98fc-7f78f28cdf1b")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("9eab73c1-bcca-4a10-8af8-7aa13649a9b6")]
|
||||
internal sealed class PointTests : Instance<PointTests>
|
||||
{
|
||||
[Output(Guid = "a0f103c6-1d04-4391-97d7-2b9651bad1c3")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "9eab73c1-bcca-4a10-8af8-7aa13649a9b6"/*PointTests*/,
|
||||
"Inputs": [],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "8bacc42b-e92b-4425-9a3e-d240a8a377b2"/*SelectPointsExample*/,
|
||||
"SymbolId": "2fcb6afc-2d82-47a5-a6dd-39c85348b8c4",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ea0aa684-494c-4f0f-a9c3-b75f29430849"/*Particles*/,
|
||||
"SymbolId": "f92a1144-55d9-4d8e-bfa6-f80665800e25",
|
||||
"Name": "Particles",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fc443f4a-50ae-4bfd-aaf1-15c1c859ea0f"/*ExecuteTests*/,
|
||||
"SymbolId": "83cb923e-a387-4be2-b391-4111c7bd90fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "31937a13-1e53-45dd-8e6f-91ca5f3aaa19"/*TriggerTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "e1989c94-8f51-414a-9ca0-33631875a9df"/*UpdateReferences*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "fc443f4a-50ae-4bfd-aaf1-15c1c859ea0f",
|
||||
"SourceSlotId": "229a2dd4-419f-43b9-aecd-12eab9b25def",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "a0f103c6-1d04-4391-97d7-2b9651bad1c3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8bacc42b-e92b-4425-9a3e-d240a8a377b2",
|
||||
"SourceSlotId": "015dd888-70a7-412c-a2da-daada267c1ae",
|
||||
"TargetParentOrChildId": "ea0aa684-494c-4f0f-a9c3-b75f29430849",
|
||||
"TargetSlotId": "ed9887ca-5ee4-4fb7-a835-071de255a893"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ea0aa684-494c-4f0f-a9c3-b75f29430849",
|
||||
"SourceSlotId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d",
|
||||
"TargetParentOrChildId": "fc443f4a-50ae-4bfd-aaf1-15c1c859ea0f",
|
||||
"TargetSlotId": "18023689-423a-4fb8-bc3c-9e74d0148c78"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "9eab73c1-bcca-4a10-8af8-7aa13649a9b6"/*PointTests*/,
|
||||
"Description": "A selection of integration tests related to creating and modifying points.",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "8bacc42b-e92b-4425-9a3e-d240a8a377b2"/*SelectPointsExample*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ea0aa684-494c-4f0f-a9c3-b75f29430849"/*Particles*/,
|
||||
"Position": {
|
||||
"X": 0.0,
|
||||
"Y": 35.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fc443f4a-50ae-4bfd-aaf1-15c1c859ea0f"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": 107.69998,
|
||||
"Y": 146.841
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "a0f103c6-1d04-4391-97d7-2b9651bad1c3"/*Result*/,
|
||||
"Position": {
|
||||
"X": 410.0,
|
||||
"Y": 30.0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Examples.testing{
|
||||
[Guid("6647b9fd-a99f-45c8-864f-a2f0a7b61857")]
|
||||
internal sealed class ShaderTests : Instance<ShaderTests>
|
||||
{
|
||||
[Output(Guid = "b749c355-fd7c-41de-b0bd-9c64b3151d0b")]
|
||||
public readonly Slot<string> Result = new Slot<string>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,806 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "6647b9fd-a99f-45c8-864f-a2f0a7b61857"/*ShaderTests*/,
|
||||
"Description": "",
|
||||
"InputUis": [],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "0108e5c8-91bf-4ac2-bdfe-098a89568c29"/*Point*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1301.4482,
|
||||
"Y": 1135.1864
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "04426d9c-b039-4a92-9b1f-61186b4df2e5"/*SphereSDF*/,
|
||||
"Position": {
|
||||
"X": -1356.2086,
|
||||
"Y": 2387.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "061bdba1-2a1f-421f-a419-b0b14e4fa529"/*PrismSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -357.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0afcc088-6f96-41ff-848a-08c9c433c119"/*ComplexCombine*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -307.29572,
|
||||
"Y": 441.13446
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0b45fffe-e36c-4872-be60-c1d6118429ea"/*DrawMesh*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -726.25775,
|
||||
"Y": 1452.0088
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "10e7bcba-c520-443e-8cfa-f706799d79fe"/*RenderTarget*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 645.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "15267093-50d6-4d01-9239-4a4d75162bbe"/*Image2dSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": 4.0723877
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "166dca39-9f82-406b-a567-b49a25695cbd"/*FieldParticleVolume*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -809.5193,
|
||||
"Y": 2015.5757
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "16c92ec8-98af-4f3d-8418-de78d2841ec6"/*ExecuteTests*/,
|
||||
"Position": {
|
||||
"X": -525.2866,
|
||||
"Y": 2198.423
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "170d419e-30f2-4dc2-8932-bec99e0ca849"/*DrawLines*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -726.25775,
|
||||
"Y": 1362.9739
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "17caec50-bbd8-4f14-aa67-d5565a8673f6"/*RenderTarget*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1387.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "187cbe36-a0e1-4e4b-ab11-37968f9be8b0"/*CylinderSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -427.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1a6463b0-9448-474a-8d12-5a34e4d3f397"/*SphereSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": 144.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1c1f2bbc-3765-4a46-9ba4-ead32c79b8b8"/*Bloom*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 680.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1d8166cf-d12b-4af3-b81d-8f5c268ec69d"/*Group*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -809.5193,
|
||||
"Y": 1805.5752
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "21608c60-2af2-4870-994f-015ce6619fd4"/*CombineSDFExample*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -307.29572,
|
||||
"Y": 406.13452
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "24c2eb2c-a2a6-4842-b8ee-a9fb2604b3fb"/*RaymarchField*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1142.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "27190173-0643-484f-a89a-d650eccf2ada"/*Raster3dField*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1301.4482,
|
||||
"Y": 1283.9612
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2840e0f2-ef4a-47e5-9d37-fef244c0efc4"/*RenderTarget*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 538.0716
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "29372473-af84-4dc1-ad6e-ea45cfcd48f1"/*Group*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1247.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "392ffdaf-be5f-4e2e-ac63-e0b4947d3268"/*Camera*/,
|
||||
"Position": {
|
||||
"X": -1216.2086,
|
||||
"Y": 2492.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "398c8d4d-e529-4568-a65f-e059c55a1b3e"/*RaymarchField*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 575.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3fd5ea05-5721-47fc-b18d-c13ed2a2b384"/*BoxSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -567.9721
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "42c13ec4-515a-4d55-9a06-655f7cbe4fae"/*RenderTarget*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 284.0724
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "43614b03-d543-4ad6-8fa0-471cf179a462"/*BoxSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": 74.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4db420de-f3ae-4802-9ed9-2decc4bb1fad"/*RaymarchPointsExample*/,
|
||||
"Position": {
|
||||
"X": -1216.2086,
|
||||
"Y": 2457.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "55344a21-67a7-4bb1-a3bb-5fa2829af751"/*Text*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": -100.92764
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "567cc57f-6962-4332-9453-c26fb7bb7612"/*PrismSDF*/,
|
||||
"Position": {
|
||||
"X": -1356.2086,
|
||||
"Y": 2422.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "598fbcc6-7b6e-4e59-9c27-363b5e20f856"/*_SDFToColor_Old*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1301.4482,
|
||||
"Y": 540.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5dbb6579-f414-45b7-ba6c-6c1c10dc5a4d"/*CombineSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 39.072388
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "673d8a43-deb1-4e53-8904-ab1897a04f4c"/*RenderTarget*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": -65.92764
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "68658aea-d5c0-4781-823b-f765307023c4"/*OctahedronSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -392.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "699d4562-e48a-4158-a8cd-cf8a5f86b082"/*RaymarchField*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 468.0716
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6abb97d2-b5af-4523-b723-752c82a673f3"/*Bloom*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1422.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6b52267c-29b7-4674-9aa7-3e4ed81813e7"/*Camera*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -809.5193,
|
||||
"Y": 1945.5752
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6fe77247-1c2b-453c-a82d-90f33d26878b"/*SetFog*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -809.5193,
|
||||
"Y": 1910.5752
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "70009e64-70c4-4e91-a036-92e34b04ca88"/*HasTimeChanged*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1275.394,
|
||||
"Y": 1865.1057
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "730040e2-dfbe-4566-8003-f64ec9f2176c"/*TestImage2dSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 319.0724
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "740b5f43-299c-422b-9e03-b7c0fc99e3be"/*RadialPoints*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -726.25775,
|
||||
"Y": 1257.9739
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "763d70de-14a9-4253-8880-90451032882f"/*TransformField*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 1732.8832
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "78f3b3f0-9db1-468a-98c7-3b9b3f5f3105"/*PyramidSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -322.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7b2b0d34-d6a4-44ad-a7bf-9dbe437a2d91"/*Complex Tests*/,
|
||||
"Position": {
|
||||
"X": 20.145508,
|
||||
"Y": 1711.2009
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7c2acc65-515c-40fc-a6e4-6fccdcf72d9f"/*CombineBuffers*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 1135.1864
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "817bedc4-d6f8-4b44-ae6f-d6fcc2e71f94"/*Basics*/,
|
||||
"Position": {
|
||||
"X": 208.28223,
|
||||
"Y": 103.216064
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8613ccf8-624e-424c-bc04-178e0dca57e0"/*DrawPoints*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -995.39404,
|
||||
"Y": 1830.1056
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8abf45c8-255a-47d1-b0ef-47f9903ac5b3"/*Camera*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 249.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9019069e-6c1d-491b-8e50-9244dbdc8348"/*ComplexComposition*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1457.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "94373629-8aaa-475b-adbc-af8371004902"/*RaymarchExample*/,
|
||||
"Position": {
|
||||
"X": -1216.2086,
|
||||
"Y": 2562.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9d233319-1dac-45e5-8b2e-46fbb9f14154"/*_GridPoints_Old*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1275.394,
|
||||
"Y": 1830.1056
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9d45f648-de11-44e7-9f43-493c41595915"/*Camera*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 610.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9ec3ba11-7a45-43ba-8c85-9df939fbbf56"/*RaymarchField*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -755.3416,
|
||||
"Y": -287.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9f3f0b99-becb-4207-b49c-7e8c7b5bf177"/*RepeatFieldAtPoints*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -958.99744,
|
||||
"Y": 1066.1274
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9f8d4a00-3b11-4b5e-a581-532330d112a1"/*ParticleSystem*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1135.394,
|
||||
"Y": 1830.1056
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9f958e47-5ae1-4474-890e-524a14dc5486"/*RadialPoints*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 1170.1865
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a1d9a4dd-8965-4903-b6d8-d9825f394511"/*TorusSDF*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 1697.883
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a40284d6-e965-4b16-b34c-05c6042a4747"/*RaymarchField*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 1802.8833
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a4f99b88-9c41-4e6c-9b70-d851c139111b"/*RepeatPolar*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 1767.8833
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "aec82a4b-ee91-4572-a0cb-3fb124697b6b"/*SphereSDF*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1098.9974,
|
||||
"Y": 1066.1274
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "af08913a-8445-4cbc-ae9c-c6b938917d5b"/*SetSDFMaterial*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": 39.072388
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b05df438-260c-4fde-8b5c-d06fbf2a5756"/*RenderTarget*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -755.3416,
|
||||
"Y": -217.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b281f89f-6501-4fb1-a6dc-77161679eaf4"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": -1216.2086,
|
||||
"Y": 2527.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b3eaf891-5261-43cb-bdf9-111df597ea9c"/*SetSDFMaterial*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 1248.9612
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b4063e65-b2a9-40bb-aea2-17c9cec41c59"/*CustomSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 433.0716
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b5e07cb0-c35e-4174-8458-a59b2851baaa"/*Camera*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 503.0716
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b623b741-51f5-4e67-a7fd-882d13161a7c"/*CappedTorusSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -532.9721
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b6a6deda-3fc3-405d-91c3-4f4617ad03c9"/*Camera*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1352.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b7847b8d-6949-4096-8191-5deb0ea005e8"/*SetMaterial*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -445.11923,
|
||||
"Y": 1177.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "bf5c7791-6845-4070-80fe-1980cb2bd970"/*CombineSDF*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -958.99744,
|
||||
"Y": 1136.1274
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ca86aaf1-476a-4ebe-8630-ee5d6ea84080"/*RenderTarget*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -809.5193,
|
||||
"Y": 1980.5758
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cac11d25-94ef-4a58-94c1-13b47d377671"/*ChainLinkSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -462.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cb981bb3-d72f-48b3-ad67-e4b98f2db2c8"/*MoveToSDF*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -726.25775,
|
||||
"Y": 1292.9739
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cbab2a29-3f22-478e-ab1d-e2a4ec7de4d5"/*RaymarchField*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 214.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cbda0f59-5962-4723-8504-28d26ff5d61f"/*CombineSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 109.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cd7ec7b2-7717-4c0c-b690-c7da723dcbf8"/*MapPointAttributes*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1301.4482,
|
||||
"Y": 1170.1865
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d0df09e3-a24e-4dde-96dc-db72d9f32765"/*SphereSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1441.4482,
|
||||
"Y": 540.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d1f66dcc-f3c9-4a74-8554-5b052d2dcdeb"/*Primitives*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -755.3416,
|
||||
"Y": -182.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d35da5d7-82e5-4676-9769-1938d79ef167"/*CapsuleLineSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -895.34155,
|
||||
"Y": -497.9721
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d3e6ecd3-5608-4f2a-8d06-38dc5a5c8b77"/*PlaneSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1038.5518,
|
||||
"Y": 179.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d4e70578-0f40-4c12-9b11-dd19b0bdcfd6"/*VisualizeFieldDistance*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -949.5193,
|
||||
"Y": 1875.5754
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d5a68d38-95c9-4bf5-8dc2-981aca0307d5"/*JumpFloodFill*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": -30.927643
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d71ad433-6bf4-4872-8521-47168de79803"/*CubeMesh*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -726.25775,
|
||||
"Y": 1417.0088
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d84ceb13-bce3-469c-ab27-19746e13ec18"/*Camera*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -755.3416,
|
||||
"Y": -252.97214
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d9733b67-5ca6-43a4-9bb8-9877b227fd26"/*CombineSDF*/,
|
||||
"Position": {
|
||||
"X": -1216.2086,
|
||||
"Y": 2387.6782
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "de6876d1-f498-4525-a431-d50fc91e9cdb"/*CombineSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -755.3416,
|
||||
"Y": -567.9721
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e22501de-2050-45fa-a309-2f0841c8c468"/*SetSDFMaterial*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 505.7994
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e48b3060-104c-4c61-9b3a-636f9ab6b3cc"/*TorusSDF*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 1213.9612
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e93b3e7f-5b85-426b-a214-2f7d684de253"/*SDFToColorFractal*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 715.79944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "eba58790-5ebf-42db-b313-889fc0f5db8d"/*LinearGradient*/,
|
||||
"SectionId": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Position": {
|
||||
"X": -585.11926,
|
||||
"Y": 1212.2891
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ebe94fad-249f-49e3-95c7-732ff87791a8"/*SetSDFMaterial*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -898.55176,
|
||||
"Y": 179.07239
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f3515cab-49de-45a0-a773-cfacbb3c4976"/*FieldVolumeForce*/,
|
||||
"SectionId": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Position": {
|
||||
"X": -1275.394,
|
||||
"Y": 1900.1056
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f50181f4-5c71-40e0-b978-4523fc80bd0a"/*All Shaders*/,
|
||||
"Position": {
|
||||
"X": 468.18408,
|
||||
"Y": 374.03604
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f561f6ed-33f9-40da-8093-2a3254b33fce"/*CustomSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -758.55176,
|
||||
"Y": 573.0716
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f7bd6d27-61f2-49e6-ac12-b762c93e97a6"/*FractalSDF*/,
|
||||
"SectionId": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Position": {
|
||||
"X": -1161.4482,
|
||||
"Y": 470.7994
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "b749c355-fd7c-41de-b0bd-9c64b3151d0b"/*Result*/,
|
||||
"Position": {
|
||||
"X": 618.2822,
|
||||
"Y": 157.93176
|
||||
}
|
||||
}
|
||||
],
|
||||
"Sections": [
|
||||
{
|
||||
"Id": "52b74bfb-3d9c-48cf-a99d-ef23222e5201",
|
||||
"Label": "Complex stuff",
|
||||
"Color": {
|
||||
"X": 0.6,
|
||||
"Y": 0.6,
|
||||
"Z": 0.6,
|
||||
"W": 1.0
|
||||
},
|
||||
"Position": {
|
||||
"X": -1501.4482,
|
||||
"Y": 1637.883
|
||||
},
|
||||
"Size": {
|
||||
"X": 861.92896,
|
||||
"Y": 497.69165
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "a927627c-5aa6-4071-812e-390f565a4407",
|
||||
"Label": "Complex resources",
|
||||
"Color": {
|
||||
"X": 0.6,
|
||||
"Y": 0.6,
|
||||
"Z": 0.6,
|
||||
"W": 1.0
|
||||
},
|
||||
"Position": {
|
||||
"X": -1501.4482,
|
||||
"Y": 1006.12744
|
||||
},
|
||||
"Size": {
|
||||
"X": 1256.329,
|
||||
"Y": 536.16156
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "db0d0b44-fe2c-43e3-8c1c-2b1bbb28b8fe",
|
||||
"Label": "Basics",
|
||||
"Color": {
|
||||
"X": 0.6,
|
||||
"Y": 0.6,
|
||||
"Z": 0.6,
|
||||
"W": 1.0
|
||||
},
|
||||
"Position": {
|
||||
"X": -1501.4482,
|
||||
"Y": -627.9721
|
||||
},
|
||||
"Size": {
|
||||
"X": 1364.1526,
|
||||
"Y": 1428.7715
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,565 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using SharpDX;
|
||||
using SharpDX.Direct3D11;
|
||||
using SharpDX.IO;
|
||||
using SharpDX.WIC;
|
||||
using T3.Core.Animation;
|
||||
using T3.Core.Settings;
|
||||
using T3.Core.Utils;
|
||||
using Utilities = T3.Core.Utils.Utilities;
|
||||
|
||||
namespace Examples.testing;
|
||||
|
||||
[Guid("f92a1144-55d9-4d8e-bfa6-f80665800e25")]
|
||||
internal sealed class VisualTest : Instance<VisualTest>
|
||||
{
|
||||
[Output(Guid = "0B56A8D8-F7F1-4FEA-A153-B529F49B989D")]
|
||||
public readonly Slot<string> Result = new();
|
||||
|
||||
public VisualTest()
|
||||
{
|
||||
Result.UpdateAction = Update;
|
||||
}
|
||||
|
||||
private void Update(EvaluationContext context)
|
||||
{
|
||||
var isExecution = context.IntVariables.TryGetValue(TestFrameKey, out var testFrame);
|
||||
if (!isExecution)
|
||||
{
|
||||
if (!_complainedOnce)
|
||||
{
|
||||
Log.Warning("Needs to be run with [ExecuteTests]", this);
|
||||
_complainedOnce = true;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
_complainedOnce = false;
|
||||
|
||||
if (!context.ObjectVariables.TryGetValue(TestResultKey, out var obj2) || obj2 is not List<string> testResultList)
|
||||
{
|
||||
Log.Warning("Test Results missing?", this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!context.ObjectVariables.TryGetValue(TestActionKey, out var obj) || obj is not string testAction)
|
||||
{
|
||||
Log.Warning("Test Action missing?", this);
|
||||
return;
|
||||
}
|
||||
|
||||
var contextAction = testAction switch
|
||||
{
|
||||
TestCommandId => States.Testing,
|
||||
UpdateReferencesCommandId => States.UpdatingReferences,
|
||||
_ => States.Unknown,
|
||||
};
|
||||
|
||||
if (contextAction == States.Unknown)
|
||||
{
|
||||
Log.Warning($"Unknown action {testAction}", this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (contextAction != _state)
|
||||
{
|
||||
Log.Debug($"Switching to {contextAction}", this);
|
||||
UpdateTestParams(context);
|
||||
_state = contextAction;
|
||||
}
|
||||
|
||||
switch (_state)
|
||||
{
|
||||
case States.Testing:
|
||||
ConductTests(context, testResultList);
|
||||
break;
|
||||
|
||||
case States.UpdatingReferences:
|
||||
UpdateAndSaveReferences(context, testResultList);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private const string TestCommandId= "Test";
|
||||
private const string UpdateReferencesCommandId= "UpdateReferences";
|
||||
|
||||
/// <summary>
|
||||
/// We only update test params on state change so we can reuse the same settings during multiple tests.
|
||||
/// This can be useful to iterate tests over multiple frames (e.g. while waiting at seeking within a video).
|
||||
/// </summary>
|
||||
private void UpdateTestParams(EvaluationContext context)
|
||||
{
|
||||
_testIndex = 0;
|
||||
_stepCount = StepCount.GetValue(context).Clamp(1, 100);
|
||||
_threshold = Threshold.GetValue(context);
|
||||
_timeRange = TimeRange.GetValue(context);
|
||||
_warmUpSteps = WarmUpStepCount.GetValue(context).Clamp(0, 1000);
|
||||
var res=Resolution.GetValue(context);
|
||||
_defaultResolution = new Int2(res.X.Clamp(1, 16383),
|
||||
res.Y.Clamp(1, 16383));
|
||||
}
|
||||
|
||||
private bool TryUpdateImage(EvaluationContext context, int index, out float usedTime, out Texture2D image)
|
||||
{
|
||||
ResourceManager.Device.ImmediateContext.Flush();
|
||||
|
||||
usedTime = 0;
|
||||
var previousKeyframeTime = context.LocalTime;
|
||||
var previousEffectTime = context.LocalFxTime;
|
||||
var previousResolution = context.RequestedResolution;
|
||||
var previousGizmo = context.ShowGizmos;
|
||||
context.ShowGizmos = GizmoVisibility.Off;
|
||||
|
||||
var f = _stepCount <= 1 ? 0.5f : (float)index / _stepCount;
|
||||
Playback.Current.IsRenderingToFile = true;
|
||||
var stepStep = MathUtils.Lerp(_timeRange.X, _timeRange.Y, f);
|
||||
image = null;
|
||||
for (int midStepIndex = 0; midStepIndex <= _warmUpSteps; midStepIndex++)
|
||||
{
|
||||
var subTime = _warmUpSteps <= 1 ? 0 : (float)midStepIndex / _warmUpSteps;
|
||||
var time = stepStep + subTime;
|
||||
usedTime = time;
|
||||
|
||||
context.LocalTime = time;
|
||||
context.LocalFxTime = time;
|
||||
context.RequestedResolution = _defaultResolution;
|
||||
|
||||
DirtyFlag.GlobalInvalidationTick++;
|
||||
Image.InvalidateGraph();
|
||||
Image.DirtyFlag.ForceInvalidate();
|
||||
|
||||
image = Image.GetValue(context);
|
||||
}
|
||||
|
||||
context.ShowGizmos = previousGizmo;
|
||||
context.LocalTime = previousKeyframeTime;
|
||||
context.LocalFxTime = previousEffectTime;
|
||||
context.RequestedResolution = previousResolution;
|
||||
return !Playback.OpNotReady;
|
||||
}
|
||||
|
||||
private enum States
|
||||
{
|
||||
Waiting,
|
||||
UpdatingReferences,
|
||||
Testing,
|
||||
Completed,
|
||||
Unknown,
|
||||
}
|
||||
|
||||
|
||||
private void UpdateAndSaveReferences(EvaluationContext context, List<string> testResultBuilder)
|
||||
{
|
||||
for (; _testIndex < _stepCount; _testIndex++)
|
||||
{
|
||||
var ready= TryUpdateImage(context, _testIndex, out _, out var image);
|
||||
if (!ready)
|
||||
{
|
||||
Log.Debug(" waiting for op to be ready...", this);
|
||||
return;
|
||||
}
|
||||
var filepath = GetReferenceFilepath(_testIndex);
|
||||
Log.Debug("Saving image " + filepath, this);
|
||||
|
||||
SaveTexture(image, filepath);
|
||||
testResultBuilder.Add("saved " + filepath);
|
||||
}
|
||||
|
||||
_state = States.Completed;
|
||||
Playback.Current.IsRenderingToFile = false;
|
||||
}
|
||||
|
||||
|
||||
private void ConductTests(EvaluationContext context, List<string> testResult)
|
||||
{
|
||||
SharpDX.Direct3D11.Texture2D diffColorImage = null;
|
||||
for (; _testIndex < _stepCount; _testIndex++)
|
||||
{
|
||||
var referenceFilepath = GetReferenceFilepath(_testIndex);
|
||||
var testName = GetTestName(_testIndex);
|
||||
|
||||
if (!TryLoadTextureFromFile(ResourceManager.Device, referenceFilepath, out var referenceImage))
|
||||
{
|
||||
Log.Warning($"Can't find image... {referenceFilepath}");
|
||||
continue;
|
||||
}
|
||||
|
||||
var ready = TryUpdateImage(context, _testIndex, out var time, out var image);
|
||||
if (!ready)
|
||||
{
|
||||
Log.Debug(" waiting for op to be ready...", this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (image == null)
|
||||
{
|
||||
Log.Debug(" failed to get image...", this);
|
||||
return;
|
||||
}
|
||||
|
||||
var currentWithCpuAccess = _textureBgraReadAccess.ConvertToCpuReadableBgra(image);
|
||||
var deviation = CompareImage(currentWithCpuAccess, referenceImage);
|
||||
var failPath = GetReferenceFilepath(_testIndex, "FAIL");
|
||||
|
||||
var timeLabel = time == 0 ? string.Empty : $"@{time:0.00}";
|
||||
if (deviation < _threshold)
|
||||
{
|
||||
if (File.Exists(failPath))
|
||||
{
|
||||
File.Delete(failPath);
|
||||
}
|
||||
|
||||
testResult.Add($"{testName} {timeLabel}: PASSED");
|
||||
}
|
||||
else
|
||||
{
|
||||
SaveTexture(image, GetReferenceFilepath(_testIndex, "FAIL"));
|
||||
testResult.Add($"{testName} {timeLabel}: FAILED ({deviation:0.00} > {_threshold})");
|
||||
}
|
||||
|
||||
Utilities.Dispose(ref diffColorImage);
|
||||
}
|
||||
_state = States.Completed;
|
||||
Playback.Current.IsRenderingToFile = false;
|
||||
}
|
||||
|
||||
private static void SaveTexture(Texture2D texture, string filePath)
|
||||
{
|
||||
_textureBgraReadAccess.InitiateConvertAndReadBack(texture, WriteTextureToFile, filePath);
|
||||
}
|
||||
|
||||
private string GetTestName(int index)
|
||||
{
|
||||
List<string> parts = [];
|
||||
|
||||
parts.Add(GetCompositionName());
|
||||
|
||||
if (!string.IsNullOrEmpty(SymbolChild.Name))
|
||||
{
|
||||
parts.Add(SymbolChild.Name);
|
||||
}
|
||||
else
|
||||
{
|
||||
parts.Add("Test_" + SymbolChildId.ShortenGuid(5));
|
||||
}
|
||||
|
||||
parts.Add($"{index:00}");
|
||||
|
||||
return string.Join(" / ", parts);
|
||||
}
|
||||
|
||||
private string GetReferenceFilepath(int index, string suffix =null)
|
||||
{
|
||||
List<string> parts = [];
|
||||
|
||||
if (!string.IsNullOrEmpty(SymbolChild.Name))
|
||||
{
|
||||
parts.Add(Regex.Replace(SymbolChild.Name, @"[^a-zA-Z0-9_]", "_"));
|
||||
}
|
||||
|
||||
parts.Add(SymbolChildId.ShortenGuid(5));
|
||||
|
||||
parts.Add($"{index:00}");
|
||||
|
||||
if(!string.IsNullOrEmpty(suffix))
|
||||
parts.Add(suffix);
|
||||
|
||||
var baseName = string.Join('_', parts);
|
||||
baseName += ".png";
|
||||
|
||||
return Path.Join( FileLocations.TestReferencesFolder, GetCompositionName(), baseName);
|
||||
}
|
||||
|
||||
private string GetCompositionName()
|
||||
{
|
||||
var compositionName = !string.IsNullOrEmpty(Parent?.Symbol.Name)
|
||||
? Parent.Symbol.Name
|
||||
: "Misc";
|
||||
return compositionName;
|
||||
}
|
||||
|
||||
private static bool TryLoadTextureFromFile(SharpDX.Direct3D11.Device device, string filePath, out SharpDX.Direct3D11.Texture2D image)
|
||||
{
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
image = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
var imagingFactory = new ImagingFactory();
|
||||
|
||||
// Decode the image
|
||||
var decoder = new BitmapDecoder(imagingFactory, filePath, DecodeOptions.CacheOnDemand);
|
||||
var frame = decoder.GetFrame(0);
|
||||
|
||||
// Convert to 32bpp RGBA
|
||||
var converter = new FormatConverter(imagingFactory);
|
||||
converter.Initialize(frame, PixelFormat.Format32bppRGBA);
|
||||
|
||||
int width = converter.Size.Width;
|
||||
int height = converter.Size.Height;
|
||||
|
||||
// Copy pixels into a buffer
|
||||
var stride = width * 4;
|
||||
var buffer = new DataStream(height * stride, true, true);
|
||||
converter.CopyPixels(stride, buffer);
|
||||
|
||||
// Create texture description
|
||||
var texDesc = new Texture2DDescription
|
||||
{
|
||||
Width = width,
|
||||
Height = height,
|
||||
ArraySize = 1,
|
||||
BindFlags = BindFlags.ShaderResource,
|
||||
Usage = ResourceUsage.Immutable,
|
||||
CpuAccessFlags = CpuAccessFlags.None,
|
||||
Format = Format.R8G8B8A8_UNorm,
|
||||
MipLevels = 1,
|
||||
OptionFlags = ResourceOptionFlags.None,
|
||||
SampleDescription = new SampleDescription(1, 0)
|
||||
};
|
||||
|
||||
// Define initial data
|
||||
var dataBox = new DataBox(buffer.DataPointer, stride, 0);
|
||||
var dataBoxes = new[] { dataBox };
|
||||
var texture = new SharpDX.Direct3D11.Texture2D(device, texDesc, dataBoxes);
|
||||
|
||||
// Cleanup
|
||||
buffer.Dispose();
|
||||
converter.Dispose();
|
||||
frame.Dispose();
|
||||
decoder.Dispose();
|
||||
imagingFactory.Dispose();
|
||||
image = texture;
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <remarks>
|
||||
/// Sadly, we have to deal with BRGA vs RGBA because we convert the current image to brga on the GPU
|
||||
/// to speedup writing as PNG.
|
||||
/// </remarks>
|
||||
private float CompareImage(SharpDX.Direct3D11.Texture2D currentBgraWithCpuAccess,
|
||||
SharpDX.Direct3D11.Texture2D reference)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (currentBgraWithCpuAccess == null || reference == null ||
|
||||
currentBgraWithCpuAccess.Description.Width != reference.Description.Width ||
|
||||
currentBgraWithCpuAccess.Description.Height != reference.Description.Height)
|
||||
{
|
||||
Log.Warning($"{GetReferenceFilepath(0)} incorrect size? {currentBgraWithCpuAccess?.Description.Width}x{currentBgraWithCpuAccess?.Description.Height} vs {reference?.Description.Width}×{reference?.Description.Height}");
|
||||
return -1f;
|
||||
}
|
||||
|
||||
if (currentBgraWithCpuAccess.Description.Format != Format.B8G8R8A8_UNorm)
|
||||
{
|
||||
Log.Warning($"Source image format {currentBgraWithCpuAccess.Description.Format} is expected to be BGRA8");
|
||||
return -1f;
|
||||
}
|
||||
|
||||
|
||||
var immediateContext = ResourceManager.Device.ImmediateContext;
|
||||
var referenceDesc = new Texture2DDescription()
|
||||
{
|
||||
BindFlags = BindFlags.None,
|
||||
Format = reference.Description.Format,
|
||||
Width = reference.Description.Width,
|
||||
Height = reference.Description.Height,
|
||||
MipLevels = reference.Description.MipLevels,
|
||||
SampleDescription = new SampleDescription(1, 0),
|
||||
Usage = ResourceUsage.Staging,
|
||||
OptionFlags = ResourceOptionFlags.None,
|
||||
CpuAccessFlags = CpuAccessFlags.Read,
|
||||
ArraySize = 1
|
||||
};
|
||||
var referenceWithCpuAccess = new SharpDX.Direct3D11.Texture2D(ResourceManager.Device, referenceDesc);
|
||||
immediateContext.CopyResource(reference, referenceWithCpuAccess);
|
||||
ResourceManager.Device.ImmediateContext.Flush(); // Ensure the copy is complete
|
||||
|
||||
|
||||
var currentDataBox =
|
||||
immediateContext.MapSubresource(currentBgraWithCpuAccess, 0, 0, MapMode.Read, SharpDX.Direct3D11.MapFlags.None, out var currentStream);
|
||||
currentStream.Position = 0;
|
||||
|
||||
var refDataBox =
|
||||
immediateContext.MapSubresource(referenceWithCpuAccess, 0, 0, MapMode.Read, SharpDX.Direct3D11.MapFlags.None, out var referenceStream);
|
||||
referenceStream.Position = 0;
|
||||
|
||||
|
||||
double deviation = 0;
|
||||
for (int y = 0; y < currentBgraWithCpuAccess.Description.Height; ++y)
|
||||
{
|
||||
for (int x = 0; x < currentBgraWithCpuAccess.Description.Width; ++x)
|
||||
{
|
||||
var currentBgra = new Color4(currentStream.Read<Int32>());
|
||||
var referenceRgba = new Color4(referenceStream.Read<Int32>());
|
||||
deviation += Math.Abs(currentBgra.Alpha - referenceRgba.Alpha)
|
||||
+ Math.Abs(currentBgra.Blue - referenceRgba.Red)
|
||||
+ Math.Abs(currentBgra.Green - referenceRgba.Green)
|
||||
+ Math.Abs(currentBgra.Red - referenceRgba.Blue);
|
||||
}
|
||||
|
||||
currentStream.Position += currentDataBox.RowPitch - currentBgraWithCpuAccess.Description.Width * 4;
|
||||
referenceStream.Position += refDataBox.RowPitch - currentBgraWithCpuAccess.Description.Width * 4;
|
||||
}
|
||||
|
||||
deviation /= currentBgraWithCpuAccess.Description.Width * currentBgraWithCpuAccess.Description.Height;
|
||||
|
||||
immediateContext.UnmapSubresource(currentBgraWithCpuAccess, 0);
|
||||
Utilities.Dispose(ref currentStream);
|
||||
immediateContext.UnmapSubresource(referenceWithCpuAccess, 0);
|
||||
Utilities.Dispose(ref referenceStream);
|
||||
Utilities.Dispose(ref referenceWithCpuAccess);
|
||||
return (float)deviation;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(" Failed to compare " + ex.Message, this);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void WriteTextureToFile(TextureBgraReadAccess.ReadRequestItem request)
|
||||
{
|
||||
var requestCpuAccessTexture = request.CpuAccessTexture;
|
||||
var requestFilepath = request.Filepath;
|
||||
|
||||
var immediateContext = ResourceManager.Device.ImmediateContext;
|
||||
if (requestCpuAccessTexture.IsDisposed)
|
||||
{
|
||||
Log.Debug("ScreenshotWriter: Texture was disposed before readback was complete");
|
||||
return;
|
||||
}
|
||||
|
||||
// Make sure target folder exists
|
||||
if (string.IsNullOrEmpty(requestFilepath))
|
||||
{
|
||||
Log.Debug("ScreenshotWriter: Target folder missing?");
|
||||
return;
|
||||
}
|
||||
|
||||
var folder = Path.GetDirectoryName(requestFilepath);
|
||||
if (!string.IsNullOrEmpty(folder))
|
||||
{
|
||||
//Log.Debug($"Creating {folder}...");
|
||||
Directory.CreateDirectory(folder);
|
||||
}
|
||||
|
||||
var dataBox = immediateContext.MapSubresource(requestCpuAccessTexture,
|
||||
0,
|
||||
0,
|
||||
SharpDX.Direct3D11.MapMode.Read,
|
||||
SharpDX.Direct3D11.MapFlags.None,
|
||||
out var imageStream);
|
||||
using var dataStream = imageStream;
|
||||
|
||||
var width = requestCpuAccessTexture.Description.Width;
|
||||
var height = requestCpuAccessTexture.Description.Height;
|
||||
var factory = new ImagingFactory();
|
||||
|
||||
WICStream stream;
|
||||
try
|
||||
{
|
||||
stream = new WICStream(factory, requestFilepath, NativeFileAccess.Write);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Warning("Failed to export image: " + e.Message);
|
||||
return;
|
||||
}
|
||||
|
||||
BitmapEncoder encoder = new PngBitmapEncoder(factory);
|
||||
encoder.Initialize(stream);
|
||||
|
||||
// Create a Frame encoder
|
||||
var bitmapFrameEncode = new BitmapFrameEncode(encoder);
|
||||
bitmapFrameEncode.Initialize();
|
||||
bitmapFrameEncode.SetSize(width, height);
|
||||
var formatId = PixelFormat.Format32bppRGBA;
|
||||
bitmapFrameEncode.SetPixelFormat(ref formatId);
|
||||
|
||||
var rowStride = PixelFormat.GetStride(formatId, width);
|
||||
var outBufferSize = height * rowStride;
|
||||
var outDataStream = new DataStream(outBufferSize, true, true);
|
||||
|
||||
try
|
||||
{
|
||||
// Note: dataBox.RowPitch and outputStream.RowPitch can diverge if width is not divisible by 16.
|
||||
for (var loopY = 0; loopY < height; loopY++)
|
||||
{
|
||||
imageStream.Position = (long)(loopY) * dataBox.RowPitch;
|
||||
outDataStream.WriteRange(imageStream.ReadRange<byte>(rowStride));
|
||||
}
|
||||
|
||||
// Copy the BGRA pixels from the buffer to the Wic Bitmap Frame encoder
|
||||
bitmapFrameEncode.WritePixels(height, new DataRectangle(outDataStream.DataPointer, rowStride));
|
||||
|
||||
// Commit changes
|
||||
bitmapFrameEncode.Commit();
|
||||
encoder.Commit();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error($"Screenshot internal image copy failed : {e.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
imageStream.Dispose();
|
||||
outDataStream.Dispose();
|
||||
bitmapFrameEncode.Dispose();
|
||||
encoder.Dispose();
|
||||
stream.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private States _state = States.Waiting;
|
||||
private int _testIndex;
|
||||
|
||||
private int _warmUpSteps;
|
||||
private int _stepCount;
|
||||
private float _threshold;
|
||||
private Vector2 _timeRange;
|
||||
private bool _complainedOnce;
|
||||
|
||||
// private const string ReferencesSubFolder = "tests";
|
||||
// private const string ReferencesSourceFolder = ".tixl";
|
||||
//
|
||||
// #if DEBUG
|
||||
// private const string ReferencesTargetFolder = FileLocations.AppSubFolder;
|
||||
// #else
|
||||
// private const string ReferencesTargetFolder = ".tixl";
|
||||
// #endif
|
||||
|
||||
// private const int DefaultHeight = 120;
|
||||
// private const int DefaultWidth = (int)(DefaultHeight * (16f / 9));
|
||||
private Int2 _defaultResolution;
|
||||
|
||||
|
||||
private const string TestFrameKey = "_TestFrame";
|
||||
private const string TestResultKey = "_TestResult";
|
||||
private const string TestActionKey = "_TestAction";
|
||||
|
||||
private static readonly TextureBgraReadAccess _textureBgraReadAccess = new(true);
|
||||
|
||||
[Input(Guid = "ed9887ca-5ee4-4fb7-a835-071de255a893")]
|
||||
public readonly InputSlot<T3.Core.DataTypes.Texture2D> Image = new InputSlot<T3.Core.DataTypes.Texture2D>();
|
||||
|
||||
[Input(Guid = "9628A5C6-E731-4DF7-B49B-E617C75CFDA4")]
|
||||
public readonly InputSlot<float> Threshold = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "59D30AB3-99D5-441A-A6E7-EB76278F6AC1")]
|
||||
public readonly InputSlot<System.Numerics.Vector2> TimeRange = new InputSlot<System.Numerics.Vector2>();
|
||||
|
||||
[Input(Guid = "27ADB1E1-0704-4F1F-894D-BF38E3C8D982")]
|
||||
public readonly InputSlot<int> StepCount = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "ADFE6FE4-7FA7-4F1C-9D66-1CBF9B383BA1")]
|
||||
public readonly InputSlot<int> WarmUpStepCount = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "085CA93B-4167-444C-B3E0-A0628E93C633")]
|
||||
public readonly InputSlot<T3.Core.DataTypes.Vector.Int2> Resolution = new InputSlot<T3.Core.DataTypes.Vector.Int2>();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "f92a1144-55d9-4d8e-bfa6-f80665800e25"/*VisualTest*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "085ca93b-4167-444c-b3e0-a0628e93c633"/*Resolution*/,
|
||||
"DefaultValue": {
|
||||
"X": 160,
|
||||
"Y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"DefaultValue": 0.005
|
||||
},
|
||||
{
|
||||
"Id": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "ed9887ca-5ee4-4fb7-a835-071de255a893"/*Image*/,
|
||||
"DefaultValue": null
|
||||
}
|
||||
],
|
||||
"Children": [],
|
||||
"Connections": []
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "f92a1144-55d9-4d8e-bfa6-f80665800e25"/*VisualTest*/,
|
||||
"Description": "Executes visual integration tests needs [ExecuteTests]. \n",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "085ca93b-4167-444c-b3e0-a0628e93c633"/*Resolution*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 225.0
|
||||
},
|
||||
"Description": "You can override this for outputs like GradientsToTextures of ValuesToTextures.",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "27adb1e1-0704-4f1f-894d-bf38e3c8d982"/*StepCount*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 150.0
|
||||
},
|
||||
"Description": "The number of references images generate for giving TimeRange."
|
||||
},
|
||||
{
|
||||
"InputId": "59d30ab3-99d5-441a-a6e7-eb76278f6ac1"/*TimeRange*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 225.0
|
||||
},
|
||||
"GroupTitle": "Range",
|
||||
"Description": "For animations like projects, with multiple scenes it can be useful to generate multiple images.\nUse the StepCount parameter to adjust the number of images.\nThe WarmUpSteps will be applied to for every step.\n",
|
||||
"Min": 0.0,
|
||||
"Max": 200.0
|
||||
},
|
||||
{
|
||||
"InputId": "9628a5c6-e731-4df7-b49b-e617c75cfda4"/*Threshold*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 75.0
|
||||
},
|
||||
"Description": "The threshold for when tests will fail.\nFor noisy and very complex scene this value can be adjustsed to avoid false positives.\nValues above 1 are no longer meaningful.",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0
|
||||
},
|
||||
{
|
||||
"InputId": "adfe6fe4-7fa7-4f1c-9d66-1cbf9b383ba1"/*WarmUpStepCount*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 150.0
|
||||
},
|
||||
"GroupTitle": "Options",
|
||||
"Description": "Non-Deterministic effects like feedback and particles will need a warmup of 2-30 frames to generate meaningful images.\nShader graph also require a single frame for compiling the shader."
|
||||
},
|
||||
{
|
||||
"InputId": "ed9887ca-5ee4-4fb7-a835-071de255a893"/*Image*/,
|
||||
"Position": {
|
||||
"X": -200.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "0b56a8d8-f7f1-4fea-a153-b529f49b989d"/*Result*/,
|
||||
"Position": {
|
||||
"X": 300.0,
|
||||
"Y": 200.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Links": [
|
||||
{
|
||||
"Id": "6923a24d-5bf5-4a41-b06d-8bef40595c40",
|
||||
"Title": "Documentation",
|
||||
"Description": "",
|
||||
"LinkUrl": "https://github.com/tixl3d/tixl/wiki/dev.IntegrationTests",
|
||||
"LinkType": "Documentation"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using T3.Core.DataTypes;
|
||||
using System;
|
||||
using T3.Core.DataTypes;
|
||||
using System;
|
||||
using T3.Core.DataTypes;
|
||||
using T3.Core.Operator;
|
||||
using T3.Core.Operator.Attributes;
|
||||
using T3.Core.Operator.Slots;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Examples.testing{
|
||||
[Guid("9b550333-1caa-43d4-9e6f-245c55c2d24a")]
|
||||
internal sealed class _ParticleUpdateTester : Instance<_ParticleUpdateTester>
|
||||
{
|
||||
[Output(Guid = "b0e73991-3f04-401d-b909-ab29ed6f4c13")]
|
||||
public readonly Slot<Command> Output = new Slot<Command>();
|
||||
|
||||
[Input(Guid = "5ec058e5-e6cb-492c-8ab3-58fd2948feee")]
|
||||
public readonly InputSlot<int> FrameDropRate = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "d4e3dafa-3595-489e-a7db-cf0cb9cd258d")]
|
||||
public readonly InputSlot<System.Numerics.Vector4> PointColor = new InputSlot<System.Numerics.Vector4>();
|
||||
|
||||
[Input(Guid = "4b21554e-a551-43aa-8fb1-b3b2794977e4")]
|
||||
public readonly InputSlot<float> PointSize = new InputSlot<float>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,472 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "9b550333-1caa-43d4-9e6f-245c55c2d24a"/*_ParticleUpdateTester*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"DefaultValue": 0.026
|
||||
},
|
||||
{
|
||||
"Id": "5ec058e5-e6cb-492c-8ab3-58fd2948feee"/*FrameDropRate*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "0d414887-09b3-4522-a396-97536ad0d806"/*ParticleSystem*/,
|
||||
"SymbolId": "e44ae9b6-cd56-4224-8a5d-118eda4cd3f4",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "38392c86-4a1b-4b6f-ac32-26920a73e1e2"/*EmitVelocity*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "9642f5c6-5ad2-4d35-a5ed-a3fde10817ae"/*Speed*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 4.0
|
||||
},
|
||||
{
|
||||
"Id": "c6bdbb07-6996-4e5b-a058-37c9cbeca6fe"/*Reset*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1ca3c233-bf21-4c4d-8100-b61ae5acc6ba"/*Group*/,
|
||||
"SymbolId": "a3f64d34-1fab-4230-86b3-1c3deba3f90b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1e5d2fca-a5c5-459c-97da-3559e6d752f0"/*IntToFloat*/,
|
||||
"SymbolId": "17db8a36-079d-4c83-8a2a-7ea4c1aa49e6",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "21e1ae95-285e-4248-bc65-17082b430bf2"/*Once*/,
|
||||
"SymbolId": "e8d2b4ac-0ba2-400f-9c82-e5dd15a23d32",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "240d2d9b-9a34-4ede-966b-e563fe514d26"/*SphereSDF*/,
|
||||
"SymbolId": "fc2a33fc-d957-4113-8096-92d4dcbe14b5",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "3dd7c779-7982-4e7c-b4ce-f1915f477ad0"/*Radius*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.08
|
||||
},
|
||||
{
|
||||
"Id": "ca582e39-37d7-4df6-b942-e2330f2bf2c6"/*Center*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": -1.7,
|
||||
"Z": 0.1
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2726ea3c-dd64-4b0e-9505-c776d8718015"/*BlendColors*/,
|
||||
"SymbolId": "6b7c541a-ca36-4f21-ac95-89e874820c5a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8d444e8c-d9b5-4206-9202-5abf23b13baf"/*Mode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "b9e5c6f3-7052-456f-9d1b-c182b4412433"/*ColorB*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 0.27999997
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5f64ff10-f8b2-4dc6-a25c-720809db4e92"/*DrawPoints*/,
|
||||
"SymbolId": "ffd94e5a-bc98-4e70-84d8-cce831e6925f",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "414c8045-5086-4449-9d9a-03f28c3966b3"/*PointSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.026
|
||||
},
|
||||
{
|
||||
"Id": "cc442161-e9ca-40ea-be3b-f87189d4e155"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.8755981,
|
||||
"Y": 0.23637028,
|
||||
"Z": 0.64430577,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6f681bee-05a2-435f-b962-0cb3aa5e3959"/*TurbulenceForce*/,
|
||||
"SymbolId": "3f8376f2-b89a-4ab4-b6dc-a3e8bf88c0a5",
|
||||
"InputValues": [],
|
||||
"Outputs": [
|
||||
{
|
||||
"Id": "e5bbe22e-e3f6-4f1f-9db0-fc7632c10639"/*TurbulenceForce*/,
|
||||
"IsDisabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Id": "736dcc02-5219-4072-82f6-7b5b2e99ba35"/*FieldVolumeForce*/,
|
||||
"SymbolId": "599ada75-b2ac-4f6c-ac98-f7b4bb6cf47d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "97334c3a-7d1b-4990-a541-70f6ef040197"/*ReflectOnCollision*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": [
|
||||
{
|
||||
"Id": "3296dd74-7e80-459d-8b4d-6127437d73d8"/*FieldVolumeForce*/,
|
||||
"IsDisabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Id": "77d08446-366e-44b1-accd-f8c726381b82"/*TransformPoints*/,
|
||||
"SymbolId": "7f6c64fe-ca2e-445e-a9b4-c70291ce354e",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "9e803bd1-c5a3-4f6f-926d-d19f32dcbae5"/*Translation*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": -1.27,
|
||||
"Z": 0.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8714f977-44d5-4b78-b7fe-961ecf8b7632"/*Point*/,
|
||||
"SymbolId": "9989f539-f86c-4508-83d7-3fc0e559f502",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8ef66954-227c-4719-83f6-e55f87a4540a"/*CountInt*/,
|
||||
"SymbolId": "0e1d5f4b-3ba0-4e71-aa26-7308b6df214d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2ff3d674-90d7-4c8f-8551-aad9992540db"/*Modulo*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 4
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "94d62918-dffa-45bd-8e00-c1dc4fe8f038"/*CollisionForce*/,
|
||||
"SymbolId": "ed0bc47a-31ef-400b-b4e4-5552a859b309",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "0724bf0c-8f97-44de-bf42-6a89b89f1632"/*CellSize*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.14
|
||||
},
|
||||
{
|
||||
"Id": "91966b2c-342a-420a-bad1-cbcf4d6af1ae"/*Attraction*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.03
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "996b7d9b-d05a-4f04-b4cd-048be36ef40e"/*CompareInt*/,
|
||||
"SymbolId": "05cf9ea7-045d-421f-8ed3-2c2f6b325a46",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9d7c8f9e-ed54-4fd1-99e0-3b586b820fe3"/*DrawLines*/,
|
||||
"SymbolId": "836f211f-b387-417c-8316-658e0dc6e117",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "df158fcf-3042-48cf-8383-7bf4c1bcb8a6"/*LineWidth*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.022
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c9e66b6f-5883-428f-9b42-2c40650d1c83"/*DirectionalForce*/,
|
||||
"SymbolId": "0f1bf849-949e-4462-a7af-ecb2ff3cd109",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "cc05c47b-7351-4c16-9f1d-43d90e890ac4"/*VolumeForce*/,
|
||||
"SymbolId": "fbe1a703-f372-4236-9f20-5d0b69183843",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e3485fea-3a75-47f9-9a7d-ea69f4feb5f6"/*VolumeCenter*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": -1.07,
|
||||
"Z": 0.81
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ce6ae4b8-11e8-4821-b091-cd725b8a24cf"/*Boolean*/,
|
||||
"SymbolId": "ed0f5188-8888-453e-8db4-20d87d18e9f4",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e7c1f0af-da6d-4e33-ac86-7dc96bfe7eb3"/*BoolValue*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "cf4f2fa1-945a-4ed2-a322-00c113156672"/*ReconstructiveForce*/,
|
||||
"SymbolId": "eeec02e2-7db9-4132-935a-4caf03c828c6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "5c3e885d-ba4c-4a8d-aaa0-f0d942e1457a"/*Strength*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.01
|
||||
},
|
||||
{
|
||||
"Id": "def19ffe-41d3-44a3-9b32-2ae9bb2f2fe4"/*VolumeScale*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 15.4
|
||||
},
|
||||
{
|
||||
"Id": "f6cb95fe-7079-4064-bac3-e36bc648da10"/*DistanceMode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
}
|
||||
],
|
||||
"Outputs": [
|
||||
{
|
||||
"Id": "4b7931a8-aace-41e8-ba38-db68d03d5cc2"/*ReconstructiveForce*/,
|
||||
"IsDisabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Id": "f2ac3823-2ccf-4061-a629-55b1a5e88bc8"/*LinePoints*/,
|
||||
"SymbolId": "4ae9e2f5-7cb3-40b0-a662-0662e8cb7c68",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "951a1792-e607-4595-b211-97be7d27694c"/*Count*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 6
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "1ca3c233-bf21-4c4d-8100-b61ae5acc6ba",
|
||||
"SourceSlotId": "977ca2f4-cddb-4b9a-82b2-ff66453bbf9b",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "b0e73991-3f04-401d-b909-ab29ed6f4c13"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1e5d2fca-a5c5-459c-97da-3559e6d752f0",
|
||||
"SourceSlotId": "db1073a1-b9d8-4d52-bc5c-7ae8c0ee1ac3",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "9642f5c6-5ad2-4d35-a5ed-a3fde10817ae"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f2ac3823-2ccf-4061-a629-55b1a5e88bc8",
|
||||
"SourceSlotId": "68514ced-4368-459a-80e9-463a808bff0b",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "ba08e719-a1d1-4ac6-9c8c-076478a65a81"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6f681bee-05a2-435f-b962-0cb3aa5e3959",
|
||||
"SourceSlotId": "e5bbe22e-e3f6-4f1f-9db0-fc7632c10639",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "736dcc02-5219-4072-82f6-7b5b2e99ba35",
|
||||
"SourceSlotId": "3296dd74-7e80-459d-8b4d-6127437d73d8",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c9e66b6f-5883-428f-9b42-2c40650d1c83",
|
||||
"SourceSlotId": "3039b9df-2f48-47b7-98cf-2ca088c590a9",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "cf4f2fa1-945a-4ed2-a322-00c113156672",
|
||||
"SourceSlotId": "4b7931a8-aace-41e8-ba38-db68d03d5cc2",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "cc05c47b-7351-4c16-9f1d-43d90e890ac4",
|
||||
"SourceSlotId": "13b7dbbc-d418-4bd5-a8a1-182df2071a25",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c41d9633-1397-4602-a5f8-7808c3d63108"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ce6ae4b8-11e8-4821-b091-cd725b8a24cf",
|
||||
"SourceSlotId": "97a91f72-1e40-412c-911e-70b142e16925",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "c6bdbb07-6996-4e5b-a058-37c9cbeca6fe"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "996b7d9b-d05a-4f04-b4cd-048be36ef40e",
|
||||
"SourceSlotId": "ff14eb99-aafd-46e1-9d24-ca6647f700d1",
|
||||
"TargetParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"TargetSlotId": "cab3072c-694e-4278-9b1e-e30beb95e5c8"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5f64ff10-f8b2-4dc6-a25c-720809db4e92",
|
||||
"SourceSlotId": "b73347d9-9d9f-4929-b9df-e2d6db722856",
|
||||
"TargetParentOrChildId": "1ca3c233-bf21-4c4d-8100-b61ae5acc6ba",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9d7c8f9e-ed54-4fd1-99e0-3b586b820fe3",
|
||||
"SourceSlotId": "73ebf863-ba71-421c-bee7-312f13c5eff0",
|
||||
"TargetParentOrChildId": "1ca3c233-bf21-4c4d-8100-b61ae5acc6ba",
|
||||
"TargetSlotId": "9e961f73-1ee7-4369-9ac7-5c653e570b6f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "5ec058e5-e6cb-492c-8ab3-58fd2948feee",
|
||||
"TargetParentOrChildId": "1e5d2fca-a5c5-459c-97da-3559e6d752f0",
|
||||
"TargetSlotId": "01809b63-4b4a-47be-9588-98d5998ddb0c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d",
|
||||
"TargetParentOrChildId": "2726ea3c-dd64-4b0e-9505-c776d8718015",
|
||||
"TargetSlotId": "eb601c57-2025-4135-8292-223eaedaf187"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4b21554e-a551-43aa-8fb1-b3b2794977e4",
|
||||
"TargetParentOrChildId": "5f64ff10-f8b2-4dc6-a25c-720809db4e92",
|
||||
"TargetSlotId": "414c8045-5086-4449-9d9a-03f28c3966b3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"SourceSlotId": "51b9c6bd-b7cc-48a4-979b-3febcac914c2",
|
||||
"TargetParentOrChildId": "5f64ff10-f8b2-4dc6-a25c-720809db4e92",
|
||||
"TargetSlotId": "5df18658-ef86-4c0f-8bb4-4ac3fbbf9a33"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d",
|
||||
"TargetParentOrChildId": "5f64ff10-f8b2-4dc6-a25c-720809db4e92",
|
||||
"TargetSlotId": "cc442161-e9ca-40ea-be3b-f87189d4e155"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "240d2d9b-9a34-4ede-966b-e563fe514d26",
|
||||
"SourceSlotId": "02f7d494-72ed-4247-88d7-0cbb730edf65",
|
||||
"TargetParentOrChildId": "736dcc02-5219-4072-82f6-7b5b2e99ba35",
|
||||
"TargetSlotId": "e24a0dca-504f-4fa9-8a1d-272611506613"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f2ac3823-2ccf-4061-a629-55b1a5e88bc8",
|
||||
"SourceSlotId": "68514ced-4368-459a-80e9-463a808bff0b",
|
||||
"TargetParentOrChildId": "77d08446-366e-44b1-accd-f8c726381b82",
|
||||
"TargetSlotId": "565ff364-c3d9-4c60-a9a0-79fdd36d3477"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "5ec058e5-e6cb-492c-8ab3-58fd2948feee",
|
||||
"TargetParentOrChildId": "8ef66954-227c-4719-83f6-e55f87a4540a",
|
||||
"TargetSlotId": "2ff3d674-90d7-4c8f-8551-aad9992540db"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8ef66954-227c-4719-83f6-e55f87a4540a",
|
||||
"SourceSlotId": "2e172f90-3995-4b16-af33-9957be07323b",
|
||||
"TargetParentOrChildId": "996b7d9b-d05a-4f04-b4cd-048be36ef40e",
|
||||
"TargetSlotId": "3b6ca34b-4a64-458a-874f-a0aa094fc278"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2726ea3c-dd64-4b0e-9505-c776d8718015",
|
||||
"SourceSlotId": "66ce8660-253c-4a0b-8aec-f7a56751a1e4",
|
||||
"TargetParentOrChildId": "9d7c8f9e-ed54-4fd1-99e0-3b586b820fe3",
|
||||
"TargetSlotId": "75419a73-8a3e-4538-9a1d-e3b0ce7f8561"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0d414887-09b3-4522-a396-97536ad0d806",
|
||||
"SourceSlotId": "51b9c6bd-b7cc-48a4-979b-3febcac914c2",
|
||||
"TargetParentOrChildId": "9d7c8f9e-ed54-4fd1-99e0-3b586b820fe3",
|
||||
"TargetSlotId": "e15b6dc7-aaf9-4244-a4b8-4ac13ee7d23f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8714f977-44d5-4b78-b7fe-961ecf8b7632",
|
||||
"SourceSlotId": "5915d7e2-054d-4917-86bd-25ad1beb1754",
|
||||
"TargetParentOrChildId": "cf4f2fa1-945a-4ed2-a322-00c113156672",
|
||||
"TargetSlotId": "2a8f498f-b91e-41ad-a7d2-8082d5e72f39"
|
||||
}
|
||||
],
|
||||
"Animator": [
|
||||
{
|
||||
"InstanceId": "ce6ae4b8-11e8-4821-b091-cd725b8a24cf",
|
||||
"InputId": "e7c1f0af-da6d-4e33-ac86-7dc96bfe7eb3",
|
||||
"Curve": {
|
||||
"PreCurve": "Constant",
|
||||
"PostCurve": "Constant",
|
||||
"Keys": [
|
||||
{
|
||||
"Time": 0.0,
|
||||
"Value": 1.0,
|
||||
"InInterpolation": "Constant",
|
||||
"OutInterpolation": "Constant",
|
||||
"OutTangentAngle": 3.141592653589793
|
||||
},
|
||||
{
|
||||
"Time": 0.1972,
|
||||
"Value": 0.0,
|
||||
"InInterpolation": "Constant",
|
||||
"OutInterpolation": "Constant",
|
||||
"OutTangentAngle": -3.141592653589793
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "9b550333-1caa-43d4-9e6f-245c55c2d24a"/*_ParticleUpdateTester*/,
|
||||
"Description": "A helper to test frame independent update.",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "4b21554e-a551-43aa-8fb1-b3b2794977e4"/*PointSize*/,
|
||||
"Position": {
|
||||
"X": 846.8981,
|
||||
"Y": 63.537872
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "5ec058e5-e6cb-492c-8ab3-58fd2948feee"/*FrameDropRate*/,
|
||||
"Position": {
|
||||
"X": -35.397568,
|
||||
"Y": 64.48816
|
||||
},
|
||||
"Min": 1,
|
||||
"Max": 30,
|
||||
"ClampMin": true
|
||||
},
|
||||
{
|
||||
"InputId": "d4e3dafa-3595-489e-a7db-cf0cb9cd258d"/*PointColor*/,
|
||||
"Position": {
|
||||
"X": 781.22546,
|
||||
"Y": 111.173904
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "0d414887-09b3-4522-a396-97536ad0d806"/*ParticleSystem*/,
|
||||
"Position": {
|
||||
"X": 595.794,
|
||||
"Y": -29.811462
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1ca3c233-bf21-4c4d-8100-b61ae5acc6ba"/*Group*/,
|
||||
"Position": {
|
||||
"X": 1248.4117,
|
||||
"Y": 104.96625
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1e5d2fca-a5c5-459c-97da-3559e6d752f0"/*IntToFloat*/,
|
||||
"Position": {
|
||||
"X": 194.79613,
|
||||
"Y": 163.20091
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "21e1ae95-285e-4248-bc65-17082b430bf2"/*Once*/,
|
||||
"Position": {
|
||||
"X": 133.22662,
|
||||
"Y": -217.89944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "240d2d9b-9a34-4ede-966b-e563fe514d26"/*SphereSDF*/,
|
||||
"Position": {
|
||||
"X": -72.57321,
|
||||
"Y": 367.3767
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2726ea3c-dd64-4b0e-9505-c776d8718015"/*BlendColors*/,
|
||||
"Position": {
|
||||
"X": 781.22546,
|
||||
"Y": 146.17389
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5f64ff10-f8b2-4dc6-a25c-720809db4e92"/*DrawPoints*/,
|
||||
"Position": {
|
||||
"X": 986.8981,
|
||||
"Y": 28.537872
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6f681bee-05a2-435f-b962-0cb3aa5e3959"/*TurbulenceForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 292.56604
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "736dcc02-5219-4072-82f6-7b5b2e99ba35"/*FieldVolumeForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 367.3767
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "77d08446-366e-44b1-accd-f8c726381b82"/*TransformPoints*/,
|
||||
"Position": {
|
||||
"X": -184.77226,
|
||||
"Y": 142.33472
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8714f977-44d5-4b78-b7fe-961ecf8b7632"/*Point*/,
|
||||
"Position": {
|
||||
"X": -72.57321,
|
||||
"Y": 519.71387
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8ef66954-227c-4719-83f6-e55f87a4540a"/*CountInt*/,
|
||||
"Position": {
|
||||
"X": 315.794,
|
||||
"Y": 40.188538
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "94d62918-dffa-45bd-8e00-c1dc4fe8f038"/*CollisionForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 597.2528
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "996b7d9b-d05a-4f04-b4cd-048be36ef40e"/*CompareInt*/,
|
||||
"Position": {
|
||||
"X": 455.794,
|
||||
"Y": 40.188538
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9d7c8f9e-ed54-4fd1-99e0-3b586b820fe3"/*DrawLines*/,
|
||||
"Position": {
|
||||
"X": 986.8981,
|
||||
"Y": 183.66414
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c9e66b6f-5883-428f-9b42-2c40650d1c83"/*DirectionalForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 437.60162
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cc05c47b-7351-4c16-9f1d-43d90e890ac4"/*VolumeForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 668.0689
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ce6ae4b8-11e8-4821-b091-cd725b8a24cf"/*Boolean*/,
|
||||
"Position": {
|
||||
"X": 200.79718,
|
||||
"Y": -109.32391
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cf4f2fa1-945a-4ed2-a322-00c113156672"/*ReconstructiveForce*/,
|
||||
"Position": {
|
||||
"X": 67.42679,
|
||||
"Y": 519.71387
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f2ac3823-2ccf-4061-a629-55b1a5e88bc8"/*LinePoints*/,
|
||||
"Position": {
|
||||
"X": -210.39087,
|
||||
"Y": -29.811462
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "b0e73991-3f04-401d-b909-ab29ed6f4c13"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1248.4117,
|
||||
"Y": 174.96625
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user