PDA

View Full Version : source code to draw x and y cordinates?



baburkhan
09-26-2004, 10:39 AM
Can someone tell me the source code to draw x and y co-ordinates given on the console in the form of fuction, in VC++ using openGL(GLUT)?
i need it urgent.please

mikael_aronsson
09-26-2004, 10:29 PM
Hi !

If you mean drawing coordinates as text:

Have a look at chapter 10 in the glut manual you will find everything you need.

Actually writing the code itself it not very difficult even for a beginner and I am sure you are capable of doing that yourself.

If you mean drawing pixels then look at the answer of your previous question.

Mikael