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
Get NumPy : Beginner's Guide - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.