-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-02-08 20:23, Ricardo Ruiz wrote: > Thanks. > > Just one question, OSG renders at the maximun amount of FPS it can, > but ODE requires a fixed time step. How do you solve this problem? > Thanks a lot.
Easy, you measure the elapsed time between the frames and execute as many fixed steps as needed to fit inbetween the two frames. I believe that ODE even provides a convenience method for it. Of course, that assumes that the fixed step is small - which is what you want anyway for stability and accuracy. Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLcq92n11XseNj94gRAvX6AKC0Mut5cgm61FkXd4hd+wTVi/EjjACfepn+ UXGzcJiBRzsKdCQ7VyPra30= =tdzi -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

