Hi all,
A while ago when I posted my Hovertank project, you may have noticed 'screen flicker.' I specifically remember Bubba suggesting that I clamp the framerate (V-Sync). I am not totally sure what the cause of this problem is.
I will describe it in better detail. Occasionally, while running the simulation, everything but the sky seems to 'disappear,' meaning that the renderer is not rendering everything else. This lasts for only a frame or so, and does not happen often. I am trying to reproduce the results to find out what, exactly, may be the cause of this problem.
As of yet I am still not sure if this happens at high or low framerates, or if the coordination between rendering physics and rendering graphics is having a problem. I am also instructing the system to sleep a certain amount as to yield processing cycles. I have tried disabling this feature, but I am having a lot of difficulty reproducing/predicting the problem (as stated, it does not happen consistently).
If any of you have any ideas as per what may be causing this, please let me know.
The project link I refer to may be downloaded from here.
ihatenature.thejefffiles.com/hover.zip
It would help me a lot if some of you could try varying the resolution to see when the screen flicker occurs. Thanks.