[PyOpenGL-Users] problems with glMap1f in pyopengl2
Brought to you by:
mcfletch
|
From: Ralph G. <ral...@em...> - 2004-03-12 09:26:25
|
Hi,
I recently started using pyopengl. So far I have written my program in
Debian which uses the old pyopengl 1.5.7.
I uses the function glMap1f to draw some simple Bezier curves. In the
old pyopengl 1.5.7 it works just fine, but in the new version 2.0.1.07
which I installed on my apple, I can't get it to work.
Yes I know, the number of arguments has changed from 6 to 4 and I
already removed the two extra arguments order and stride, but it still
does not work. I always get an error
glMap1f(GL_MAP1_VERTEX_3, 0.0, 1.0, curve)
OpenGL.GL.GLerror: [Errno 1281] invalid value
I have no clue as to which value pyopengl thinks to be invalid.
Could someone please tell me what I am missing?
Thanks a lot
Ralph
|