Texture mapping NURBS

Hey guys,

I would like to know how to map a texture onto a NURBS surface. I know how to map a texture to a polygon/s…but NURBS is different…since it has thense control points and all.So could you suggest me how I shoudl go about it and any resources on the net with sample codes?

Thanx

Yours
Siddharth

Are you using the whole gl elevators API or are you approximating your NURBS surface with triangles, then trying to texture it?