Porting NURBS Objects

OpenGL treats NURBS as objects, similar to the way it treats quadrics: you create a NURBS object and then specify how it should be rendered. The following table lists the OpenGL GLU functions for managing NURBS objects.

OpenGL GLU Function Meaning
gluNewNurbsRenderer Create a new NURBS object.
gluDeleteNurbsRenderer Delete a NURBS object.
gluNurbsCallback Associate a callback with a NURBS object, for error handling.

When porting IRIS GL NURBS code to OpenGL, keep the following points in mind: