Custom made graphics engine supporting windows and opengl