[ODE] numerical stability (sort of)

tbp ode at ompf.org
Wed May 5 19:44:25 MST 2004


Shaul Kedem wrote:
>  Make two versions of the boxstack code (for example)
> : the first one saving the key presses(as they are
> being dropped) and the time, and a second version
> which loads the saved information (once, at the
> beginning) into memory (*not* swap) and replays the
> key presses at the specific time.
The way i insert that bunch of boxes (ie "pillars" of 20 boxes regurarly 
  spaced over a square) isn't time dependent, they are all inserted at 
once the same way at the same place. Since i'm using step fast, i also 
re-seed its RNG.

>  You should get (almost) exactly the same behaviour...
At least when using the same ode dll and/or during a session, but that's 
not the case with the msvc compiled version. Somehow, somewhere there's 
some accumulation going on (and as far as i can grok the doc, that 
shouldn't happen).

Regards,
	tbp.




More information about the ODE mailing list