Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Matthias Baas <baas@ir...> - 2006-07-07 08:47:16
|
Ricardo Kirkner wrote: > errors, I am not quite sure how to avoid this kind of behavior. It > basically has to do with the computers speed. On my machine (which is > the slower of all I have tested), the simulation works more or less as > I expect (probably because I am developing on my machine, and > therefore tune the simulation to fit it). On other machines (which are > faster), the simulation behaves rather oddly, by my robot making > jumps, or spinning at great speed (which I have never seen done on my > machine). I believe this has to do with the simulation state getting > updated quickier and therefore more often, and thus building momentum > (which on my computer is not happening because due to the lower speed, > the forces applied get enough time to settle down). Have you modified something in cgkit that manipulates the time step that is passed to ODE? If not, then different CPU speeds shouldn't matter. The time step that is passed to ODE isn't based on the real time that has passed, it is only based on the framerate you have requested. So a faster CPU should just provide the simulation results faster than the slower CPU but the results shouldn't differ. What CPUs do your computers have? Maybe one is an Intel and the other an AMD which might already be the cause for your problem. Is there some DirectX code involved on one machine? (Direct3D changes the FPU state) Maybe you can set up a simple scene (probably just a box falling on a plane) that prints the position/orientation values for a couple of frames so that you can compare when they start to diverge...? - Matthias - |