From: Michael Dove <datasync@op...> - 2004-02-28 09:56:15
just wonder if GlColorTable has been implemented?
I'm running Version: 2.0.1.07.
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'glColorTable'
give me NameErrors.
Where are they? (I'm using opengl 2.0)
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
From: Mike C. Fletcher <mcfletch@ro...> - 2004-02-28 10:32:16
Michael Dove wrote:
> just wonder if GlColorTable has been implemented?
> I'm running Version: 2.0.1.07.
> 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
though I have no testing code to ensure that they really work as
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
HTH a little,
Mike C. Fletcher
Designer, VR Plumber, Coder
Get latest updates about Open Source Projects, Conferences and News.