Re: [PyOpenGL-Users] Is glMap1f() broken or am I?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2004-04-09 17:15:15
|
This is a known bug that has been fixed in CVS. See thread in pyopengl-users from around March 12th or so titled "problems with glMap1f in pyopengl2". Building from the 2.0.1 CVS maintenance branch should solve the problem. Good luck, Mike Rich Drewes wrote: >The 2D (surface) NURBS demos seem to work OK, but when I try to code a >simple line BSPLINE based on C demos I've found, this section of code: > >ctrlpoints=[[-4.0, -4.0, 0.0], [-2.0, 4.0, 0.0], [2.0, -4.0, 0.0], [4.0, 4.0, 0.0]] >glMap1f(GL_MAP1_VERTEX_3, 0.0, 1.0, ctrlpoints) # no stride or order in pygl > > > ... >Searching the archive, I notice somebody asked about getting a BSPLINE >type line working a while back. The answer he got was that the 2D demos >work . . . true enough, but maybe there is something else going on. > > ... _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |