# Particle System Conserve Term

 12 December 2006 chaney New Member 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 share quote
 01 January 2007 -Vormav- somewhat frequent poster   portfolio Stephen Gustafson AAU Student San Francisco, USA 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) share quote
 01 January 2007 CGTalk Moderation Expert 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. share quote

 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 vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.