I am trying to draw a picture on the screen and then read the pixel values, reconstruct the image (in a different orientation and location on the screen) and display it again.
My problem is that when I write the initial image, I use real values to specify location (for example: glVertex3f ( 0.3, 0.5, 0.0). Now, the only function I found to read pixel values back is glReadPixels() where I need to specify integer values for pixel location. Is there a way to read a pixel value where I have only the real valued location
I appreciate your help.
Ron