How to start learning OpenGL

Started by
11 comments, last by Velvet Leopard 16 years, 7 months ago
Oh. I think I get it. So I can build a program, say a game or a GUI system, and it should work the same on most other cards? So I would have to do a bit of research on the major cards and see what specific extended functions they have, right? I thank you so much for your help. But one more question. If I have to include the .H header files to include the libraries, where do I get those in order to include them? Are they in the hardware too?
Advertisement
They usually come with your compiler. Look at your compiler's include directory, there should be a subdirectory called 'gl'.

EDIT: See DrTypo's post:
Quote:
Since it is a standard library, most C++ compiler comes with OpenGL header files & libs.
On Windows, it is included in Microsoft Platform SDK, freely downloadable on Microsoft website. On Linux, libs & headers are usually available by default.
However this will give you only access to OpenGL 1.1.
To access latest versions of OpenGL, you need to ask the driver for extensions.
Helpful people have made libraries that does this for you, check out GLEE or GLEW.

There are a few interesting links here: http://www.opengl.org/sdk/

[OpenTK: C# OpenGL 4.4, OpenGL ES 3.0 and OpenAL 1.1. Now with Linux/KMS support!]

Sorry for missing that info.

This topic is closed to new replies.

Advertisement