[ODE] Record and Playback

DjArcas djarcas at hotmail.com
Wed Jan 28 09:00:59 MST 2004


> > FP precision/rounding modes - are these controlled via processor
> > instructions?  How/what do I do in this regard to ensure maximum
> > reproducibility?  Any info would be appreciated.
>
> Yup. It's the floating point control word bits, set with fldcw (get the
x86 Instruction Set Reference PDF from Intel -- it's about a 1000 page
download).
>
> Warning: calling some DLLs (including DirectX) will change the rounding
and precision bits from underneath you. Re-set the bits at the start of each
simulation step!

Doesn't creating your D3d device with D3DCREATE_FPU_PRESERVE do that for
you?


More information about the ODE mailing list