stil
03-31-2001, 05:48 AM
Hi, i'm playing with nurbs surfaces using (glu functions) and facing two problems :
1. I haven't found any example of how to texture it (it works well without textures), i'd really appreciate one, because glu always send me error messages when i'm calling gluNurbsSurface (..., GL_MAP2_TEXTURE_COORD_2); - in fact i just don't know what parameters to give, knots, control vertices...
2. When exporting nurbs from 3ds Max, it works well with 4x4 surfaces (8 & 8knots), but when it comes to larger surfaces, max doesn't give me enough knots for glu, for example 10 and 10 knots on a 6x6 surface, whereas glu requires 12. I tried to 'complete' the missing knots, but what i tried didn't really worked http://www.opengl.org/discussion_boards/ubb/wink.gif
I searched a lot over the web, but couldn't find anything, so you're my only hope http://www.opengl.org/discussion_boards/ubb/biggrin.gif
Thanks a lot.
1. I haven't found any example of how to texture it (it works well without textures), i'd really appreciate one, because glu always send me error messages when i'm calling gluNurbsSurface (..., GL_MAP2_TEXTURE_COORD_2); - in fact i just don't know what parameters to give, knots, control vertices...
2. When exporting nurbs from 3ds Max, it works well with 4x4 surfaces (8 & 8knots), but when it comes to larger surfaces, max doesn't give me enough knots for glu, for example 10 and 10 knots on a 6x6 surface, whereas glu requires 12. I tried to 'complete' the missing knots, but what i tried didn't really worked http://www.opengl.org/discussion_boards/ubb/wink.gif
I searched a lot over the web, but couldn't find anything, so you're my only hope http://www.opengl.org/discussion_boards/ubb/biggrin.gif
Thanks a lot.