PDA

View Full Version : Can we open a console window by opengl?



03-13-2004, 04:52 AM
I would want to use printf or cout to print data in order to debug.

Can we open a console window for debug by opengl?

Honk
03-13-2004, 06:13 AM
No, OpenGL doesnt know anything about a command console.

You could create your own command console using OpenGL for the drawing stuff but its a lot of work and not what you want anyway.

Check what kind of support your operating system offers.

infinitecmdz
03-13-2004, 06:28 AM
hi,

opengl is special because it doesn't interfere with all those console commands and control. it is portable. it were to interfere with all the console commands then it would be dependant on a particular OS. Hence the ARB made it excluded from such things , so that it can be used visual basic,VC++, delphi, etc