Re: [PyOpenGL-Users] GLUError and gluNurbsCurve
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-04-04 00:34:17
|
Ivo Ugrina wrote: > Hi, > > I'm trying to port my code from 2.x to 3.0 > and everything seems to work except > gluNurbsCurve. > > The problem is that in 2.x pyopengl > gluNurbsCurve would raise GLUError exception > when arguments were bad, but in 3.0 it doesn't > raise any exceptions ( at least I see it that way). > > I would appreciate any help, > Can you give me some details as to what you mean by "bad arguments"? Do you mean values that are logically inconsistent (don't match the mathematics)? Or wrong enumerants/invalid options? I wouldn't be surprised if there was less checking in the current code, just not sure what particular checks the old code was doing. Good luck, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |