284 lines
7.4 KiB
Plaintext
284 lines
7.4 KiB
Plaintext
{
|
||
"FormatVersion": 3,
|
||
"Id": "58a490b1-eb8a-4102-906a-f74a79c0ad1c"/*MeshFacesPoints*/,
|
||
"Description": "\n\nCreate points at the center, corners or edges of the mesh's faces.\n\nThe size of each of the faces defines the size of the points and FX1 as the W attribute gets the radius. \n\nIn center mode uses the \"Inscribed Circle Center\".\n\nUseful combinations [LoadObj] and [DrawPoints] and more.\n\nSimilar Operators:\nTo create a point at each vertex of the connected mesh [MeshVerticesToPoints] can be used.\nTo get evenly distributed points on a mesh [PointsOnMesh] can be used.",
|
||
"SymbolTags": "8",
|
||
"InputUis": [
|
||
{
|
||
"InputId": "0a8bbf07-d77e-46e5-8598-d49e0c21735c"/*Stretch*/,
|
||
"Position": {
|
||
"X": 892.57996,
|
||
"Y": 2197.6238
|
||
}
|
||
},
|
||
{
|
||
"InputId": "67b24f6d-61d1-49df-9e86-4555474f91b4"/*OffsetByTBN*/,
|
||
"Position": {
|
||
"X": 1032.58,
|
||
"Y": 2372.6238
|
||
},
|
||
"GroupTitle": "Additional Effects",
|
||
"Description": "Moves the points along one of the axes of the normal"
|
||
},
|
||
{
|
||
"InputId": "71d65094-f6a6-4ea7-8e3a-c0c95db5cff0"/*OffsetScale*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2652.6238
|
||
},
|
||
"Description": "This can be useful to \"inset\" edge loops.\n"
|
||
},
|
||
{
|
||
"InputId": "803dc471-081f-48c8-b1b5-f5b5e4673518"/*Texture*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2031.0386
|
||
}
|
||
},
|
||
{
|
||
"InputId": "8365a78f-4b04-477a-b762-bcdf9e62163f"/*Mode*/,
|
||
"Position": {
|
||
"X": 752.5799,
|
||
"Y": 2039.2845
|
||
},
|
||
"Description": "Defines the output mode. This directly effects the resulting point count, e.g. Loop mode results in FaceCount × 5 points because of an added separator. \n\nCorners is because identical to [MeshVerticesToPoints]."
|
||
},
|
||
{
|
||
"InputId": "9361aeff-d96f-400c-8837-7d98fb6da99e"/*Fx1*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2302.6238
|
||
},
|
||
"GroupTitle": "Set Attributes",
|
||
"Description": "Scales the W / size of the points."
|
||
},
|
||
{
|
||
"InputId": "b01260c2-9766-44b2-9754-6f4a8b8dc4e3"/*Orientation*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2729.025
|
||
},
|
||
"Description": "UseUpVector will look more consistent in most scenarios.\nTBN (Tangent, BiTagent and Normal) will be more precise a expecially for instanciating more content at the points."
|
||
},
|
||
{
|
||
"InputId": "bad1db42-201c-4d3b-8e62-82e812a8388f"/*InputMesh*/,
|
||
"Position": {
|
||
"X": 372.6872,
|
||
"Y": 1709.1115
|
||
},
|
||
"Description": "Mesh input via [LoadObj] for example"
|
||
},
|
||
{
|
||
"InputId": "d5288530-4e29-4a6d-9175-7e43e2880f1d"/*ScaleWithFaceArea*/,
|
||
"Position": {
|
||
"X": 1032.58,
|
||
"Y": 2617.6238
|
||
}
|
||
},
|
||
{
|
||
"InputId": "df3005ad-76ca-423a-95f5-4a29ae1284ca"/*ScaleUniform*/,
|
||
"Position": {
|
||
"X": 892.57996,
|
||
"Y": 2232.6238
|
||
},
|
||
"GroupTitle": "Set Point Scale"
|
||
},
|
||
{
|
||
"InputId": "ec278884-ccce-482a-934e-571b48aa36a7"/*Fx2*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2337.6238
|
||
}
|
||
},
|
||
{
|
||
"InputId": "ffe056e2-c937-4d91-a2ad-73e7988ea994"/*Color*/,
|
||
"Position": {
|
||
"X": 1032.58,
|
||
"Y": 2477.6238
|
||
},
|
||
"GroupTitle": "Set Colors",
|
||
"Description": "Defines the color of the points",
|
||
"Min": 0.0,
|
||
"Max": 1.0,
|
||
"ClampMin": true,
|
||
"ClampMax": true
|
||
}
|
||
],
|
||
"SymbolChildUis": [
|
||
{
|
||
"ChildId": "0c932816-d258-4b9d-bd8f-45e00d568847"/*FloatsToBuffer*/,
|
||
"Style": "Resizable",
|
||
"Size": {
|
||
"X": 168.16573,
|
||
"Y": 790.1424
|
||
},
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 2162.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "0eae9e29-1d00-4215-a90d-5c205787c0bc"/*Vector3Components*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2197.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "0f545e08-082b-4392-80f6-9ffc50de71cc"/*ScaleVector3*/,
|
||
"Position": {
|
||
"X": 1032.58,
|
||
"Y": 2197.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "3a704e9e-f698-4374-afd0-d163a027a883"/*PickInt*/,
|
||
"Position": {
|
||
"X": 892.5799,
|
||
"Y": 1934.2843
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "5a875125-82e9-41ed-9248-2692d05d1e5a"/*GetIndices*/,
|
||
"Position": {
|
||
"X": 568.1666,
|
||
"Y": 1886.3638
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "5e4a88a1-7a40-4ecb-8690-272f33a98488"/*Vector4Components*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2477.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "64a97ffa-5d37-4f71-8600-ce1b96356fec"/*ExecuteBufferUpdate*/,
|
||
"Position": {
|
||
"X": 1778.106,
|
||
"Y": 1949.6272
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "6b29e6fb-0a8f-4a5c-b271-ffaa9bed92fc"/*MultiplyInt*/,
|
||
"Position": {
|
||
"X": 752.5799,
|
||
"Y": 2004.2843
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "713f8d68-c587-480a-9dc4-cd9deee0854c"/*MultiplyInt*/,
|
||
"Position": {
|
||
"X": 752.5799,
|
||
"Y": 1969.2843
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "731a874d-edcf-4696-ba28-74eb2b99c345"/*StructuredBufferWithViews*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 1800.1821
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "766e8658-3bfc-4be2-b339-d72ca1a665ad"/*IntsToBuffer*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 2729.025
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "7e461b94-7a0e-4cdf-b6f0-c658f81f36b6"/*ComputeShader*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 1640.7386
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "811deaa0-7f9c-49a4-b722-6126179566e9"/*CalcDispatchCount*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 1675.7386
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "98fb6080-dddb-4f69-b4ca-46398592966a"/*SrvFromTexture2d*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 2101.0386
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "a60671a7-e9f8-43ed-a965-bbf8c05650d8"/*_MeshBufferComponents*/,
|
||
"Position": {
|
||
"X": 372.6872,
|
||
"Y": 1744.1115
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "b9775dd0-0edf-44f3-8576-7da193f57b40"/*SamplerState*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 1968.7568
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "bc6b09a9-48f4-47e3-9dc1-f173c6b8fbbb"/*GetVertices*/,
|
||
"Position": {
|
||
"X": 568.1666,
|
||
"Y": 1758.7871
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "becb3679-ebff-4ab8-9110-8560e2bc94cc"/*Vector3Components*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2372.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "c8e2be96-b56d-489e-875a-aff5d93a1b8b"/*UseFallbackTexture*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 2031.0386
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "d1870851-3e14-42eb-8aa2-45335642570b"/*GetBufferComponents*/,
|
||
"Position": {
|
||
"X": 1312.58,
|
||
"Y": 1870.1816
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "e2b9980a-6b56-432d-b7f2-f4c1bc4f5816"/*ComputeShaderStage*/,
|
||
"Position": {
|
||
"X": 1778.106,
|
||
"Y": 1634.6272
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "f32af495-5628-46bb-8211-2cfd1349dfe3"/*BoolToFloat*/,
|
||
"Position": {
|
||
"X": 1172.58,
|
||
"Y": 2617.6238
|
||
}
|
||
},
|
||
{
|
||
"ChildId": "f7a17e74-f808-4806-9621-69a5c5724b89"/*LoadImage*/,
|
||
"Position": {
|
||
"X": 1172.5798,
|
||
"Y": 2066.0386
|
||
}
|
||
}
|
||
],
|
||
"OutputUis": [
|
||
{
|
||
"OutputId": "f40d8abc-a97c-4dba-8811-b19042db1c66"/*OutBuffer*/,
|
||
"Position": {
|
||
"X": 1778.106,
|
||
"Y": 2019.6272
|
||
}
|
||
}
|
||
]
|
||
} |