how to draw surface with axis

I want to draw a surface with color and axis using openGL or GLU not GLUT. how to do ?

Tutorials are at http://nehe.gamedev.net using almost any code format you want. I’m not sure if you’ll get away from glu though.

Since GLUT is just routines library made to make programming openGL easy.

I guess you could write you own GLUT like routines from the openGL and glu primitives.
Just download the openGL spec’s and write you own surface routines.

Originally posted by porsgl:
I want to draw a surface with color and axis using openGL or GLU not GLUT. how to do ?

Thank to both of you!! - Pors