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?

thanx

yors

Siddahrth

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

http://www-1g.cs.luc.edu/~gm/comp53480/week13/