Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: How to generate NURBS surfaces

  1. #1
    Intern Contributor
    Join Date
    Jun 2011
    Posts
    89

    Unhappy How to generate NURBS surfaces

    The red book introduces the evaluators to draw NURBS surfaces before OpenGL 3.1, however, the evaluators have been removed from OpenGL since version 3.1, how to draw NURBS surfaces then?

  2. #2
    Intern Contributor
    Join Date
    Jun 2011
    Posts
    89
    Can I model the NURBS surfaces in a 3rd-party software, export out as data sets and then rendered using OpenGL?

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,095
    Yes, so long as the exported data is in some form of triangles. It is also possible to render some NURBs directly using patches

  4. #4
    Newbie Newbie
    Join Date
    Dec 2012
    Posts
    2
    Hi,
    I am gonna revive this thread.

    is there a way to use nurbs (doesn't even need to be efficiently) with shaders?
    I'm fairly proficient using GLSL and OpenGL v > 2.1. Now I just want to display a few nurbs surfaces. So
    a) Is there a (rather simple) way to retrieve a polygon mesh from those Nurbs-surfaces?
    b) Is there a way to use shaders in older versions that allow the use of gluNurbsObjects?

    Believe me I tried looking for a solution on my own.

    Thanks,
    Heins

  5. #5
    Junior Member Newbie
    Join Date
    Dec 2012
    Posts
    11
    Whilst I am not really able to answer You myself, this tutorial might be of some help:
    http://en.wikibooks.org/wiki/OpenGL_...GL_Tutorial_07

    There is also this, found a couple of seconds after, here:
    http://www.google.com/url?sa=t&rct=j...FQ7I_ZjrFv4jvg

    Sorry, for the hidious link, but I don't know how else can I post it, to be Eye-Friendly.

    Are you guys not looking at the OpenGL wiki ? : )

  6. #6
    Newbie Newbie
    Join Date
    Dec 2012
    Posts
    2
    The first link is exactly what I was looking for. (At first glance, I will try it out tomorrow)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •