gluNewNurbsRenderer

create a NURBS object

Signature

gluNewNurbsRenderer( )-> GLUnurbs*
gluNewNurbsRenderer( ) -> <class 'OpenGL.GLU.glunurbs.LP_GLUnurbs'>
Return a new nurbs renderer for the system (dereferences pointer)

Description

gluNewNurbsRenderer creates and returns a pointer to a new NURBS object. This object must be referred to when calling NURBS rendering and control functions. A return value of 0 means that there is not enough memory to allocate the object.

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gluNewNurbsRenderer
OpenGLContext OpenGLContext/scenegraph/nurbs.py Lines: 111, 259
OpenGLContext tests/redbook_surface.py Lines: 92
OpenGLContext tests/redbook_trim.py Lines: 132
OpenGLContext tests/redbook_surface_cb.py Lines: 121
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 183
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 66