I draw circle using OpenGL in MFC. it was in 2d only .I want to draw 3d. ho i do.? and also i overlay that circle and Font like (0,30,60,..) in an image. here it was shown in ovelaying circle and Font an image .But font didn't overlaying some Pc.
plz consider my problem.
reply as soon as possible.
thanks in advance
following is an circle coding in 2d
#define GL_PI 3.141592654
#define GL_PI_2 GL_PI * 2
float fRadius = m_fControlRadius / 2 ;
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST) ;
for (float pheta = 0.0f; pheta - GL_PI_2 < .001; pheta +=fAngleIncr)
float x = fRadius * cos (pheta) ;
float y = fRadius * sin (pheta) ;
glEnd () ;