Alright, this seems to be minimally complete now.

If anyone's interested in unit testing pyglet or opengl code, I'm
pretty happy with the way the unit tests turned out (patching out
'pyglet.gl' so the test code can poke the code-under-test willy-nilly
without having to worry about what OpenGL is *actually* doing)

Thanks heaps for the help, and encouragement and examples I received
off-list from a few people. You folks rock.



On May 5, 2:56 pm, Jonathan Hartley <[email protected]> wrote:
> Hey people,
>
> I know this has been done before by reputable contributors to this
> list (and doubtless done better, to boot), but in order to learn about
> shaders and get to grips with ctypes, I'm implementing my own classes
> to compile / link / use shaders, using the pyglet OpenGL bindings.
>
> It lives herehttp://code.google.com/p/pyglet-shaders/
>
> It isn't finished yet - it compiles shaders and raises on compile
> errors, but does not yet link them into a shader program. Hopefully
> that will come about during the next evening or two.
>
> Getting my head around ctypes enough to create the unit tests is
> proving... educational.
>
> If anyone wants to help, comment, or hurl abuse, I'd love to chat.
>
>     Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to