Results 1 to 2 of 2

Thread: problem with gluDisk

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2002
    Posts
    6

    problem with gluDisk

    Hi everyone. Try this bit of code and tell me if you can figure out how to get rid of that little radial "spoke" in the disk. Its really annoying me!!
    Thanks, Tim

    GLUquadric* cap = gluNewQuadric();

    glBegin(GL_LINE_LOOP);
    gluDisk( cap,
    0.0,
    10.0,
    10,
    1
    );
    glEnd();

  2. #2
    Member Contributor
    Join Date
    Jan 2002
    Posts
    96

    Re: problem with gluDisk

    It must be the line loop part of the code, I had the same trouble doing a circle without using quadrics. Try changing it to GL_LINE_STRIP or try not using a quadric, and plot it with polar coordinates.

Similar Threads

  1. gluDisk bug?
    By alexxi in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-14-2016, 08:39 PM
  2. gluDisk Texture mapping problem
    By Tensaijin in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-13-2006, 01:55 PM
  3. Question about gluDisk
    By anuchka in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-22-2004, 06:06 AM
  4. gludisk with circles
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-29-2004, 08:12 AM
  5. radius of gluSphere/gluDisk
    By shosking in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 09-04-2002, 11:11 PM

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