Can I use OpenGL without specifying a window
I want to write a video transition program using OpenGL,and there is no need a window to show the image rendered by OpenGL,so is it possible to initializing a OpenGL working environment without specifying a window?If it is,how to implement it?
this is just a shot in the dark as i''m not sure 100% how you set these up, but try looking into a pbuffer as these are offscreen buffers.
I dunno if you need to have an active context to make one however.
I dunno if you need to have an active context to make one however.
Take a look at the dwFlags fields in the PIXELFORMATDESCRIPTOR structure (more specifically, the PFD_DRAW_TO_BITMAP bit flag).
theNestruo
Syntax error in 2410
Ok
theNestruo
Syntax error in 2410
Ok
Yes, you need a window if you want hardware accelerated OpenGL. You can create a window and then just not display it on the screen and just use pbuffers for all your rendering.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement