PDA

View Full Version : How to find functions when I need?



Southp
05-14-2004, 05:11 PM
Recently,I need a function determining the RGB information on a certain pixel.I searched it in my textbook, but I didn't find it.Of course,I begin to wonder if openGL has such a function.However, I found that the only thing that I can tell is that my textbook didn't mention all the fucntion of openGL API. My question is, does a complete API document of openGL exist? If it doesn't,is there a proper handbook?

thanks for help!

chowe6685
05-14-2004, 05:21 PM
blue book
http://www.parallab.uib.no/SGI_bookshelves/SGI_Developer/books/OpenGL_RM/sgi_html/bk02.html

also look at the extensions registry on this site

you are looking for glReadPixels (search google)

Southp
05-14-2004, 05:29 PM
Thanks a lot :)

KeSh
05-16-2004, 02:10 AM
And here is the GLUT API :
http://www.opengl.org/documentation/specs/glut/spec3/spec3.html

:) gl