NURBS surface with texture

Rob Agar <[email protected]> Thu, 26 Jun 2014 13:10:33 +0100
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi all

Does the GLU.NURBS module support texture mapping?

I'm playing around with code based on the sample at 
https://github.com/haskell-opengl/GLUT/blob/master/examples/RedBook4/Surface.hs 
trying to draw a textured surface. As I understand it, I need to call 
nurbsSurface again to create a texture coordinate surface as well as the 
vertex one, but I can't see how to tell it which type to make.

Or have I misunderstood the way NURBS surfaces are created?  The docs at 
http://www.opengl.org/sdk/docs/man2/xhtml/gluNurbsSurface.xml are fairly 
sketchy :\

cheers
Rob