Results 1 to 4 of 4

Thread: OpenGL tutorial for linux

  1. #1
    Join Date
    Mar 2008
    Location
    Denmark
    Beans
    52
    Distro
    Ubuntu 8.04 Hardy Heron

    Question OpenGL tutorial for linux

    Hi

    Over the last couples of days i have struggled to find an opengl tutorial made for Linux - the only problem is that I have only been able to find tutorials for ms visual c++ and stuff like that. I have had no luck in finding a tutorial that just provides basic information like what commands to use to compile the scripts an stuff like that.

    I have searched Wybiral post in the following thread: http://ubuntuforums.org/showthread.php?t=333867#8
    But without any luck in finding a tutorial directly made for linux users.

    Hope there is some one out there that is able to help.
    If it is hard to do - it should be hard to understand.

  2. #2
    Join Date
    Nov 2008
    Beans
    14

    Re: OpenGL tutorial for linux

    Hi. I use SDL with openGL on both windows and ubuntu. So I can tell you how to get it working under ubuntu and what tutorials you can use.

    I use SDL with OpenGL and my IDE is Code::Blocks using C++ as the language. So if you want to try that it works. Just be sure to link SDL and OpenGL when you build the program in Code::Blocks IDE.

    You can then go to http://nehe.gamedev.net/ for tutorials. You can download source that is set up for SDL with OpenGL to follow along in the tutorials. Some caution that the tutorials are out of date, but they also say that they're still pretty good for learning.

    Moreover, SDL with OpenGL works on Windows as well. So you can build your application on Windows too so that your Windows using friends can use your program as well. I have experienced different performances on Ubuntu vs. Windows, but I am working on that and it usually only shows when I tax the system.

    This is just a suggestion. Maybe there are tutorials and solutions out there that will fit you better, but this is one possible way. In any case good luck!

  3. #3
    Join Date
    Nov 2007
    Location
    Port Hope, ON, Canada
    Beans
    141
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: OpenGL tutorial for linux

    See if you can find a PDF tutorial called "Programming Linux Games" or something like that. It has good instructions for using SDL to get OpenGL up and running. For OpenGL itself there's the old OpenGL Redbook (the new one's $50 or something, but the old one's free and works just fine).
    Acer Aspire 5920: Intel Core 2 Duo 1.83GHz w/ 2MB L2, 4G DDR2, 320G HDD at 5400RPM, nVidia GeForce 8600M GS 256M, 802.11n, Hardy 64-bit

  4. #4
    Join Date
    Nov 2008
    Beans
    2

    Re: OpenGL tutorial for linux

    Here's a video about basic installation:

    http://www.videotutorialsrock.com/op...inux/video.php

    V

Bookmarks

Posting Permissions

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