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 Tools Display Modes
  12 December 2006
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 ?
  01 January 2007
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

So, you can say:

subframeConservation = conservation^(1/samples)
  01 January 2007
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
Society of Digital Artists

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

All times are GMT. The time now is 02:06 AM.

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