Re: [PyOpenGL-Users] glVertexAttribPointer(); loading platform-specific functions
Brought to you by:
mcfletch
From: Joshua D. <joshuardavis@q.com> - 2009-08-17 14:21:23
|
>> I don't see any obvious problems with the attribute-based >> version. I've > done some minimal modifications to create a working full script. I > had > to add some perspective and translation setup (to move the geometry > back > from the viewer). Please consider trying to create this kind of > runnable script when reporting errors, I'm rather short on time to > work > on PyOpenGL and recreating scripts takes time I should be putting into > other tasks. I agree; you're doing valuable work on the project itself and I do not expect you to spend time debugging my code. I didn't include full programs in the interests of keeping my posts small, but in the future I will. The two versions of the program are attached below. They differ only in the initializeShaders() and handleDisplayEvent() functions. But I suppose the better diagnostic tool is the fact that the shader_4.py tutorial doesn't seem to generate any fragments on my machine (see my previous post). Thanks for your help. Josh |