Re: [PyOpenGL-Users] offscreen rendering problem with glInitFramebufferObjectEXT
Brought to you by:
mcfletch
From: Dan H. <Dan...@no...> - 2010-01-21 21:28:48
|
Revaz Yves wrote: > Dear List, > > I would like to use off-screen rendering with PyOpenGL. > According to the few informations I found on the web, one method is > to use a FrameBufferObject. > > Unfortunately, when initializing a new FrameBuffer : > > from OpenGL.GL.EXT.framebuffer_object import * > glInitFramebufferObjectEXT() > > I get : [error snipped] Have you tried initializing PyOpenGL first? When I try running those two lines of code on a machine that I know has the frame buffer object extension, without initial PyOpenGL first, I get the same error message. In general, I would recommend using the frame buffer object extension for off-screen rendering. There are older techniques like p-buffers, but they're more difficult to use. One downside of frame buffer objects is that some older/cheaper graphics chipset drivers do not support them. Dan |