Help. Curve Cylinder

Hi,
I need to do and cylinder, but in wich his end will be curve. I do this

http://www.dcc.uchile.cl/~mvega/curvo1.png
http://www.dcc.uchile.cl/~mvega/curvo2.png

with many short cylinders, but it do too slow the program.

Somebody know a better solution in jogl?.

A lot of thanks.

Hi,
If I were I would try to create a mesh of quad representing your “tube” and put it into a vertex array, or a VBO, to improve performance.
Hope it can give you some starting point.