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."

8 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 Anonymous Coward · · Score: 1, Insightful

    http://nehe.gamedev.net/wiki/LessonLinux.ashx

    that's all you should know - those are not tutorial for the newbie in how to fix dependencies or learn c++
    if you need help in replacing a library in your ide of choice, you should restart from hello world and work all the way up from there again.

    those are tutorials about opengl - please LEARN the language BEFORE.

  4. 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.

  5. Re:Have you tried this thing called 'Google'? by Anonymous Coward · · Score: 1, Insightful

    yeah so you should have your tutorials available as ready to go projects for every ide you may fancy to choose? nonsense.
    each ide has its own project definition file, each one differing in how to track library dependencies.

    if you think that a tutorial failing to provide project definition for every ide out there is broken, probably you had newer worked on a real project.
    as I said: learn the language, the ide you're working on, and stop complaining about non issues.