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
myself):

   * 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
     context)
   * FBOs (have to confirm that these don't require a visible primary
     context)

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.-

--
Alejandro Segovia Azapian
Director Algorithmia
http://web.algorithmia.net



--
________________________________________________
 Mike C. Fletcher
 Designer, VR Plumber, Coder
 http://www.vrplumber.com
 http://blog.vrplumber.com


------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
PyOpenGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyopengl-users