Texture mapping a NURBS surface

Hey guys,

Can anyone tell me how to texture map a NURBS surface? I know the basic steps for maaping a texture onto a polygon…but I think for NURBS since it has only control vertices, it is different. So how should I go about in mapping a texture on to a NURBS surface?




I have some code for texturing NURB extrusions and surfaces of revolution that I’m showing my students this week. Maybe it will help.