Files
tooll3--t3/Operators/Lib/particle/ParticleSystem.t3ui
T
2026-07-13 13:13:17 +08:00

348 lines
10 KiB
Plaintext

{
"FormatVersion": 3,
"Id": "e44ae9b6-cd56-4224-8a5d-118eda4cd3f4"/*ParticleSystem*/,
"Description": "Emits particles on emit points and applies the connected forces.\n\nPlease check the how-to linked below [HowToUseParticles].",
"SymbolTags": "1",
"InputUis": [
{
"InputId": "1eb32e4c-6785-4649-b0bf-7c70cddee619"/*MaxParticleCount*/,
"Position": {
"X": -880.62024,
"Y": -978.81415
},
"GroupTitle": "Particle Settings",
"Description": "The length of the cycle buffer holding the simulated particles. Depending on the number of emitted particles it defines the maximum possible particle lifetime.\n\nIf set to -1 it will use the count of emit points.",
"Min": -1,
"Max": 1000000,
"ClampMin": true
},
{
"InputId": "21c666bb-a28f-498c-a834-a2ba4aca78a7"/*EmitMode*/,
"Position": {
"X": 226.2659,
"Y": 127.618164
},
"Description": "This will affect how particles are inserted into the particle buffer. This order will have an effect when drawing with lines.\nNote that switching this setting might require resetting the system."
},
{
"InputId": "38392c86-4a1b-4b6f-ac32-26920a73e1e2"/*EmitVelocity*/,
"Position": {
"X": 202.45206,
"Y": -284.3761
},
"Description": "An initial velocity that is set for emitted particles along their z-axis.",
"AddPadding": "True"
},
{
"InputId": "4b0ccec5-b72e-4834-80d4-77225f30d2a9"/*OrientTowardsVelocity*/,
"Position": {
"X": 202.45206,
"Y": -214.3761
},
"Description": "Rotates the particles in relation to their velocity"
},
{
"InputId": "4c555ac3-3d62-47a7-9d1a-49e4d5808635"/*SetF2To*/,
"Position": {
"X": 226.2659,
"Y": 92.618164
}
},
{
"InputId": "4ca2f43a-ed90-4388-ae6f-2687e85db5a6"/*LifeTime*/,
"Position": {
"X": 202.45206,
"Y": -144.3761
},
"Description": "The lifetime of particles in bars (depending on the current BPM rate).\nA negative setting will compute the maximum lifetime from the MaxParticleCount and the number of currently emitted particles.\nThis will lead to flickering if changing the emit count during playback.",
"Min": -1.0,
"ClampMin": true
},
{
"InputId": "54b8bfc1-98b1-4cec-b008-8615c20ebb43"/*EmitVelocityFactor*/,
"Position": {
"X": 226.2659,
"Y": 197.61816
}
},
{
"InputId": "5a61994e-42c7-47e7-b0a5-5beb48f4a34b"/*Drag*/,
"Position": {
"X": 202.45206,
"Y": -319.3761
},
"Description": "A drag factor applied per simulation step. This can be useful for stabilizing simulations where forces insert too much energy (i.e., particle velocity) into the system.",
"Min": 0.0,
"Max": 0.1
},
{
"InputId": "7a320c47-14ed-4637-928b-25f87bd32c26"/*Emit*/,
"Position": {
"X": -145.66542,
"Y": -39.67984
},
"Description": "Enables emitting of the connected emit points. \n\nTip: For simulations of a fixed number of emitted points, you can set the MaxPointCount to -1 and use [Once] or [Trigger] to only trigger an initial emit burst.",
"AddPadding": "True"
},
{
"InputId": "9642f5c6-5ad2-4d35-a5ed-a3fde10817ae"/*Speed*/,
"Position": {
"X": 25.389862,
"Y": -410.2757
},
"GroupTitle": "Simulation",
"Description": "The simulation speed. If set to 0 the simulation will be paused.\nNegative simulation speed can shortly look like rewinding but the simulation will quickly become inconsistent."
},
{
"InputId": "a7350ba8-08be-4afc-92f1-d223ee9bcbeb"/*SetF1To*/,
"Position": {
"X": 226.2659,
"Y": 57.618164
},
"Description": "Can be used for customizing the rendering of the particles.\n\nNote that many operators like [DrawPoints] use the W attribute to control the size of the points.\nWith other operators like [DrawBillboards] you can use the W parameter to colorize particles over their lifetime.\n\nKeep Original W -> no change\nParticle Age -> Normalized age between 0 ... 1\nVelocity -> A representation of the particle's velocity."
},
{
"InputId": "b2c8f7cf-fdf5-4819-98ec-2c70ee9e8bc6"/*RadiusFactor*/,
"Position": {
"X": 202.45206,
"Y": -179.3761
},
"Description": "Some of the forces use the particle radius for collision calculation. The radius is set on emit time by the emit point Scale and this factor.\nFor consistency we aligned that factor with the default point size for [DrawPoints] which renders points with a radius of 1/100 units."
},
{
"InputId": "ba08e719-a1d1-4ac6-9c8c-076478a65a81"/*EmitPoints*/,
"Relevancy": "Required",
"Position": {
"X": -1355.4425,
"Y": -542.1392
},
"Description": "Input for GPoints"
},
{
"InputId": "c41d9633-1397-4602-a5f8-7808c3d63108"/*ParticleForces*/,
"Relevancy": "Required",
"Position": {
"X": 439.61575,
"Y": -1156.5913
},
"GroupTitle": "Forces",
"Description": "Input for Forces or [SwitchParticleForce]"
},
{
"InputId": "c6bdbb07-6996-4e5b-a058-37c9cbeca6fe"/*Reset*/,
"Position": {
"X": -614.3496,
"Y": -355.09625
},
"Description": "Clears all emitted points.\n\nTip: You can connect [HasTimeChanged] to clean up on rewind or looping. "
},
{
"InputId": "cab3072c-694e-4278-9b1e-e30beb95e5c8"/*Update*/,
"Position": {
"X": 814.58826,
"Y": -442.49432
}
}
],
"SymbolChildUis": [
{
"ChildId": "066038e0-ee67-4252-9034-c5d877f9e4a5"/*Any*/,
"Position": {
"X": 954.58826,
"Y": -547.4943
}
},
{
"ChildId": "08bd9088-5efd-4cf7-b295-685fa03dd278"/*Emit*/,
"Position": {
"X": 226.2659,
"Y": -47.381836
}
},
{
"ChildId": "0dc49394-c5eb-4217-93cd-37d1eade95e8"/*Any*/,
"Position": {
"X": -205.84326,
"Y": -545.23334
}
},
{
"ChildId": "0ea5cd85-6f28-45ba-8c87-634e8ee1148d"/*HasTimeChanged*/,
"Position": {
"X": 954.5883,
"Y": -582.4943
}
},
{
"ChildId": "11d59891-c071-4700-aa43-e8c8d42b199e"/*_SetParticleSystemComponents*/,
"Position": {
"X": 579.6158,
"Y": -1226.5913
}
},
{
"ChildId": "174bd467-28fd-426f-b32b-d44f1b281a0c"/*ComputeShader*/,
"Position": {
"X": 279.70566,
"Y": -929.9927
}
},
{
"ChildId": "27a6a915-dff2-44f9-b66e-89389adc16ed"/*Reset*/,
"Position": {
"X": 226.2659,
"Y": -12.381836
}
},
{
"ChildId": "2bbb4e59-acea-4ea8-9025-a4e9e3fed4ca"/*Particles*/,
"Position": {
"X": 155.62764,
"Y": -1224.5739
}
},
{
"ChildId": "2dbfb5f3-70e4-49e4-9968-906eef514efd"/*FloatsToBuffer*/,
"Position": {
"X": 342.45206,
"Y": -389.3761
}
},
{
"ChildId": "2f81d9b6-8709-4bd8-be99-50dbf948a597"/*All*/,
"Position": {
"X": 954.58826,
"Y": -477.49432
}
},
{
"ChildId": "42d72297-3db1-4c3b-af6d-9bbc2771e8bb"/*ClampInt*/,
"Position": {
"X": -600.62024,
"Y": -873.81415
}
},
{
"ChildId": "44173a3d-faac-4d1f-a398-fdf889ce56e2"/*Time*/,
"Position": {
"X": 202.45204,
"Y": -249.3761
}
},
{
"ChildId": "49cc1f06-5eda-41e1-95cd-98a85d05a93a"/*GetBufferComponents*/,
"Position": {
"X": -1215.4423,
"Y": -542.1392
}
},
{
"ChildId": "4dcf68b4-5be4-4289-a401-16f21681b7b4"/*Div*/,
"Position": {
"X": 165.38986,
"Y": -410.2757
}
},
{
"ChildId": "5f8b07fd-9e8f-4a56-be23-4260c67b44ea"/*GetBufferComponents*/,
"Position": {
"X": 155.62764,
"Y": -1189.5739
}
},
{
"ChildId": "650753f3-c023-492d-9b41-6586450cc817"/*HasIntChanged*/,
"Position": {
"X": -345.84326,
"Y": -545.23334
}
},
{
"ChildId": "78d0975b-1a25-4437-ba0e-3e9137af87d6"/*ResultPoints*/,
"Position": {
"X": 222.69604,
"Y": -742.1579
}
},
{
"ChildId": "7ef64581-d672-4cd5-b5c6-0b94bd854822"/*CountInt*/,
"Position": {
"X": 15.584198,
"Y": 31.226074
}
},
{
"ChildId": "87abbc5a-e272-4616-b918-fa4ec362bdf4"/*UsingEmitCount*/,
"Position": {
"X": 226.2659,
"Y": 162.61816
}
},
{
"ChildId": "886dff75-130d-4903-8d11-435d8c673fef"/*Execute*/,
"Position": {
"X": 980.6354,
"Y": -964.11786
}
},
{
"ChildId": "8bbbde76-3130-457c-9318-3e25a2382897"/*ComputeShaderStage*/,
"Position": {
"X": 650.26526,
"Y": -926.8415
}
},
{
"ChildId": "90f9c965-8e2e-48d3-9caf-e4cb032f0248"/*GetFrameSpeedFactor*/,
"Position": {
"X": 25.389862,
"Y": -375.2757
}
},
{
"ChildId": "a913c47d-9023-45dc-a28d-4d74264b031b"/*IntsToBuffer*/,
"Position": {
"X": 366.2659,
"Y": -47.381836
}
},
{
"ChildId": "af3d5d3d-71a7-4e17-8b5c-819d383f92e9"/*ExecuteBufferUpdate*/,
"Position": {
"X": 1189.3389,
"Y": -890.58856
}
},
{
"ChildId": "c1b1014e-3226-45fe-852b-b45300166682"/*GetBufferComponents*/,
"Position": {
"X": 222.69604,
"Y": -707.1579
}
},
{
"ChildId": "cbc5699a-6a05-4997-b619-5d30489a0388"/*CalcDispatchCount*/,
"Position": {
"X": 419.70566,
"Y": -894.9927
}
},
{
"ChildId": "ee3b01ae-c85b-46ee-a98c-d4ebbb76dace"/*CompareInt*/,
"Comment": "Use emit count if smaller than 0.",
"Position": {
"X": -740.62024,
"Y": -978.81415
}
}
],
"OutputUis": [
{
"OutputId": "51b9c6bd-b7cc-48a4-979b-3febcac914c2"/*OutBuffer*/,
"Position": {
"X": 1339.3389,
"Y": -890.58856
}
}
]
}