An 3D Game Engine based on OpenGL