help

Hi!

I need some help, I wnat to display a 2D raw image using OpenGL. I already have the data allocated in memory. Each pixel
is represented by 4 bytes (or a float). I just want to display
the image within a window. I am using visual C++.

Could somebody help me :eek:

Load your data as a texture then render a textured quad the size of your window. There’s tons of tutorials on the details, for example
http://www.nullterminator.net/gltexture.html