PDA

View Full Version : Where do I find OpenGL commands?



rost78
11-05-2002, 09:16 AM
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

yakuza
11-05-2002, 09:22 AM
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.

roffe
11-05-2002, 10:01 AM
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.

nexusone
11-05-2002, 11:11 AM
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:
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