Bugs item #3404017, was opened at 2011-09-04 09:41
Message generated for change (Comment added) made by mcfletch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3404017&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glProgramParameteri is undefined
Initial Comment:
glProgramParameteri is undefined. This makes usage of geometry shaders impossible.
The error happens here:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/OpenGL/platform/baseplatform.py", line 344, in __call__
self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function glProgramParameteri, check for bool(glProgramParameteri) before calling
A workaround for the windows platform can be found here:
https://sites.google.com/site/dlampetest/python/geometry-shaders-from-python
and here:
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=277436
Unfortunately I couldn't find a workaround for the mac or linux.
If you have questions or a tip for a workaround, please write me: pyopengl [at] pdietrich.net
Cheers!
Patrick
----------------------------------------------------------------------
>Comment By: Mike C. Fletcher (mcfletch)
Date: 2011-09-04 17:02
Message:
It's definitely there in bzr head, also included is an alias in
OpenGL.GL.shaders that uses either core or the ARB.geometry_shader4
version. That doesn't, however, currently use the EXT.geometry_shader4 or
ARB.get_program_binary version. IIRC the get_program_binary version, if
available, changes the definition of the entry point (ick!), but I'm
guessing there shouldn't be much hardware that provides the EXT version but
*not* the ARB version of geometry_shader4.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3404017&group_id=5988
|