Re: [PyOpenGL-Users] glGenBuffers on Windows XP and Intel 82855
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-03-05 14:03:49
|
Ontje Lünsdorf wrote: > Hi, > > I'm trying to use vertex buffer object on a laptop with an intel 82855 graphic > chipset. GL_EXTENSIONS contains GL_ARB_vertex_buffer_object and GLView reports > that the glGenBuffers function should be available. > If I try to call the function PyOpenGL will raise the a NullFunctionError. > However if I don't specify the buffer count PyOpenGL will complain about a > missing argument for that function. > The same code runs without any problems on a machine with a nvidia card. > > Is this a PyOpenGL, driver bug or am I missing something? > Are you calling glGenBuffersARB, or glGenBuffers ? Your driver likely only provides the extension-based entry point (the one with the ARB suffix). See the OpenGL/arrays/vbo.py module for some code showing use of the "alternate" function to make using promoted extensions easier. Oh, it also provides a basic VBO wrapper as an array data-type. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |