distribute particles across multiple surfaces

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
distribute particles across multiple surfaces

I thought about having one emitter and one particleSystem and goal
them to different surfaces.
so i have goalV constant moving with a ramp and goalU randomly spreaded.
everything works fine.

but when it comes to different goal targets how can i separate the particles so
a part gets goalWeight0PP and other gw1PP and so on...

?!?
cheerz
 
Old 02 February 2013   #2
Hey Heavy,

Its a little unclear exactly what you are asking. I dont think you can get one goal object to have multiple goalWeightsPP but you might be able to use a texture to affect goalPP, is this what you mean?
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 02 February 2013   #3
Hey Aiki =]
cheerz going out to the summer in NewZealand

No its not that complicated .. i have multiple goalObjects but one particle system. and i try to randomly spread or distribute the born particles tp those goalObjects..

i have ramps on the goals for U to move along and rand(0,1) for the V .. standard setup =]
but i didnt get the born particles to freely decide which goal they want to use...

...
 
Old 02 February 2013   #4
Thanks m8!

Ah I see, yeah that is a tricky one. Ive just moved house ATM and my computer is deep inside a box somewhere. What you need is someway of combining all the meshes into a single polyshell so theres one UV map. I know SOuP has a shell node but I need to try it out first. If you dont get a quick answer here then go to www.soup-dev.com and ask there, Im sure Peter would have an answer.

(When I get my computer out Ill be more useful)
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 02 February 2013   #5
Why dont you try combining all the meshes together and use the combined mesh as you goal object? You will need to rebuild the UVs afterwards.
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 02 February 2013   #6
the surfaces will have different Rotation and diffrent motion so i need them seperatly...

but you donīt think i can separate the particles by count or id or something to switch goalWeightPP... ?
in my mind it should be possible and i dit that splitting based on particleNumber before with turbulence_magPP but i cant recreated the process for goal weight...
 
Old 02 February 2013   #7
You can just use rand to break them up into different groups and set the goalWeights for each group...No?

seed the rand with the particle Id

$seed .particleId;
seed $seed;

if (rand(0,1)>=.6)
{
.goalWeightPP[0] = 1;
.goalWeightPP[1] = 0;
.goalWeightPP[2] = 0;
}

if (rand(0,1)<.6 && rand(0,1)>=.3)
{
.goalWeightPP[0] = 0;
.goalWeightPP[1] = 1;
.goalWeightPP[2] = 0;
}

if (rand(0,1)<=.3)
{
.goalWeightPP[0] = 0;
.goalWeightPP[1] = 0;
.goalWeightPP[2] = 1;
}

There may be more elegant ways to do things...but this has worked for me before. Add your goal UV stuff wherever. If you want the weighting to change you can just use something like:
$seed .particleId + frame;

Hope that is the kind of thing you are looking for.
 
Old 02 February 2013   #8
Expressions will work. I just tried combining meshes that are animated and as long as you maintain history, the combined mesh will keep animations.
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 02 February 2013   #9
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright Đ2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:20 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.