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: How do I even start on programming OpenGL on Linux?

  1. #1
    Guest

    How do I even start on programming OpenGL on Linux?

    If been desperately trying to program OpenGL on Linux, struggling with compiling the GLUT & learning from Windows eccentric OpenGL programming books.

    Anyone here who can help me overcome this initial obstacle?

    I really believe Linux is a good platform for Graphics prgramming. Rock on dudes!

  2. #2
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    204

    Re: How do I even start on programming OpenGL on Linux?

    What specifically, is your difficulty? Have you tried NeHe's tutorials? Do you have the Red Book?

    Chris

  3. #3
    Junior Member Newbie
    Join Date
    May 2000
    Location
    Annapolis, MD
    Posts
    19

    Re: How do I even start on programming OpenGL on Linux?

    Probablly the best place to start is by downloading and installing Mesa. Even if you already have it on your machine, the dwnldable version comes with a pile of examples that are useful to look at. Once you've got those running, you'll want to try getting your accelerated hardware working with it. That can be a lot trickier.
    A good resource for GL in Linux is the Green Book, OpenGL Programming in the X Windows environment.

  4. #4
    Intern Contributor
    Join Date
    Jun 2000
    Location
    Fresno, Ca
    Posts
    51

    Re: How do I even start on programming OpenGL on Linux?

    As the other have sugested download mesa and look at the examples, and as well read the red book all the exaples there are uesing non platform spicific gult code then just play around.

    good luck

  5. #5
    Guest

    Re: How do I even start on programming OpenGL on Linux?

    Thnx for the tips. I'm having difficulty in setting up the programming envirionment for OpenGL. Specifically i can't seem to find the GL/gl.h files. And i'm using a windows eccentric book(can't find any X OpenGL books in my area).
    Another question is if the programs are accelerated?(GLX??).

  6. #6
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: How do I even start on programming OpenGL on Linux?

    $ locate gl.h


    On most installs, it lives in
    /usr/X11R6/include/GL

    Originally posted by Devio:
    Thnx for the tips. I'm having difficulty in setting up the programming envirionment for OpenGL. Specifically i can't seem to find the GL/gl.h files. And i'm using a windows eccentric book(can't find any X OpenGL books in my area).
    Another question is if the programs are accelerated?(GLX??).

Posting Permissions

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