This needs to be checked again and re-written. Shouldn't need to be
done for the rest of Fall 2009, though.
Directions for Mac Installation
- Download the following installation
script. Just clicking on that link will download the file to your
Mac's desktop
- Using the Finder, open up the Utilities folder and launch
the terminal application
- In the terminal shell, do the following command:
source ~/Desktop/install-pyopengl.sh
- If all goes well, you'll have installed the PyOpenGL libraries and
the PyOpenGL-Demos. Try the following:
python
>>> import OpenGL
- Exit from python (Control-D does it) and cd
to
~/Documents. Try running some of the demos, just from
the shell:
python demos/redbook/cube.py
- When you're talking to a Python GLUT window, go to Python >
Preferences, and in the dialog box, enable multi-button mouse
emulation. That way you can use command-click to get the menu that is
usually attached to the right button.
Reinstall
If you've already installed once, you can save a little time by
installing and running reinstall-pyopengl.sh. Run it
the same way as the install-pyopengl.sh script:
source ~/Desktop/reinstall-pyopengl.sh
-
This work is licensed under a Creative Commons
License
-