[ODE] Is a variable frame rate possible?

Nguyen Binh ngbinh at gmail.com
Mon Dec 5 13:46:59 MST 2005


What frame rate would you like to make variable?
If it's the actual physics time step then I have 2 anwsers:
+ Yes, technically you can, read the doc for how to change the time step.
+ No, you shouldn't do that.A fixed time step is quite crucial for a stable
ODE's app.
If what you want is just a variable FPS (graphics-related) the the answer is
definitely YES.
In this case you can have physics running at fixed rate of say 200Hz and
graphics varies from 40Hz-100Hz. So in order to sync graphics with physics,
in each graphics step need to run a number of fixed step size physics steps.

On 12/5/05, John <john at blippygames.com> wrote:
>
> Is there any way, hack or otherwise, to have a variable frame rate with
> ODE?
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



--
--------------------------------------------------
Binh Nguyen
Computer Science Department
Rensselaer Polytechnic Institute
Troy, NY, 12180
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20051205/f4e2cf0e/attachment.htm


More information about the ODE mailing list