Re: [PyOpenGL-Users] offscreen rendering problem with glInitFramebufferObjectEXT
Brought to you by:
mcfletch
From: Dan H. <Dan...@no...> - 2010-01-21 21:50:38
|
Revaz Yves wrote: > ok, fine ! now it works, after a > > glutInitDisplayMode > > which initialize OpenGL. > But how can I initialize OpenGL without creating a window ? > >> In general, I would recommend using the frame buffer object extension >> for off-screen rendering. > ok, so I'm on the right way. > Any example will be welcome... The only time I've used the FBO extension is when I've got an OpenGL window open, e.g. for rendering a separate pick buffer so I can tell what the user clicks on. I don't know of a way to initialize GL without a window, although it's certainly possible to initialize GL without using GLUT. You can use wxPython's GLCanvas, for instance. But even GLCanvas expects a parent window. Dan |