B spline with openGL.

hello,

I would like to display a cylinder in openGL. In order to do that, I would like to use the b-spline. 16 Control points(4 in U and 4 in V). The shape will be a square in U and a line in V. My first question is the following:
How can I display the “cube” created by the 16 control points using GL_LINE_STRIP?
I am also looking for a tutorial about B-spline and openGL.

Thank you for any help you can give!!!

Hi,

search on the board, can’t remember whether it was advanced or basic, for my nick. Somewhere you will find a link to a guys’ homepage it’s something with astrology and Bourke in it.

Good look, otherwise contact me

Martin

Originally posted by mphanke:
[b]Hi,

search on the board, can’t remember whether it was advanced or basic, for my nick. Somewhere you will find a link to a guys’ homepage it’s something with astrology and Bourke in it.

Good look, otherwise contact me

Martin[/b]

You mean Paul Bourke, from the Department of Astrophysics at Swinburne Uni.?
http://astronomy.swin.edu.au/~pbourke/

His page is very useful!