my programm works fine under Linux (around 40 im per second) and it’s fluid.
But under Windows, even if i have a better framerate, the render hangs many times in a second.
So we could see more than one car when accelerating or breaking.
Studying this, i think it’s a time problem.
why linux time is 1/1000000 second, otherwise windows time is 1/1000 second.
Does that may improper calculations, so the scene is not good ?
Another way is maybe the keyboard link.
What’s the problem ?
Nothing else is running than your OpenGL program, right?
I think that Linux does a better job with virtual memory than Windows and this could maybe explain it. Another explanation could be that more memory is available in Linux if you are running a more basic desktop.
Strange that you get a higher frame rate in Windows.
For now, i’m using glut. I don’t think it’s a driver problem.
And it’s difficult to say if it’s periodic or not. At the screen, it seems to have more than one car: when i accelerate, the car wants to accelerate more than something could do, so it’s misdrawn. But when the camera turn around the car which has speed equal to zero, there is no hangings,nor break at display.