Ok, so I’m new at OpenGL. Seems like it should be pretty easy, but I’m stumped already.
I have raw RGB data. I know the width and height, and I can create a bitmap file (providing the DIB and palette) easily from the data.
What I would like to do is simply create a 2D surface, and display the image. I don’t need to map it onto a cube and rotate it in space! I just want to see if I can map the image to a simple surface.
Eventually I will animate the surface with a series of bitmaps, but for now, I just want to show one. Every example I see uses 24bpp, and I’d rather not convert (time is important)
Any information would be greatly appreciated.