PDA

View Full Version : Cones into hour glasses



11-16-2004, 01:52 PM
Hi all.

I want to draw a type of hour glass and thought the best way to do it would be to draw two cones joined at the tip. How can i draw this? I dont suppose there is an easy way to draw a cone is there? If not then i guess id have to draw a circls and then 2 lines crossing over connected to another circle at the bottom :S Whats the best way to do this? Also, how can i draw circles? Thanks

endash
11-16-2004, 03:24 PM
gluCylinder() is the function you want to use to draw a cond. But by your phrasing, I'd guess you'd want to check out some tutotrials before getting into building an application.

zukko
11-16-2004, 03:41 PM
draw a cilynder using gluCylinder(), rotate 180 degrees, draw the other cylinder. to draw a circle look at a previus post i put some code in there