Re: [PyOpenGL-Users] Rectangle textures on Mac OS X
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2004-10-19 05:46:52
|
Daniel Heckenberg wrote: ... > I've noticed that there doesn't seem to be support for > GL_EXT_rectangle_texture in PyOpenGL at the moment. I'm sure that it > would be straightforward to add this somehow... it's just an > additional target enum after all. Is there a mechanism for checking > for arbitrary extensions, or would it be easy to add this extension to > those included in the OpenGL.GL.EXT module? Where are you reading about this extension? AFAICT it doesn't show up in the extension registry http://oss.sgi.com/projects/ogl-sample/registry/index.html or in my copy of glext.h (downloaded today). I see this: http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_rectangle.txt which I *assume* is what you want, and also these: http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_rectangle.txt http://oss.sgi.com/projects/ogl-sample/registry/NV/render_texture_rectangle.txt I've just checked in a module providing the ARB extension. Should show up in the next PyOpenGL release (which, if I ever get the time, should be showing up any day now). BTW, list-peoples, if you have simple extensions like this that you need wrapped, you can do the wrapping yourself and submit the module to me. It's basically all just boilerplate with the particular defines involved tacked onto the end of the file. Functions/methods get a little more involved what with the need to support dynamic loading, but simple constants-only extensions are trivial to implement. I tend not to wrap anything I can't test, so (given the rather outdated hardware I'm running) there's not much movement on the extensions these days unless people want to work on it themselves. Have fun, Mike ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |