Michael Dove wrote:
> Hi,
> just wonder if GlColorTable has been implemented?
> I'm running Version: 2.0.1.07.
>
> OpenGL.GL.glColorTable
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'glColorTable'
Not sure why, but it's commented out in the current code-base. The
glColorTableEXT functions are there:
>>> from OpenGL.GL.EXT import color_table
>>> help(color_table.glGetColorTableEXT)
though I have no testing code to ensure that they really work as
implemented.
There's actually a lot of this in the code-base, functions that exist in
an OpenGL version and also in an extension (or two). Would be nice to
abstract that away some time so that the code isn't getting duplicated
everywhere.
HTH a little,
Mike
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
|