Re: [cgkit-user] moving a static object?
Brought to you by:
mbaas
From: Ricardo K. <ric...@gm...> - 2006-07-07 14:50:49
|
Thank you for your answer, Matthias. Actually yes, my computer is an AMD Athlon Thunderbird 800Mhz, and the other computers I tried where Intel (or at least I think so). One of the other machines had windows, and although I have done nothing explicitely with DirectX (I actually haven't written a line of code regarding rendering, I leave all that to the viewer tool :-)), maybe in the windows machine, it falls back to DirectX when it cannot work with OpenGL? What is the matter between Intel and AMD with ode/cgkit? Again, thanks for the help ricardo On 7/7/06, Matthias Baas <ba...@ir...> wrote: > 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 - > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > cgkit-user mailing list > cgk...@li... > https://lists.sourceforge.net/lists/listinfo/cgkit-user > |