View Full Version : bending pipe

06-06-2002, 03:54 PM
Is there anyone know how to draw a bending pipe? It is like a cylinder pipe forming an arc shape, or like a partial donut. Thanks.

06-06-2002, 10:28 PM
Hi !

This is not very easy to do with just OpenGL, even though you could create a torus and add two clipping planes to do it.

You need some extra code to do that in an easy way, maybe something like GLE could help you:


06-25-2002, 06:31 AM

I have just started looking at openGl. I thought I might also like to draw some pipes (kinda like the windows screensaver).
If you are still interested I have created a drawer of donuts (as well as partial donuts)It still needs some work and is probably slow because I have just made it out of triangle strips. If you want a look I will try and remember to post the code at home.
I do however have an artifact at the join which I don't understand.