Archived

This topic is now archived and is closed to further replies.

glJunkie

problem with gluDisk

Recommended Posts

glJunkie    122
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();

Share this post


Link to post
Share on other sites
vincoof    514
Have you tried that :

gluDisk( cap,
0.0001,
10.0,
10,
1
);

That may not be exactly what you want, but if the object is small on screen you may accept that.

Share this post


Link to post
Share on other sites
glJunkie    122
Thanks for that - No it didnt work - but this worked:

GLUquadric* cap = gluNewQuadric();
gluDisk( cap,
10.0,
10.0,
10,
1
);

Thanks anyway vincoof.
Tim.


Share this post


Link to post
Share on other sites