Richard Jones' Log: GLSL in Python via ctypes

Sat, 19 Aug 2006

Alex has written ctypes-based code for getting GLSL in Python. Much nicer than having to go through glew.

It's in the (growing) cookbook on pygame.org. I imagine the cookbook is going to be a popular resource during the next PyWeek.

Comment by Simon on Sat, 19 Aug 2006

Richard, Alex, this is _awesome_. Thank you!

Comment by Alex on Sun, 20 Aug 2006

What do people think about an "allow copy and paste from the cookbook" clause added to the rules? Some of the recipes (e.g. this one and Richard's OBJ loader) would be libraries if the cookbook didn't exist, and retyping something that specific doesn't appeal to me as a good use of time during the comp. Think of it as a repository for "mini" modules.

Comment by Richard Jones on Sun, 20 Aug 2006

I will work on clarifying the intent in the rules regarding cut-n-paste of code snippets.