Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
It's in Interfaces/__init__.py
Where do I get protocols from?
I don't seem to have such a module in my python installation
ok, answering my own questions... found the manual page...
In order to run the bunny demo (shownormals), i had to modify cmds.py
from scene import getScene
from cgkit.scene import getScene
for whatever reason, scene.py from PyOpenGL was taking precedence, and rather than monkey with search paths, i thought it would be better to make the import explicit
This is rather odd as cmds.py and scene.py belong to the same package, so when cmds.py imports the scene module it should always refer to the local module inside the package and not some external module stored elsewhere.
From where did you invoke the shownormals example? How exactly did you invoke the viewer tool?
What version of PyOpenGL do you have installed? In my version (2.0.1.07) there's only one file called "scene.py" which is located in <site-packages>/OpenGL/Demo/redbook. This path isn't in the module search path, so it should never be picked up by Python. Is there another scene.py in your version?
Do you have anything "special" in your module searchpath? Do you have PYTHONPATH set? What does sys.path say?
- Matthias -