Re: [Algorithms] Formula for Damping f times
Brought to you by:
vexxed72
From: Jeff R. <je...@8m...> - 2009-06-05 15:06:38
|
x *= e ^ k * dt (where k < 0) is my good old standby. Works well with variable time steps. The call to exp() can be expensive, but if you have a lot of things decaying at the same rate you can compute exp( k * dt ) once for the frame and keep reusing it. cheers, jeff On Fri, Jun 5, 2009 at 8:01 AM, <Pau...@sc...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > I did get up at 5am this morning so I apologize if I missed/messed > something > > here, but that appears a fair way from zero. > > Yep, looks like i'm having a bad day today :D I think i need to go back to > bed... Thats fridays for you.... :) > ********************************************************************** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify pos...@sc... > This footnote also confirms that this email message has been checked for > all known viruses. > Sony Computer Entertainment Europe Limited > Registered Office: 10 Great Marlborough Street, London W1F 7LP, United > Kingdom > Registered in England: 3277793 > ********************************************************************** > P Please consider the environment before printing this e-mail > > -----BEGIN PGP SIGNATURE----- > Version: PGP Universal 2.9.1 (Build 287) > Charset: US-ASCII > > wsBVAwUBSikXHXajGqjtoMHxAQh1ZwgAsTDMOmp5R/IdHqDBxpt+oRuULS2BGHsO > R6BNERdVLXKwhAbFkmD/U4Z//zls1O6mEDVHkHDWw0qK2BUYRYBfkzQJYpLWWXK5 > AVnID6Txw3i1FlNedXyO3H/mhNPJCQRhn4VJ+llHKDeVJh7F4grbeIcKXpFOyzxl > wJsn4o3I+2beA0I/jPawe2rI+lcPo6ayFFPBnQcm+qWm0rfgJQ3xwH/3Wu5QQURG > uN7pMacUBB0tVJX/kaMAkW7sUtdNaVEqHV9dTlvHcm7o7biyPTyroTTDh/iZwfUM > SDKPwIi+dmQjRQxjErAiEuRR3L540OflZmtCaWXH9UaQmAlqWHVeKg== > =p6By > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > -- -------------------------------------------- Jeff Russell Engineer, 8monkey Labs www.8monkeylabs.com -------------------------------------------- |