Results 1 to 4 of 4

Thread: Code for a "Ring" in GLUT

  1. #1
    Guest

    Code for a "Ring" in GLUT

    Does anyone knows where can I get a code for a "Ring" or something like that in GLUT?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Code for a "Ring" in GLUT

    There is glutWireTorus or gluDisk....


    Originally posted by yy:
    Does anyone knows where can I get a code for a "Ring" or something like that in GLUT?

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Stockholm
    Posts
    5

    Re: Code for a "Ring" in GLUT

    Originally posted by yy:
    Does anyone knows where can I get a code for a "Ring" or something like that in GLUT?
    In GLUT you have glutSolidTorus and glutWireTorus. Download the documentation for glut 3.0. You find it here http://www.opengl.org/developers/doc...ion/glut.html.

    Happy Hacking.
    Don't forget to eat and sleep.
    Cowboy
    Happy hacking.
    Don't forget to eat and sleep.

  4. #4
    Member Newbie
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    35

    Re: Code for a "Ring" in GLUT

    In the chapter that is about display lists of the Red Book you will find some code that yields the vertex coordinates for arbitrary detail settings using Quads.

Similar Threads

  1. Looking for guidance on where to research drawing a 2d ring.
    By yonnis in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-22-2018, 01:16 AM
  2. Lighting ring artifact!
    By HanWu in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-15-2017, 07:12 PM
  3. Planet ring
    By Lobosque in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-26-2011, 06:55 PM
  4. converting glut code to plain windows ogl code
    By TheLastMohican in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-10-2003, 09:50 AM
  5. Does anyone use opengl to do ring screen?
    By hedgehog70 in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-03-2003, 06:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean