I’m working on an openGL program for a beginner level graphics course that I’m taking in university. And our program is to create a robot that swings it’s arms in 360 degrees…and the structure should be built using a kinetic tree (haven’t gotten there yet)
But what my question is…how do i draw a cirle in openGL?
if anyone can help me with this it will be greately appreciated. thanks in advance
Or you could load a circle graphic and texture it onto a quad.
I’m guessing you’re after a 2D, side-projection, wireframe model of a robot with, say, a two jointed arm? In which case you’ll want to use the line loop to draw the arms and joints, calling glRotatef to angle the arm at each joint.