[ODE] Determinism

Adam D. Moss adam at gimp.org
Fri Oct 24 19:26:07 MST 2003



krejci.lukas at volny.cz wrote:
> Im designing multiplayer game driven mostly by ODE. The question
> is: Are results alwayes the same when the same simulation with
> identical input data is running on two different computers? (Or
> on one computer twice)

Yes.  However, I don't think that this is an ODE design goal
so it is not guaranteed to be the case in the future.

Its results are also sensitive to compiler versions and compiler
options (as with many fp number-crunching C apps).

ODE is also not deterministic if you use StepFast and then proceed
to non-deterministically use the libc random number functions from
your application, since StepFast uses the libc random number
generator (which maintains static global state).

--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3
"i18n ought to be abbreviated i2n to make it quicker to write!"-snout



More information about the ODE mailing list