Control birth rate by object speed

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 06 June 2012   #1
Control birth rate by object speed

I have to make tons of particle layers for characters, one of them has to spawn particles. If he moves fast, plenty of them and none if he does not move.
There should be a simple solution for this, but since I am a pflow noob I can't find a solution to control the birth rate of a pflow system via the speed of the emitter object.
Any ideas?
__________________
Birnbaumhollastaun.
 
Old 06 June 2012   #2
You can add a Float Script to the Birth Rate that gets two points in space each at a different time, ie a frame before the other, subtract one from the other to get the distance traveled, then add a multiplier if you like to boost the rate.

Gimme a sec I'll post an example.
__________________
poof ~>Vimeo<~
 
Old 06 June 2012   #3
Not sure if this is accurate but:

Could you not also have a Speed Test inside your first event, where the particles are being birthed, that links to a Spawn node if they are going a certain speed?

For instance:

Birth 1000 particles > Speed Test (if speed >= 50 > Go to Spawn?

or even go to an entire new Birth event.

Not sure if that makes sense, farely Pflow noob myself.
 
Old 06 June 2012   #4
Here is an example:

https://vimeo.com/44285204


Scene file:
Attached Files
File Type: zip max2011_PF_ScriptedBirthRateByVelocity.zip (20.2 KB, 160 views)
__________________
poof ~>Vimeo<~
 
Old 09 September 2012   #5
Thank you, works like a charm. Strange enough, at first 3dsmax came to a halt and eventually we figured out that this had to do with the mdd's we use to animate the characters.
With some keyframed helper objects, everything works as it should.

Sorry for getting back at you so late
__________________
Birnbaumhollastaun.
 
Old 09 September 2012   #6
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
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 06:34 AM.


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