P.S: I used gluCylinder and gluDisk to create pipes. I think i have to use glTranslate or glRotate but i can't figure out how to create the curve

Morglum

04-04-2002, 06:49 AM

Personnally I'd compute the vertices's location manually (using cos and sin). This shouldn't be too hard... In any case it'll be much easier and much more efficient than drawing many glucylinders (also because you'll have the possibility to use vertex arrays).