Hello, Im new in this forum (also in JoGL). Im developing a graphical component which represents a World Map… It basically consists in a large image (JPEG, about 2000 * 1800 pixs) that can be scrolled and zoomed. Im using JoGL because it will have some animations on it.
Im now loading the image into a byte-array (3 bytes per pixel) and displaying it using glDrawPixels
to draw the pixel in the frame buffer. Thats ok.
The problem is, when I try to zoom in or out. I use currently the glPixelZoom
function, but it just resizes the image without any anti-aliasing…
The question is: how do I resize with anti-alias? Am I using the rigth way to make what I want?
Thanks!!!