Slashdot Mirror


Recommendations For C++/OpenGL Linux Tutorials?

QuaveringGrape writes "After a few years of Python I've recently been trying to expand my programming knowledge into the realm of compiled languages. I started with C, then switched over to C++. A friend and longtime OpenGL programmer told me about NeHe's tutorials as a good step after the command-line programs started to get old, but there's a problem: all the tutorials are very Windows-based, and I've been using Linux as my single platform for a while now. I'm looking for suggestions for tutorials that are easy to learn, without being dumbed down or geared towards non-programmers."

6 of 117 comments (clear)

  1. They are both platform agnostic. by ville · · Score: 4, Insightful

    C++ and OpenGL are both platform agnostic, why do you need the tutorial to be for a specific platform? Perhaps you need a tutorial on how to use your toolchain to compile C++ and OpenGL programs or linux?

    // ville

    1. Re:They are both platform agnostic. by hasdikarlsam · · Score: 2, Insightful

      That is no longer the case. However, it doesn't matter; you shouldn't be using the headers directly, you should be using GLEW.

      I'm pretty sure that was around a few years back, too.

    2. Re:They are both platform agnostic. by bastard01 · · Score: 2, Insightful

      How about something from the 25th lesson? http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=25 The implementation of CreateGLWindow() is very windows specific, and from what I've looked at, there doesn't seem to be a tutorial for a Linux/X11 nor a SDL specific implementation, they do have GLUT for OS X and Solaris.. However, actually creating a window and polling for key input is very platform-specific with NeHe's tutorials, which may be why the OP was asking for tutorials specific to Linux.

  2. Re:Why not look at an existing game engine? by Savage-Rabbit · · Score: 2, Insightful

    Why not take a look at the code for an existing game engine like Quake (1/2/3) ?

    That's a bit too much for a beginner if you ask me. Better start out with some simple sprite based game to learn the basics and move on to 3D from there.

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
  3. Re:Have you tried this thing called 'Google'? by HungryHobo · · Score: 2, Insightful

    A tutorial which simply doesn't work is still a broken tutorial.