PDA

View Full Version : Camera and Starfield



Mondain
07-30-2014, 12:58 AM
Hello,

I want to program a "star wars" starfield with objects moving towards the screen.

What would be the OpenGL principle behind this? How does it work in principle with OpenGL?

- Do I have stationary objects and move the camera?
- Do I have a stationary camera and move the objects towards the camera?

Thanks for help.