hello, I am reading pixel information using the function glreadpixel(). can any one suggest me how to do operations on them after getting them.i would be very thankful if anyone provide me a sample code to refer. Thankyou..
A:
http://usuarios.lycos.es/hernandp/opengl.html
That's one example I wrote years back. Check out pixel effects demo to see how to read pixels and treat them. It's standard OpenGL and does not use any programmable shaders, so I think it's perfectly portable to the iPhone.
Hope that helps. And tell me about your iPhone port ;)
Hernán
2009-03-26 07:13:17