Where do I find OpenGL commands?

Hello,

I’m just starting programming with OpenGL and downloaded the GLUT toolkit. A first example program runs fine but now I have a pretty “weird” question. How do I know which OpenGL commands do exist and, more important, how do I use them? I downloaded several documentations but none includes an overview of how to use glClearColor, glVertex3f and so on.

So, can anybody tell me where I can find this API documentation as PDF or Postscript?

Greetings, Robert

The Developers section here at http://www.opengl.org has some good documentation. Take a look here:
http://www.opengl.org/developers/documentation/index.html

The MSDN also has some documentation:
http://msdn.microsoft.com

Hope that helps.

Opengl API reference: http://wwws.sun.com/software/graphics/OpenGL/manpages/man3glindex.html

Opengl programming guide on the web: http://fly.cc.fer.hr/~unreal/theredbook/

If you are somewhat interested in opengl beyond the beginner stage, I suggest you
pick up a copy of the redbook at your nearest bookstore.

Right here on this site under documentation, for commands and usage.

For more detail buy or download the online version of the openGL Redbook… links here on this site.

Originally posted by rost78:
[b]Hello,

I’m just starting programming with OpenGL and downloaded the GLUT toolkit. A first example program runs fine but now I have a pretty “weird” question. How do I know which OpenGL commands do exist and, more important, how do I use them? I downloaded several documentations but none includes an overview of how to use glClearColor, glVertex3f and so on.

So, can anybody tell me where I can find this API documentation as PDF or Postscript?

Greetings, Robert[/b]