View Full Version : Drawing Cirlce with OpenGL without using GLUT

kashif saeed
11-16-2003, 09:47 PM
hello everyone
i am a beginner and want to know how to draw a circle in openGl without using glut.i am making my application in Visual C++ Win32 API.
what OpenGL API i have to use . like for line we have glLine , glpoint etc. From which APi i can draw circle.
your help will be greatful

11-18-2003, 02:35 PM
I believe that you're going to want to use the gluDisk command. If you're not familiar with GLUquadricObj's you're going to want to read up on those as well as they are the framework for the Disk.

11-19-2003, 12:01 AM
do draw a non filled circle, use many lines, to draw a filled circle start with the centerpoint, then draw the points in the circle, and all this by using GL_TRIANGLE_FAN