I want to do the following in OpenGL:
I have jpg image 640x480. I want to draw that image so that it completely covers a 640x480 window. Then I want to draw 3d cube to whatever distance and I still want to have the cube drawn over the image. When the player moves around in 3D space then that image still covers entire window.
(I called it a skydome because I had no other idea what to put for the headline).
How can I do that? Can You point me somewhere? Java, C or C++ example would be great