—  Open Source
2 minutes

OpenGL is an API for rendering 2D and 3D vector graphics. The API is used to interact with a Graphics processing unit (GPU), to achieve hardware-accelerated rendering and It was developed by Silicon Graphics Inc.


Computer graphics is very attractive section of computer Science and I’m more interested too. Long ago, I programmed a simple game with C++ and OpenGL. Today, I published it on a github repo. You can access the source here:


Crossing the Barriers by Airplane (OpenGL) Screenshot

Step 1

You should have OpenGL Utility Toolkit on your computer to compile and run the source. First download the source that contain a folder named “glut-3.7.6-bin”.

Go to the Microsoft Visual Studio installation folder and copy the files as specified below:

Also you should copy .lib file to both of windows system folders:

Step 2

Bricks.raw is a bricks pattern that I exported from photoshop. If you want to change the pattern, First open your desired image with photoshop and save it again as a .raw file. Finally before running the project in Visual Studio, You must copy this file near your .exe within debug directory.

Share on social networks