Archives 2009
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, ...
Javascript and Namespaces...
Written by
on
in
Snaking.
Say you want to trigger the submission of a form in jquery:
$("form.someclass").submit();
Simple, straightforward, robust... you think. Turns out in Firefox, if you have any form element (such as your submit button) named "submit", the submit referenced becomes that element, rather than the function to do the submission.
OMG, you think, has no-one thought ...
Chromium is nice-ish...
Written by
on
in
Tuxedo.
I installed the Chromium daily build in order to test a site in a WebKit browser that actually had a JS debugger (see previous post). All in all, quite nice. Strangely, though, it seems much slower than Firefox 3.5 on the site I'm testing. Takes quite a while for the backgrounds and the like to ...
PyOpenGL Testing on Linux and Win32 Today
Written by
on
in
Snaking.
Spent most of the afternoon and evening working on PyOpenGL testing today. Whole raft of small bugs fixed. Also did some refactoring of the OpenGL_accelerator support code, still want that to be cleaner. I've also added a top-level flag to PyOpenGL so that you can disable accelerator loading on a per-application basis. Unfortunately, that's going ...
Python 2.6+ buffer protocol...
Written by
on
.
Been playing around with the Python 2.6+ buffer protocol this morning. Notes:
- it appears that ctypes could support buffer-supporting objects being passed as pointers natively (i.e. at C speed), but it doesn't seem to (at least with my cursory tests) there would likely be a lot of corner cases that would need to throw errors ...
Contributors verily rocketh
Written by
on
in
Snaking.
There's a 2.1.1a2 release of SimpleParse out. The only significant change is to allow building on Python 2.6 with Mingw32. Anthony Tuininga pointed out that the only place the compiler actually had difficulty with was in a debug printing function that isn't particularly necessary. I've completely gutted the function for now.
Thanks also to Alan ...
Monthly archives
- January 2009
- February 2009
- March 2009
- April 2009
- May 2009
- June 2009
- July 2009
- August 2009
- September 2009
- October 2009
- November 2009
- December 2009