Learning OpenGL

This is a discussion on Learning OpenGL within the Game Programming forums, part of the General Programming Boards category; I want to learn OpenGL from a book. I don't know anything about OpenGL, but i think i know C++ ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Location
    HOLLAND
    Posts
    10

    Learning OpenGL

    I want to learn OpenGL from a book. I don't know anything about OpenGL, but i think i know C++ OK (i've gone through The C++ Programming Language). Do you think The OpenGL Programming Guide (The Redbook) is a good choice for me?

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Quote Originally Posted by Feite
    Do you think The OpenGL Programming Guide (The Redbook) is a good choice for me?
    Yes. It's a bit heavy but I think it's a must-read for any OpenGL programmer. If I recall correctly, it uses a cross-platform windowing toolkit called GLUT, which you can download from here. This library sets up the windows and allows you to process events from the keyboard and mouse. This saves you the trouble of learning windows programming, which is what the tutorials at Nehe use primarily.

    Learning OpenGL at the beginning can be a bit tough, especially understanding how viewports and projections work. When learning these concepts, I found it helpful playing with these example programs to see how certain functions affect the rendering.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Location
    HOLLAND
    Posts
    10
    Thanks for the reply. I looked first at nehe, but like you've said I thought that there must be a simpler way to set up a window.

  4. #4
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by Feite
    Thanks for the reply. I looked first at nehe, but like you've said I thought that there must be a simpler way to set up a window.
    There is a small downloadable framework on NeHe for GLUT and several other apis that handle windowing for OpenGL including some that due it more as an added benefit like SDL. But you'd still have to use those annoying tutorials. :P

  5. #5
    Programming Newbie Kaminaga's Avatar
    Join Date
    Jun 2005
    Posts
    14
    Hi,
    This site is not too bad as well. It doesn't cover everything about glut but I think it's kind of good with the basics.

    GLUT Tutorial

    Hope it helps
    -Kaminaga
    "Temporary constructs of the feeble human intellect, trying desperately to justify it's meaning or purpose.." -Agent Smith
    kaminaga.deviantart.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Learning OpenGL
    By comwiz in forum Game Programming
    Replies: 5
    Last Post: 04-11-2006, 02:05 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 09:57 AM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. Considering learning OpenGL
    By Panopticon in forum C++ Programming
    Replies: 19
    Last Post: 01-28-2003, 04:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21