Starting to Learn OpenGL

These questions may sound a little immature, but is opengl code completely platform independent?
If so, what would be the best approach to start learning it(I am fairly conversed in C && C++ but not in the complicated mathematics, which I aspire to learn alongside)?
Again, If it is platform independent...Is it possible to compile the code to run without an OS ...considering I can make a basic kernel and load it alright?
Last edited on
OpenGL is nothing more than a specification.
It runs on exactly those platforms for which an implementation exists.

As for learning it, I suppose you should look for a decent book on the subject.
There are two tutorials I know of, both incomplete as of yet, but they can give you a good start:
http://bitbucket.org/alfonse/gltut/downloads?highlight=8970
http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html
Last edited on
Does the implementation vary too much between platforms?
What is the next step down the ladder towards the lower level?
Last edited on
Topic archived. No new replies allowed.