how to draw a tube with only OpenGL APIs

I want to draw tube with depth, that mean there are inner circle and outer circle, they have different radius. I try to use gluCylinder(),but it doesn’t afford depth parameter, any way can do that? thanks

Try using 2 cylinders, one with a slightly greater radius but with same position.

I have tried that before, but it was not what I want, have you used 3ds Max, how do it draw?

The look for some code for loading a 3Ds object.

I google search should give you a bunch of hits on it.

Originally posted by victorswan:
I have tried that before, but it was not what I want, have you used 3ds Max, how do it draw?

The look for some code for loading a 3Ds object.

I google search should give you a bunch of hits on it.

Originally posted by victorswan:
I have tried that before, but it was not what I want, have you used 3ds Max, how do it draw?

Or write your own code to draw the tube. Best way to get exactly what you want.