PDA

View Full Version : Win32 Console OpenGL?



Omaha
11-04-2001, 04:30 PM
I've heard people referring to programs written as Win32 console progs that utilize OpenGL. How's this done?

ByteZero
11-04-2001, 09:26 PM
hhhmm

in a Win32 Console, I know that you can using a Win32 Console and Glut to Create a OpenGL app that works, when you do that, in the Background of this app would run a Win32 Console, maybe you mean that.

Lev
11-05-2001, 02:13 AM
Take a look at the OpenGL FAQ, this topic is covered there!

Cheers,
-Lev

endo
11-05-2001, 09:14 AM
This is how I have been learning OpenGL, it is quie simple and ingnores the Window API, MFC or anything else too horrible.

Is this recommended though?? I have been reading Nehe's tutorials and this isn't the approach used in his code

rpxmaster
11-05-2001, 10:55 AM
Go here
http://home.clara.net/paulyg/ogl.htm

The tutorials are written for Borland users, but they are Win32 console apps that utilize OpenGL.

marcus256
11-06-2001, 02:58 AM
With GCC (MinGW):

use -mconsole instead of -mwindows

As always, you can use the standard

int main( int argc, char **argv )

program entry, rather than WinMain.

/Marcus