Ok so im a beginner at opengl and im starting to make a space game.
My goal is to have a top-down view of objects/spacecraft ect with stars underneath them. The ships would move like real live (I.E. the old asteroids game) and the stars would scroll under the ships.
Any ideas on a good way to accomplish this with opengl?
I am assuming that your camera moves but does not rotate (to maintain the top-down perspective).
One way to accomplish this would be to draw a large quad that will fill the whole view and is far enough back to be behind the ships when they are drawn. You could then texture map the quad with a picture of some stars, and translate the texture across slightly every frame. You probably want something like this :