basic 3D viewing of panel using pyglet's opengl bindings.