Re: [PyOpenGL-Users] glVertexAttribPointer(); loading platform-specific functions
Brought to you by:
mcfletch
From: Joshua D. <joshuardavis@q.com> - 2009-08-15 14:25:52
|
While hoping for a response to my previous question, I'm trying to run the tutorial at http://bazaar.launchpad.net/~mcfletch/openglcontext/trunk/annotate/ head:/tests/shader_4.py as it is written, verbatim. The thing requires OpenGLContext and its various dependencies, which are listed at http://pyopengl.sourceforge.net/documentation/installation.html I've installed PyDispatcher, SimpleParse 2.1.1a2, TTFQuery 1.0.1, FontTools (for Numpy) 2.1a1, and OpenGLContext 2.1.0a5. Supposedly SimpleParse 2.1 provides the VRML97 parser, and the directory OpenGLContext/loaders/ contains vrml.py, but I still get this error: tcsh > python shader_4.py INFO:OpenGL.acceleratesupport:OpenGL_accelerate module loaded Traceback (most recent call last): File "shader_4.py", line 31, in <module> from OpenGLContext import testingcontext File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/OpenGLContext/testingcontext.py", line 13, in <module> from OpenGLContext import context File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/OpenGLContext/context.py", line 32, in <module> from OpenGLContext import visitor, texturecache,plugins File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/OpenGLContext/visitor.py", line 3, in <module> from OpenGLContext.scenegraph import nodepath File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/OpenGLContext/scenegraph/nodepath.py", line 3, in <module> from vrml.vrml97 import nodepath, nodetypes ImportError: No module named vrml.vrml97 Josh |