Re: [PyOpenGL-Users] How to use shaders in pyopengl
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2008-08-29 12:51:21
|
Dirk Reiners wrote: > I'm trying to set it to be easy for a Windows user, and I didn't use > easy_install, I just ran setup.py from the OpenGL Context. Let me try > that one. Obviously I'm going to have to fire up a Win32 box and see what's wrong over there. > Not sure what's wrong here. Me either. I tested easy_installing on a Win32 box a long while ago, but apparently something has broken in the meantime. > OK, RTFM really does help. :-/ I found the extension usage docs. Didn't realize we had those... I'll have to track them down and make sure they're accurate still... > So I changed your shaderobjects example to run with raw GLUT. But it's > not working. I do get past the glInitShaderObjectsARB etc., but when I > try to call glShaderSourceARB it says it's not available. > OpenGLExtensionsViewer confirms that the extension really is > supported, so I'm a little confused. > > I attached the program, if somebody could try this on their system I'd > appreciate it. It runs without alteration on an AMD64 Gentoo Linux box with Nvidia and latest CVS of PyOpenGL. I'll have to fire up the Win32 box and see if I can track down the problem over there. I'll keep you apprised. Take care, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |