a rolling dice based on OpenGL