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 2 of 2

Thread: Creating tube using path--Rendering hermite spline

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2010
    Posts
    4

    Creating tube using path--Rendering hermite spline

    Hi All,

    I'm trying to render a hermite spline curve by creating cubes using GL_QUADS. However, I'm having problems getting results anywhere near correct.

    I'm guessing i need to create a series of quads from the path created by the hermite spline. Does anyone have any example code or can assist in creating a tube by following a path?

  2. #2
    Junior Member Regular Contributor tksuoran's Avatar
    Join Date
    Mar 2008
    Location
    United Kingdom
    Posts
    200

    Re: Creating tube using path--Rendering hermite spline

    See the *tube.cs here:

    http://neure.ath.cx/curve.html

Posting Permissions

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