hey guys im a complete newbie in using jogl and im pretty lost… :-\
all i want to do is to read a bitmap file from my hard drive and display it on screen. I have all the initialization stuff up and running and i can get text printed on screen but i cant seem to find the correct method to read and display the image.
from what ive been reading the best method to use is glDrawPixels (pls correct me if im wrong). if so, how do i read the file from the hard drive into a format appropriate to use in this function and what “format” and “type” do i use as arguments to the glDrawPixels?
i’d really appreciate any help i can get…
cheers