Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Cones into hour glasses

  1. #1
    Guest

    Cones into hour glasses

    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

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jan 2004
    Location
    Los Angeles, CA, USA
    Posts
    216

    Re: Cones into hour glasses

    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.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jun 2004
    Location
    mexico
    Posts
    127

    Re: Cones into hour glasses

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •