[ODE] ODE behaving differently for different renderers

Jon Watte (ODE) hplus-ode at mindcontrol.org
Thu Feb 22 10:12:27 MST 2007


Note that DirectX will change the floating point flags of the FPU. You 
should use _control87 or something similar to make sure you set the 
precision and rounding mode you expect.

Cheers,

          / h+


PKS123 wrote:
> Hi
>
> I re-created the whole thing from scratch.
> But I ensured that the order in which the things are done, and the values of
> the various parameters remain unchanged. So, its essentially using the same
> code with a different renderer.
>
> You are right in saying that the problem may be due to use of DirectX as
> opposed to OpenGL used in the test_buggy demo. I am using Gamebryo 1.2 which
> is an API built over DirectX.
>
> Could you let me know what you may suspect to be the problem in case of
> using DirectX. As far as I understand, as long as the Physics worlds are
> identical, the rendered worlds should behave the same way. And that what
> baffles me.
>
> Thanks and Regards
> Prashant
>   


More information about the ODE mailing list