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
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.
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