Category archives: Snaking
Discussions of programming, particularly of programming Python
Beginnings of diffuse + ambient shader tutorial up...
Written by
on
in
Snaking.
Doing a bit more on the shader tutorial stuff. Up now is the first crack of the diffuse+ambient (with directional light) introduction. Very much a fast bash-out, but whatever :) .
You tend to forget the stuff under your abstractions...
Written by
on
in
Snaking.
Decided to get at least *some* PyOpenGL stuff done this weekend, so played around a little with the texture-atlas-based text rendering stuff. I went with a spike test rather than trying to refactor the whole font engine in OpenGLContext at the first go.
I spent the longest time figuring out why the texture always came ...
Selenium Setup bores me...
Written by
on
in
Snaking.
Selenium rocks. Unfortunately, every time I sit down at a new client I wind up having to do boilerplate setup to get a nose-testable Selenium environment. By nose-testable I mean something that automatically sets up and closes down the selenium server (and the client servers under test, though that's a separate issue).
To be useful ...
Shader convenience module...
Written by
on
in
Snaking.
I'm always wary of adding non-standard functionality to PyOpenGL, but as I've been trying to write tutorials for how to use shaders I'm finding that it really is necessary to have a module that provides the appropriate "alternate" definitions and provides the basic compileShader/compileProgram functions (with error checking and log extraction).
So, to use a ...
Win32 Trivia
Written by
on
in
Snaking.
Finally broke down and installed Visual Studio Express 2008 on my Vista partition of the work laptop. It takes a GB on disk, bah. Anyway, it worked as advertised, so whatever, I now have a Python 2.6+ compatible compiler and can use Mingw32 for Python 2.5, so no more need for the Toolkit stuff.
Interesting ...
For the Brave: PyOpenGL 3.0.1a1
Written by
on
in
Snaking.
I've just managed to get PyOpenGL's first alpha for the 3.0.1 series out the door. The biggest changes of note are:
- Shader convenience module OpenGL.GL.shaders, provides shader entry points named as the core entry points with alternate implementations using ARB when necessary. Includes Two utility functions compileShader( source, type_constant ) and compileProgram( *shaders ) which ...
Bashing Tutorials Out
Written by
on
in
Snaking.
On the principle that it's better to just bash through and get *something* done than to spend forever trying to get enough time to do it right, I've started quickly converting the existing shader sample code into automatically generated tutorial web-pages. I'm using a quick and dirty script to turn the '''-quoted strings in ...
zc.buildout at PyGTA on Tuesday
Written by
on
in
Snaking.
Robert, from the Toronto Plone User's Group is going to be presenting zc.buildout on Tuesday evening @ Linux Caffe. More details on the (ugly) new PyGTA site...
Lots of bug-fixes landing in PyOpenGL today...
Written by
on
in
Snaking.
Seems that I'm not getting SourceForge bug updates. There were dozens of bug reports I hadn't seen, along with a few feature requests and patches. I've spent almost the whole day testing, fixing and updating those tickets. Result is that there were way more changes than I'd expected when I sat down to test this ...
Tentative PyGTA Site Rework
Written by
on
in
Snaking.
We've had a number of discussions at PyGTA about the sorry state of the wiki/web-site. No one really uses the wiki features, and the whole site is overkill for what is basically just a bit of a description. So, for now I've hashed together a quick one-page site that looks like junk at the moment, ...