Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: Win32 Console OpenGL?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Sep 2001
    Location
    Eastern USA
    Posts
    220

    Win32 Console OpenGL?

    I've heard people referring to programs written as Win32 console progs that utilize OpenGL. How's this done?

  2. #2
    Intern Newbie
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    47

    Re: Win32 Console OpenGL?

    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.

  3. #3
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Karlsruhe, Germany
    Posts
    486

    Re: Win32 Console OpenGL?

    Take a look at the OpenGL FAQ, this topic is covered there!

    Cheers,
    -Lev

  4. #4
    Intern Contributor
    Join Date
    Jan 2002
    Posts
    52

    Re: Win32 Console OpenGL?

    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

  5. #5
    Junior Member Regular Contributor
    Join Date
    May 2001
    Location
    Omaha, NE US
    Posts
    119

    Re: Win32 Console OpenGL?

    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.

  6. #6
    Advanced Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    853

    Re: Win32 Console OpenGL?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •