View Full Version : How can I compare the RGB value in pixel?

10-23-2005, 11:21 PM
AfterI use gluScaleImage(GL_RGB,...GL_UNSIGNED_BYTE,...,pdata ) to transfer the pixel address into pdata,how can I compare the RGB value in two different pixel?directly using *pdata or something else?But when I attemp to output *pdata value
,the result is a '?',why?

Tom Nuydens
10-26-2005, 05:10 AM
I've told you this before: pretty please DO NOT post questions in both the beginner and advanced forums.