An OpenGL-based 3D game and rendering engine