PDA

View Full Version : Spliiting a TP particle group into 2


paulselhi
09-30-2004, 07:09 PM
In the TP manual it mentions spiltting a tp particle stream but then goes silent on how to do this

Now obviosly i could create 2 emiters for 2 groups but i really want to know how you would take MainGroup and at some point in time split it say 70:30 into groups A and B which can then be acted upon

I see how to pass particles from 1 group to another and possibly do this by age etc but not how to take a set number or percentage and split that off

Anyone ??

Srek
09-30-2004, 07:38 PM
Usualy a percentage or number is not the key but a condition which is either true or false and can be used to trigger PGroup nodes to assign the particles in different groups.
If you do want to use percentages then use the PPass Index and Particle Count output ports to create a factor. Just divide the two and you got a factor you can use with a simple compare node.
Hope this helps
Srek

paulselhi
10-01-2004, 01:13 PM
Thanks drek i will look into that, yes i agre that the particles should react to an event but i want 1/2 to react one way and half to react another way

CGTalk Moderation
01-19-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.