On Fri, Mar 26, 2010 at 3:24 PM, Mike C. Fletcher <mcfletch@vrplumber.com> wrote:
> Is there another way to achieve off screen hardware accelerated
> rendering with OpenGL?
IIRC these are the currently-available methods for off-screen rendering
(note, some may require a primary context, I don't do headless rendering

   * Pixel Buffers (pbuffers)
   * Win32 has render-to-device-independent bitmaps and GLX has
     render-to-GLX-pixmaps (likely OSX has something similar)
   * Aux buffers (have to confirm they don't require a visible primary
   * FBOs (have to confirm that these don't require a visible primary

I remember I used to do offscreen rendering (without having to open a window) using Qt 4.3 from C++. What I would do was to create a PixelBuffer instance (iirc) and set that as the current context.

Once set up, I would create the QApplication and have it loop forever, with a timer going off every few seconds, calling the rendering code.

Hope this helps.


Alejandro Segovia Azapian
Director Algorithmia

 Mike C. Fletcher
 Designer, VR Plumber, Coder

Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
PyOpenGL Homepage
PyOpenGL-Users mailing list