archtitecture with callback,
Members - Reputation: 113
Posted 06 December 2012 - 04:13 AM
I am working on an application to read in frames from a capture card and put them into a Pixel Buffer Object. I am pretty new to OpenGL.
How do it get it so that the screen updates when a new frame comes in and disable the glutDisplayFunc loop?
Members - Reputation: 1561
Posted 06 December 2012 - 04:37 PM
Otherwise, I think glfw is much better than GLUT. Especially as glfw allows you full control of the main loop.
Members - Reputation: 1077
Posted 09 December 2012 - 08:47 AM
GLUT and FreeGLUT are pretty old. I recommend GLFW as well (full disclosure: I've contributed to it in the past). It's a great windowing framework and gives you the primitives to build your own loop around.
Halfway down the trail to Hell...