View Full Version : cylinder with a hole

thomas giusepe
11-09-2003, 03:08 AM
Someone there could send me a clue about rendering a cylinder with a hole on it? Thanks in advance.

11-09-2003, 01:16 PM
Hint: Cylindrical Coordinates.

BTW, this is hardly advanced.


11-09-2003, 10:43 PM
do you mean a tube?

11-10-2003, 01:56 AM

Of course the hole will be really big, but it's a start.

thomas giusepe
11-10-2003, 05:21 AM
I wanna draw a tube with a hole in its middle surface. Something like that:


where the "." represents the tiny/medium hole. To draw the tube open at each extreme I used an OGL quadratic cylinder. Now the point is, how to put a hole on its middle surface? Any clues!? Thnx in advance.

11-10-2003, 05:58 AM
Do you care about the exact boundary of the hole on the cylinder is?

Andrea Rossini
11-10-2003, 07:12 AM
I think you must make your own drawing function.
You should calculate intersection coords...
mmmh... hard to do, but if you will succeed you kick ass.... http://www.opengl.org/discussion_boards/ubb/biggrin.gif

11-10-2003, 10:54 PM
Originally posted by SirKnight:
BTW, this is hardly advanced.

Unless you have a vagina, thomas?