Set Target to channel
#1
Hello,
New to tyflow and trying to figure things out. I don't even know how to ask questions:

1. Is there a good documentation on Channels and Data management in tyflow, I assume this is the equivalent to PF Box#3, but can't figure it out.

2. Set Target, Does anyone knows how the "channel" thing works? It seem that it only works when I use the "target" channel and nothing else. What is that channel, where it takes data from? 
[Image: xDtyTfP] Image:https://ibb.co/xDtyTfP

3. How can I delete Channels?

4. How can I see how many particles are currently used in a scene/event

Thnx
  Reply
#2
A "channel" is just a named property (name can be anything) that you can put a value into. Then you can recall that value later by selecting that channel, where applicable. So if you think of a particle as a collection of properties (position, scale, velocity, shape, etc)...custom data channels are just extra pieces of information attached to particles, that you can name for easy reference later. Float channels contain single numerical values, Vector channels contain 3 floats and TM channels contain a full 4x3 transform (12 floats).

"Targets" are referenced throughout the UI, but they're really no different than any other custom (float) data channel. The key takeaway about targets is that the data they contain is specifically the ID of other particles in the system. But ultimately a "target" channel is the same as any other float channel...it's just a channel (with an arbitrary name, although "target" is the suggested one) that contains a float value.

You can't delete channels, but there's not really ever a need to. You can "invalidate" a target channel by setting the value to -1. All particle IDs are >= 0 so a particle ID will never be less than 0.

For particle counts, you can view them either in the MAXScript listener, where they're printed by default, or right click in the editor and choose the particle count display option.
  Reply
#3
Wink 
(01-16-2022, 02:42 AM)tyFlow Wrote: A "channel" is just a named property (name can be anything) that you can put a value into. Then you can recall that value later by selecting that channel, where applicable. So if you think of a particle as a collection of properties (position, scale, velocity, shape, etc)...custom data channels are just extra pieces of information attached to particles, that you can name for easy reference later. Float channels contain single numerical values, Vector channels contain 3 floats and TM channels contain a full 4x3 transform (12 floats).

"Targets" are referenced throughout the UI, but they're really no different than any other custom (float) data channel. The key takeaway about targets is that the data they contain is specifically the ID of other particles in the system. But ultimately a "target" channel is the same as any other float channel...it's just a channel (with an arbitrary name, although "target" is the suggested one) that contains a float value.

You can't delete channels, but there's not really ever a need to. You can "invalidate" a target channel by setting the value to -1. All particle IDs are >= 0 so a particle ID will never be less than 0.

For particle counts, you can view them either in the MAXScript listener, where they're printed by default, or right click in the editor and choose the particle count display option.
Thanks for the fast reply, I kinda get it now.  Wink
  Reply


Forum Jump: