speed up the update of glutidle()

Posted by CroCo on Game Development See other posts from Game Development or by CroCo
Published on 2014-08-18T23:07:34Z Indexed on 2014/08/19 4:33 UTC
Read the original article Hit count: 141

Filed under:
|
|

I have a client that sends data at 1KHz (i.e. 0.001 sec) to a master over Internet using UDP protocol. In Master, I need to draw an object, but the problem is that the update of GLUT is slower than the client's update. I have tried to use glutTimerFunc(0,glutIdle, 0); but still slow. Is there a way to speed up the update rate of drawing? I need to update Display() every 0.001 sec. Any suggestions? I'm using windows 7.

© Game Development or respective owner

Related posts about c++

Related posts about frame-rate