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

Thread: Starting with opengl coding

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Girona
    Posts
    2

    Starting with opengl coding

    Anyone knows any tutorial or webpage to start with opengl programming?
    I use C/C++ and I don't know anything of opengl =)

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,757

    Re: Starting with opengl coding

    Might want to take a look at the tutorials at http://nehe.gamedev.net/

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    6

    Re: Starting with opengl coding

    I like the page that the guy above suggested, but there's a problem with the code in the first lesson there. For some reason, I simply cannot get it to compile with the gluPerspective() function used.

    I'm probably making a mistake somewhere, though, that guy seems to know his openGL .
    RW

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,797

    Re: Starting with opengl coding

    What are the compile errors you are getting? Perhaps we can tell you your problem. Are they actual compile errors, or linker errors? Your probably is probably either
    a) You didn't inlcude <GL/glu.h> (Or you don't have it for some reason
    b) You failed to add glu32.lib to the list of libraries to compile.

    It would also help to know what compiler you are using.
    Deiussum
    Software Engineer and OpenGL enthusiast

Posting Permissions

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