Files
tooll3--t3/Operators/Lib/field/use/SdfReflectionLinePoints.t3ui
2026-07-13 13:13:17 +08:00

198 lines
4.6 KiB
Plaintext

{
"FormatVersion": 3,
"Id": "4af7bbd1-9231-4ef3-bb7a-1d643c7d16cf"/*SdfReflectionLinePoints*/,
"Description": "Moves points along their Z-axis until they hit an SDF surface.\n\nThis can be used for visualizing raymarching or simlurate rays being reflected from an SDF surface.",
"SymbolTags": "8",
"InputUis": [
{
"InputId": "0d73ebd5-c76b-46c2-b15f-96ff2ec498bd"/*MaxReflectionCount*/,
"Position": {
"X": 477.1128,
"Y": 1375.6528
}
},
{
"InputId": "403f823d-043b-4009-b00f-e90aa154f30f"/*MinDistance*/,
"Position": {
"X": 973.82806,
"Y": 1474.262
},
"Min": 0.0,
"Scale": 0.01
},
{
"InputId": "5613c80e-a0a5-4996-a864-362d021fc056"/*Field*/,
"Relevancy": "Required",
"Position": {
"X": 643.13354,
"Y": 883.8391
}
},
{
"InputId": "818886bf-cc7d-49ce-9294-fda1d6a17177"/*WriteDistanceTo*/,
"Position": {
"X": 973.8281,
"Y": 1826.3635
}
},
{
"InputId": "94c84de7-ac0c-48c1-9a45-f2d39ab6513f"/*MaxDistance*/,
"Position": {
"X": 973.82806,
"Y": 1579.262
},
"Scale": 0.01
},
{
"InputId": "a3d0717d-7afd-48cb-a43c-72701bcc1393"/*StepDistanceFactor*/,
"Position": {
"X": 973.82806,
"Y": 1509.262
},
"Min": 0.0,
"Max": 1.0,
"Scale": 0.01,
"ClampMin": true,
"ClampMax": true
},
{
"InputId": "c33c3db6-fb51-4ed3-b986-5580d2ceb539"/*NormalSamplingDistance*/,
"Position": {
"X": 973.8282,
"Y": 1544.262
},
"Scale": 0.01
},
{
"InputId": "c444a71a-5760-49a7-bfc8-3b97449a0343"/*MaxSteps*/,
"Position": {
"X": 833.8282,
"Y": 1756.3635
}
},
{
"InputId": "c4e2297a-dd91-4162-8f2c-e968d8529158"/*Points*/,
"Relevancy": "Required",
"Position": {
"X": 477.11273,
"Y": 1163.6362
}
},
{
"InputId": "c7a5d340-cf58-43dd-9bef-eb8c417e9d2e"/*WriteStepCountTo*/,
"Position": {
"X": 973.8281,
"Y": 1861.3635
}
}
],
"SymbolChildUis": [
{
"ChildId": "09ddbb77-a801-4e45-b039-4bfcc701563f"/*GenerateShaderGraphCode*/,
"Position": {
"X": 783.13354,
"Y": 883.8391
}
},
{
"ChildId": "175a5445-a109-488c-b84e-28743523d94d"/*IntsToBuffer*/,
"Position": {
"X": 1113.8281,
"Y": 1721.3635
}
},
{
"ChildId": "3794820b-4adb-450b-a599-ca74c548d3b6"/*ClampInt*/,
"Position": {
"X": 973.8282,
"Y": 1756.3635
}
},
{
"ChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044"/*FloatsToBuffer*/,
"Position": {
"X": 1113.8281,
"Y": 1439.262
}
},
{
"ChildId": "401c7778-814d-409a-a80d-7be59abd5c6b"/*ComputeShaderFromSource*/,
"Position": {
"X": 783.13354,
"Y": 988.8391
}
},
{
"ChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4"/*GetBufferComponents*/,
"Position": {
"X": 617.11273,
"Y": 1163.6362
}
},
{
"ChildId": "56c44879-6613-4aab-8874-0278f100c6ab"/*AddInt*/,
"Position": {
"X": 973.8281,
"Y": 1232.0168
}
},
{
"ChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1"/*ComputeShaderStage*/,
"Position": {
"X": 1405.8673,
"Y": 996.5768
}
},
{
"ChildId": "8acadba1-1afa-47cf-bf2d-5de9afd94fba"/*GetBufferComponents*/,
"Position": {
"X": 1113.8281,
"Y": 1337.0168
}
},
{
"ChildId": "9ceaf37c-b240-4d1b-acc4-917aea02716f"/*MultiplyInt*/,
"Position": {
"X": 1113.8281,
"Y": 1197.0168
}
},
{
"ChildId": "9fa1d380-7cb8-4dbc-a6c4-1a52373e5f81"/*ExecuteBufferUpdate*/,
"Position": {
"X": 1405.8673,
"Y": 1276.5768
}
},
{
"ChildId": "a604830d-791e-46a3-86ab-e092dcfdf51d"/*StructuredBufferWithViews*/,
"Position": {
"X": 1113.8281,
"Y": 1267.0168
}
},
{
"ChildId": "c2f545bc-33cf-451a-a7ae-29ff73de1224"/*ClampInt*/,
"Position": {
"X": 617.11273,
"Y": 1375.6528
}
},
{
"ChildId": "d0897fdc-abdb-478e-9362-521e0af12781"/*CalcDispatchCount*/,
"Position": {
"X": 923.13336,
"Y": 1023.8391
}
}
],
"OutputUis": [
{
"OutputId": "47add549-192a-4771-8f03-cdd0e90d4e72"/*Result2*/,
"Position": {
"X": 1405.8673,
"Y": 1346.5768
}
}
]
}