doodlemunch
12-18-2006, 11:22 AM
Hello,
I've been trying to draw a curved line using opengl's glEvalCoord1f, etc.. But I cant get an output out of it.
I followed the "One-Dimensional Example: A Simple Bézier Curve" example in here:
http://www.rush3d.com/reference/opengl-redbook-1.1/chapter11.html
But no output as I said.
Where can I find a very simple example of drawing a curved line.. from point A to point B and the 2 respective control points?, because all I've found was about entire patches, nurb surfaces, etc... And what I need is the easiest and best way to draw a curved line given the 2 points and both controllers.
Thanks in advance.
I've been trying to draw a curved line using opengl's glEvalCoord1f, etc.. But I cant get an output out of it.
I followed the "One-Dimensional Example: A Simple Bézier Curve" example in here:
http://www.rush3d.com/reference/opengl-redbook-1.1/chapter11.html
But no output as I said.
Where can I find a very simple example of drawing a curved line.. from point A to point B and the 2 respective control points?, because all I've found was about entire patches, nurb surfaces, etc... And what I need is the easiest and best way to draw a curved line given the 2 points and both controllers.
Thanks in advance.