PDA

View Full Version : Imaging processing with OpenGL



Ehsan Kamrani
06-07-2005, 04:59 PM
OK.One of my friends want to find a way to find the RGB or RGBA values of each pixel of the image.So are there any OpenGL functions to do this?
Any article or suggestion?
-Ehsan-

powerpad
06-07-2005, 09:01 PM
glReadPixels

glCopyTex*Image

will help

jide
06-08-2005, 12:47 AM
Also glReadBuffer will help too. You'll get an array of RGB values for each pixel in the screen.

glReadPixels would help but that doesn't save a complete screen.

powerpad
06-08-2005, 02:26 AM
For more complex imaging stuff there are nvidia imaging extensions to opengl.