Getting Evaluated Coordinates


I am using glMap1f and glEvalCoord1f to generated a bezier curve. However, I would like it to be a pipe curve, for which I am using gle library.The gle routine requires a contour point-set (which is no problem) and a path points-set. How can I extract the points evaluated by the two mentioned commands, and store them in array for use as path coordinates, or is there any other method available to generates curved pipes in OpenGL.



I think the modern approach to this is to use transform feedback, which allows you to output geometry post vertex or geometry shader into a buffer for further processing or CPU access.