[PyOpenGL-Users] [ pyopengl-Feature Requests-1176162 ] glShaderSourceARB
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2005-04-18 09:33:48
|
Feature Requests item #1176162, was opened at 2005-04-04 01:24 Message generated for change (Comment added) made by the_real_nimby You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355988&aid=1176162&group_id=5988 Category: GL Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: glShaderSourceARB Initial Comment: Hello, I would like to experiment with vertex-shader programs, but I couldn't find a way to use glShaderSourceARB. It seems to want a pointer to a set of string pointers, but I can't seem to find a way to make one. Could you please make a functional version of this? a glShaderSourceARB2(object_id, string) would be nice. ---------------------------------------------------------------------- Comment By: Jonathan Thambidurai (the_real_nimby) Date: 2005-04-18 05:33 Message: Logged In: YES user_id=1261427 I don't see how to attach a patch here. If you would like to enlighten me, or would just like the patch, mailto j o n t h a m b i at c o m c a s t DOT n e t ---------------------------------------------------------------------- Comment By: Jonathan Thambidurai (the_real_nimby) Date: 2005-04-18 05:31 Message: Logged In: YES user_id=1261427 Here is a patch that fixes it. I am not a pyOpenGL dev nor do I have any idea how the attached code works. I copied (and slightly modified) it from some online FAQ. It fixes this problem and allows GLSL in PyOpenGL. You must run 'python setup.py build_w' first (after applying the patch), and then build as usual. ---------------------------------------------------------------------- Comment By: Take Vos (take-vos) Date: 2005-04-04 01:26 Message: Logged In: YES user_id=1252309 Oh, yes, I'm Take Vos, seems that I wan't logged in. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355988&aid=1176162&group_id=5988 |