Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top