PDA

View Full Version : can you tell me how to use gluNurbsSurface()



cilinda520
10-03-2005, 10:41 PM
In my project I use gluNurbsSurface() to draw NURBS surface. The control points of surface are from a data file. The dimension of Control points array is not fixed. How do I draw this NURBS surface?

Hlz
10-04-2005, 05:51 PM
There's a lot of room for interpretation here. I'm afraid that glu is not likely to be a fast, generic solution for your NURBS stuff. Probably be better off generating your geometry through your own subdivision algorithm, dynamically. Without more info on the overall goal and constraints it's hard to guess, but at the very least it sounds like you'll need some sort of adaptive strategy.

P.S. Please don't cross post.