If I generate the texture with size 512x512
I can map it to the NURBS surface but if the
size of the texture is not ^2 and I try to use gluScaleImage to scale it (as above),
it seems that the texture is getting damaged.

Please send me an e-mail if you know what is
wrong with my code. I really need help as soon as possible.