OpenGL based graphics engine