Jump to content

Sign in to follow this  
Ogunzinho

Assigning Thinking Particles from the 'All' group randomly to others

Recommended Posts

Hello

 

Anybody have any idea how I might use Expresso to get a particle cloud from a PStorm emitter to assign, at birth, particles to one of two possible subgroups?

I want to take a particle sim which is currently grouped only as 'ALL', and end up with the same sim, but the particles randomly distributed between 'GROUP A' and 'GROUP B' - probably not that hard, if you know how 😉

Any help much appreciated, thanks

Alternatively - any way to assign one of two possible materials at random to the particles in the 'ALL' Group? at birth? So each particle has a random chance of getting Material A or Material B?

That's the end goal.

Cheers!

Share this post


Link to post

I know it's bit a late response but maybe still will be of some use.

To split stream of particles, you could use a Birth Number as a custom particles channel.

Then using math node in modulo set to 2, you can send every second particle to a different group.

Remember to set the condition node data type to Link and drop the names of your particle groups there.
 

partChannel-02.jpg

Share this post


Link to post

Hey there

 

That's brilliant, thanks a lot...I moved on and found other workarounds, but I'm Thinking Particle crazy at the moment, and this is a pretty elegant solution which I think will prove very useful in future.

 

Cheers!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...