Im working on a playback algorithm for playback of 2d graphics using opengl. we are not using glut but missing the excellent function of glutPostRedisplay. so whats in it? and what does it work like?
first we tried with a simple while statement but thats no enough, it blocks the whole application.
Suggestions are welcome!
Send a WM_DRAW message to your window and process it in your window callback function (by drawing and swapping buffers, of course).
Or use some custom message, it really doesn't matter.
This of course requires some working knowledge of Win32 (or X or whatever), but if you don't want to use GLUT, you should already be there ...