Results 1 to 2 of 2

Thread: openGL in console

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2004

    openGL in console

    Hi everybody.

    I have a little question. In a PC under Linux, ¿is possible to use openGL in a command line?. A environment without X (KDE, Gnome, etc).

    I think games such Qhake2 are 3D and using C/C++ and openGL, I think maybe this are possible, but I am unsure.

    Requeriments of Quake2

    I anm searching if are possible make a 3D games (Quakes, Unreals, etc) using this way, whithout a GUI environment.


  2. #2

    Re: openGL in console

    I think you are confusing things. C/C++ means that you compile your code to a binary file. You can run this binary either by double clicking the icon or typing the name of the binary at the command prompt (in a command line box window thing). This is possible on Win and Linux.

    The alternative is to use a scripting language (no compilation needed) like Python.

    The X Windows is necessary since you need to create a GL context using it. Secondly, the video drivers are for X Windows, at least I'm assuming.
    Visit and and you'll see it is listed like "this requires XFree86 version XXX or version XOrg"

    No X windows means no 3D graphics unless someone has written a special driver.

Similar Threads

  1. how to run a OpenGL thread in a c++ console app?
    By RafalTypiak in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 05-26-2009, 05:23 AM
  2. OpenGL-Console
    By in forum OpenGL: Linux
    Replies: 3
    Last Post: 11-18-2004, 06:03 AM
  3. adding a Console to an openGL GUI
    By cutting_crew in forum OpenGL: Windows
    Replies: 2
    Last Post: 02-08-2004, 03:16 PM
  4. Can I do OpenGL in Console programs ???
    By ajaytemp in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 02-04-2004, 11:13 AM
  5. Win32 Console OpenGL?
    By Omaha in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-06-2001, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean