[PyOpenGL-Users] gluNurbsCurve error 100253
Brought to you by:
mcfletch
|
From: <2l...@2l...> - 2003-04-20 17:42:44
|
Hi, I'm trying to port one of mine program from Python 2.1 to Python 2.2
I use PyOpenGL-2.0.0.44 binary for Windows with a Nvidia TNT2 opengl driv=
er.
Everythings works well with Python2.1 on an other machine.
I use this function
gluNurbsCurve(nurb, crv.uknots, crv.cntrl, GL_MAP1_VERTEX_4)
where
crv.uknots=3D [ 0. 0. 0. 0.2 0.4 0.6 0.8 1. 1. 1. ]
crv.cntlr=3D
[[-5. 2.5 0. 1. ]
[-7.5 5. 0. 1. ]
[ 2.5 5. 0. 1. ]
[ 0. 0. 0. 1. ]
[-2.5 -5. 0. 1. ]
[ 7.5 -5. 0. 1. ]
[ 5. 2.5 0. 1. ]]
And that what i obtain :
Traceback (most recent call last):
File "GLCrv.py", line 99, in ?
main()
File "GLCrv.py", line 88, in main
gluNurbsCurve(nurb, crv.uknots, Numeric.transpose(crv.cntrl),=20
GL_MAP1_VERTEX
_4)
OpenGL.GLU.GLUerror: [Errno 100253] l'=DAtendue du n=A3ud valide est vide
I've already passed a couple of day on this problem which drive me crazy.
Thanks for any help.
S=E9bastien HEITZMANN
|