I am just about to embark on using NURB surfaces in my OPENGL software. Up to now I have been using facets to define surfaces. One question is how do I go about rendering NURB surfaces. Do I have to write a code to break the surfaces into small triangular facets and then rendering those. Hope I do not have to do that.

mikael_aronsson

04-02-2005, 10:30 PM

Hi !

GLU has a support for nurb tesselation, it will generate all the triangles for you and you can put those in a displaylist to keep them for future rendering to speed things up a little.