Mar 25 2015
OpenGL (Open Graphics Library) is a cross-language, multi-platform applicaion programming interface for rendering2D and 3D vector graphics. The API is typically used to interact with a graphics processor unit (GPU), to achieve hardware accelarated rendering.
So OpenGL is an open library that let us a draw graphics. In this post we will build a spacecraft by designing each part of it using the primitive types of OpenGL . Moreover we will build the environment which includes space, stars , a sun and some planets with the same way. Then we will introduce the way that we can add an animation movement. Finally we will load an asteroid from an object file that will have an orbit towards our spacecraft and the goal will be to avoid the asteroid. More