Ferenzzy
09-26-2005, 11:12 PM
Hi,
I am trying to synchronize computation and rendering. The computation is done by a thread which calls the display method directly to update the display. Unfortunately glFlush and glFinish do not work to achieve a continuous update of the scene. If I resize the window or do something else that causes glut to call the display method the update takes place even without glFlush or glFinish. display ends with a call to glutSwapBuffers.
Any suggestions? Thanks for your help!
I am trying to synchronize computation and rendering. The computation is done by a thread which calls the display method directly to update the display. Unfortunately glFlush and glFinish do not work to achieve a continuous update of the scene. If I resize the window or do something else that causes glut to call the display method the update takes place even without glFlush or glFinish. display ends with a call to glutSwapBuffers.
Any suggestions? Thanks for your help!