I am a total OpenGL novice. Im writing an aplication to view and manipulate Hyperspectral images. I`ve been using the MFC CBitmap class and functions like BitBlt e.a to visualise the images. I want to know if OpenGL will enable me to view bitmaps more effectively and if I should be looking at texture mapping or something else ?
At first, you must declare
pointer of AUX_RGBImageRec;
Example: AUX_RGBImageRec* bmp;
To load use auxDIBImageLoad(const char *path);
To draw you can use glBitmap or glDrawPixels.
If you only want to display images, I think OpenGL is the wrong API. OpenGL is mainly used for 3D. You should look for some 2D specialized API instead. I don’t know of any APIs, so can’t give you any names, sorry.