Is GLUT *really* the only way by which do double-buffering in
OpenGL and, so, if I don't uaw se it. will my animations "flash"?
Is there, for that matter, another way to do double-buffering
that avoids GLUT?
Is GLUT *really* the only way by which do double-buffering
in OpenGL
Is GLUT *really* the only way by which do double-buffering in
OpenGL and, so, if I don't uaw se it. will my animations "flash"?
Is there, for that matter, another way to do double-buffering
that avoids GLUT?
Russell
Is GLUT *really* the only way by which do double-buffering in OpenGL
since you didn't even bother to state operating system
you are working on.
Is GLUT *really* the only way by which do double-buffering in
OpenGL and, so, if I don't uaw se it. will my animations "flash"?
Is there, for that matter, another way to do double-buffering
that avoids GLUT?
If we neglect the quite offensive tone of your message, you are probably asking wrong question. For example, on windows the most common
flickering problem beginners are facing is connected to wrong handling
of window background erasure (WM_ERASEBKGRND message). But in this
particular case, this is purely speculation, since you didn't even
bother to state operating system you are working on.
Look at, in a basic non-GLUT OpenGL initialisation, where the PIXELFORMATDESCRIPTOR structure is initialized. The "dwFlags" field
can,
and mostly does, include PFD_DOUBLEBUFFER.
You migh take a look at the following tutorial, which describes a
creating a
working OpenGL environment (I think I took the above info from there) http://nehe.gamedev.net/tutorial/creating_an_opengl_window_win32/13001/
RThanks for that response: trouble is, I don't have a Windows
compiler, so it's going to be difficult to run such a Win32-
heavy solution as that which you describe: I suppose I really
need to re-phrase my question to ask if there's an reasonably
OS-agnostic way to do double-buffering in OpenGL?
I suppose I really need to re-phrase my question to
ask if there's an reasonably OS-agnostic way to do double-buffering in OpenGL?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 74:57:34 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,636 |
Posted today: | 1 |