GLU NURBS precision
Hugo Gagnon <[email protected]> Fri, 26 Oct 2012 10:21:54 -0400
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <1351261314.8437.140661145778473.74DEBA90@webmail.messagingengine.com> |
Hello, I'm writing an application that uses GLU's NURBS capabilities. I'm passing double-precision numpy arrays to gluNurbsCurve and gluNurbsSurface, which works fine, only that PyOpenGL seems to automatically convert them to single-precision, which slows down my app. Does this conversion have to do with PyOpenGL or is it an OpenGL limitation? Is there any way around it? other than having to keep track of two arrays of different types around... Thanks! Hugo ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net