> Doesn anyone know of a way to have openGL return a > pixel color? According to my 455 class, you can't. You must store the pixel colors yourself. Put another way, you can't query the screen to see what color a pixel is. This is most likely because OpenGL supports floats for pixel coordintes. Ie, you can say glVertex2f(float x,float y) to turn on a pixel. For it to store all the different colors for every possible float value on your screen would be an enormous piece of memory.
It seems to be best to write a wrapper function to OpenGL's pixel illuminating function and store the pixel's coordinates (use ints) and its color (floats are okay). --Dave ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
