View Full Version : Nurbs Surface texturing

02-26-2002, 03:19 PM
Didn't get a response on the other beginner board so gonna try this here.

I'm having trouble figuring out how to specify the u,v -> s,t points when texturing to a Nurbs Surface. My picture loads up, and if i use glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); i will get the texture repeatedly wrapped around on the surface. If I use GL_CLAMP instead, i get the picture, just centered on the surface. How do I specify the outer control points of the Nurbs surface so my texture will stretch across the entire surface? Thanks.

Rob The Bloke
02-27-2002, 05:00 PM
do a search on the forum.