Spawn new particle from another TYFlow, a question about the Birth Flow operator
#1
Hello!

I have two tyflows. One is generating particles with an animated mesh. At frame 50 the mesh does something, and I want to spawn new particles in a new flow at that point and at that age of the particle. How would I do that? Birth Flow seems to be the ticket, but I can't see how to engage it at a specific particle age. Is that possible? Does "Initial reference frame" do this? Also, I want to spawn the new particle at a certain point from the original particle. Imagine tea spawning from the spout of the Max Teapot. Is there a way to generate, as an example, lots of Max Teapots and at a certain age they spawn "tea" particles from their spouts? Some sort of XYZ unit or percentage offset of the placement of the Birth Flow operator?

Thanks Tyson for this fantastic plugin.
  Reply
#2
Try this (using your teapots as the example):

Teapot object: select faces on the spout you want to spawn particles from and give them a unique material ID.

Flow#1: Use the teapot as a reference node in a Shape operator, and spawn as many teapots as you like. Give the flow a Mesh operator and set 'render only' to false.

Flow#2: Use a standard Birth operator and set the timing to whenever you want to birth your particles, and add a Position Object operator as well. Add flow#1 as your object. Choose "Material ID" as a density filter in the Position Object and set the unique ID you previously set on the spout of the teapot.

Note: in versions of tyFlow prior to v0.16010, if no valid materialID is found, the Position Object operator will move particles to [0,0,0], even if 'delete if invalid' is on. In soon-to-be-released v.16010, this is fixed. So if no matching materialID is found, particles may be deleted if that option is enabled (which might be what you want for your scene).
  Reply
#3
(04-07-2019, 07:11 AM)tyFlow Wrote: Try this (using your teapots as the example):

Teapot object: select faces on the spout you want to spawn particles from and give them a unique material ID.

Flow#1: Use the teapot as a reference node in a Shape operator, and spawn as many teapots as you like. Give the flow a Mesh operator and set 'render only' to false.

Flow#2: Use a standard Birth operator and set the timing to whenever you want to birth your particles, and add a Position Object operator as well. Add flow#1 as your object. Choose "Material ID" as a density filter in the Position Object and set the unique ID you previously set on the spout of the teapot.

Note: in versions of tyFlow prior to v0.16010, if no valid materialID is found, the Position Object operator will move particles to [0,0,0], even if 'delete if invalid' is on. In soon-to-be-released v.16010, this is fixed. So if no matching materialID is found, particles may be deleted if that option is enabled (which might be what you want for your scene).

Excellent! This should do the trick! I'll try it out as soon as I can.
  Reply


Forum Jump: