3D Object

Hi.

I want to make a 3D object that resembles a cylinder, but has spherical ends. (Since it will be partially transparent, a cylinder and two spheres is out). Is there a way to do this in GLUT or something else easily?

G