I use glVertex to draw entire images, pixel by pixel, using pixel intensity information that I get from source data. The source data is a listing of pixel intensity and position (not an image). This works fine if the size of the image I want to draw is the same as the original data, but if I enlarge the window, I am left with blank space between pixels.
Does anyone have any suggestions as to what I can do to rezise my image and still have it appear complete?
you can create quads out of your points, then when the image is scaled the quads will scale with it. You can also do as Z says, and create the image as a texture… I think I’d rather do what Z says.