Mortennobel
Mortennobel

Reputation: 3481

NURBS surfaces in OpenGL 3.2 core profile

Is it possible to draw NURBS (Non-uniform rational B-spline) surfaces in OpenGL 3.2 core profile?

I assume that the NURBS rendering using GLU library does not support the core profile.

Is there any open source libraries that implement the same functionality as GLU?

Upvotes: 0

Views: 1032

Answers (1)

radical7
radical7

Reputation: 9114

Using GLU with core profiles from OpenGL 3.1 onwards, won't really work. GLU is layered on top of a many deprecated OpenGL functions, and your application most likely won't either link or work correctly.

As for NURBS implementation in GLU, the source code is available in the open source from SGI at http://oss.sgi.com/projects/ogl-sample/. You could probably fix the library to use more modern OpenGL methods.

Also more details are given in this post.

Upvotes: 1

Related Questions