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 10 of 10

Thread: How to set up opengl

  1. #1
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    3

    How to set up opengl

    i am completely new w/ opengl and i have no clue where to start. I need someone to help me and tell me what to do. Websites, compilers, or anythign will help thansk

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    California, USA
    Posts
    167

    Re: How to set up opengl

    Hi, best place to start learning OpenGL is nehe.gamedev.net The first tutorial gets you set up in windows. If your not programming in windows then the first tutorial wont do you any good but, there are ports of each tutorial for other platforms.

    Old GLman

  3. #3
    Advanced Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    764

    Re: How to set up opengl

    http://hem.passagen.se/opengl/getstarted/ - For compilers, editors, drivers, links etc.
    http://hem.passagen.se/opengl/tutorials/ - For basic OpenGL code.

    ...then you can continue with more advanced tutorials.
    http://nehe.gamedev.net/ http://www.gametutorials.com/
    etc.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: How to set up opengl

    Hi !

    If you are using Windows and don't know much about the Win32 API then using GLUT would be a good choice, this makes it very easy to get started, it comes with example code and so on.

    If you do know the Win32 API, then the NeHe tutorials would be a good choice.

    Anyway you can always do a search on google for "opengl tutorial" and you will end up with plenty of hits.

    You will find links to it on www.opengl.org

    Mikael

  5. #5
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    3

    Re: How to set up opengl

    thanks everyone for your help.. and someone mentioned somethign about GLUT.. what exactly is that and what does it do thnx

  6. #6
    Senior Member OpenGL Pro
    Join Date
    Feb 2002
    Location
    Bonn, Germany
    Posts
    1,633

    Re: How to set up opengl

    Originally posted by bla1234:
    thanks everyone for your help.. and someone mentioned somethign about GLUT.. what exactly is that and what does it do thnx
    GLUT is a nice utility library that wraps up the nasty details of window creation, OpenGL context creation and message handling. The first hit on this google search directly leads to the win32 version libs, headers and docs ready to go

  7. #7
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    3

    Re: How to set up opengl

    cool thanks a lot. OK now i was on IRC and they say i need to learn c or c++. so i will but which one would be bettter for liek video game graphics and stuff. my neighbor nows c++ and i have some books so that will help but thanks again

  8. #8
    Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Princeton, NJ
    Posts
    386

    Re: How to set up opengl

    c++ is a superset of c, if you learn c++ you must have learned c. The difference is that c++ has features that help support object oriented programming. This can be slightly slower than heavily optimized c code, but is much easier to read and add onto.

  9. #9
    Advanced Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    764

    Re: How to set up opengl

    For questions about OpenGL toolkits (such as GLUT), see the toolkits forum here at opengl.org.

    A toolkit basically takes care of much important (and boring) stuff that OpenGL itself cannot handle (such as window management etc).

    GLUT, GLFW and CPW are examples of OpenGL toolkits. Which one to chose depends on your needs (I suggest reading the documentation for all these toolkits to get a feel for what they do - then you can chose).

    GLUT
    GLFW
    CPW

  10. #10
    Junior Member Newbie
    Join Date
    May 2002
    Location
    Kalamazoo, MI 49001
    Posts
    22

    Re: How to set up opengl

    Just a note: C does have some small functionality that is not available in C++
    -- AsylumX --
    The whole world's gone insane. They just forgot.

Posting Permissions

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