Particle System Conserve Term

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 12 December 2006   #1
Particle System Conserve Term

I have a particle system that has a "conserve" term to keep things from going wild . Essentially it is a per sample multiplier on velocity .

vel = conserve * vel ;

I would like to sync it up to time . So if a user takes multiple time samples per frame it always yields the same velocity . If I do not , changing the time sample will get very different results .

so instead of
vel = conserve * vel ;

i think it ends up to be something like this

pow ( perSampleConserve , samples ) = perFrameConserve .

i then would have to solve for perSampleConserve using

log (base perSampleConserve) perFrameConserve = samples .

Is this right ? Or does anybody have the math ?
Thanks
 
Old 01 January 2007   #2
No need to make things too complicated.
given x^n = a, n != 0
let x=a^(1/n)
(a^(1/n))^n = a
(a^(n/n)) = a
a^1 = a
True
So,
x=a^(1/n)

So, you can say:

subframeConservation = conservation^(1/samples)
 
Old 01 January 2007   #3
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 09:15 AM.


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