On Thu, Oct 23, 2008 at 12:03 PM, Mike C. Fletcher <[EMAIL PROTECTED]>wrote:
> Ian Mallett wrote: > >> Hi, >> >> I get (adding the necessary "import ctypes" at the top): >> AttributeError: function 'glCreateShader' not found >> >> Thanks, >> Ian >> > You'll likely need to use the extension-based version (ARB.shader_objects). > If you have a modern Nvidia/ATI card it will almost certainly have shader > support available in an extension. Note that some older cards (e.g. > integrated graphics chips) only support the lower-level APIs (i.e. you can't > use GLSL with them). > > BTW just tested this demo, it works fine with PyOpenGL bzr head (on Linux, > with a reasonable Nvidia card): > > > http://bazaar.launchpad.net/~mcfletch/pyopengl-demo/trunk/annotate/2?file_id=shader_test.py-20080923005140-67c17kywpwxa2usj-25 > > HTH, > Mike > > -- > ________________________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://www.vrplumber.com > http://blog.vrplumber.com > > just FYI, it works also in windows ( win xp sp3 ), pyOpenGL-3.0.0b6, nvidia geforce 6600. -- claxo