OpenGL with libQGLViewer