OpenGL and Pygame
OpenGL specifies an API for two-dimensional and three-dimensional computer graphics. The API consists of functions and constants. We will be concentrating on the Python implementation called PyOpenGL
. Install PyOpenGL
with the following command:
$ [sudo] pip install PyOpenGL PyOpenGL_accelerate
You might need to have root access to execute this command. The corresponding easy_install
command is as follows:
$ [sudo] easy_install PyOpenGL PyOpenGL_accelerate