Archives September 2006
Ctypes arrays as storage format (Seems natural given the implementation...)
Written by
on
in
Snaking.
Today (and yesterday) I added support for making ctypes arrays first-class array-storage formats for OpenGL-ctypes. That is, you can do this:
import OpenGL
OpenGL.preferredArray( 'ctypesarrays' )
Before you import OpenGL functions in your application and array-producing calls will then use ctypes arrays for the produced arrays (i.e. glGet* will return ctypes arrays instead of Numpy ...!-->!-->
Adding a type for documentation in epydoc (ctypes "Functions" as routine data-types...)
Written by
on
in
Snaking.
As mentioned a few posts ago, I've been looking at how to make the OpenGL-ctypes auto-generated documentation useful. What I want to do is to register the ctypes "functions" as regular routines, with docstrings and preferably with structured meta-data such as the data-types of arguments, error-checker and the like displayed in a consistent way.
The ...!-->!-->
PyGTA is this Tuesday (Now with added planning!)
Written by
on
in
Snaking.
Aaron Bentley (of Bazaar-NG fame) will be presenting a talk on the Sass web application wiki. We'll be meeting this Tuesday at 6:30pm at Linux Caffe.
That was unbelievably frustrating! (Subversions silliness all day...)
Written by
on
in
Knight Errant.
Spent the whole day on the CVS to Subversion migration for one of our projects. Wound up with the mime-types screwed up, then somehow got the repository into a state where it was impossible to merge between a branch and the trunk because the resulting merged file would always be out-of-date.
Eventually just decided to ...!-->!-->
Festooned
Written by
on
in
Vindaloo.
Festooned with caring ribbons
She avoids our eyes
Running an email server at home is great (Until it gets turned off while you're out...)
Written by
on
in
Snaking.
It seems that either my workstation or my internet connection at home has gone down. Last time this happened it was a cable I'd mistakenly unplugged when grabbing a router. Time before that it was my cousin turning off the machine because it was keeping her awake. Both times, however, there was someone at home ...
To His Lips
Written by
on
in
Vindaloo.
He stares out the dark window
Half-eaten sandwich rising to his lips
Without seeing the undead suits
Crowded around him to feast
On the dark corpse of hope
He doesn't consider the taste
Perhaps
It has no great taste
Still
It rises unbidden to his lips
Need a better documentation-generation system (Pydoc and pydoc2 just don't cut it...)
Written by
on
in
Snaking.
Spent the full work-day today on OpenGL-ctypes. The glGet* variables are now getting automatically registered. Image types, it turns out, seem to already be registered. I've also started work on making the docstrings more reasonable, little things like including the extension's Overview section in the docstring (so you can tell what the extension is intended ...
Should have set up Gentoo instead (Package managment falls down...)
Written by
on
in
Tuxedo.
We installed Ubuntu on Soni's machine a while ago, forgoing Gentoo because we figured she should start with a "consumer" oriented distribution. Problem is, first time she runs into a problem I haven't the confidence to fix it by "remote control" (as it were).
In particular, Eric3, though it shows up on the Ubuntu web-site ...!-->!-->
Tweaking the auto-generation (More work tomorrow...)
Written by
on
in
Snaking.
Spent the rest of the day on the auto-generation system for producing GL extension wrappers. Mostly I'm looking at parsing the extension definition files and turning them into instructions to do such things as registering glGet* extensions, automatically registering image types for support, that kind of thing. Also tweaked the code so that marking a ...
Daily archives
- Sept. 1, 2006
- Sept. 2, 2006
- Sept. 4, 2006
- Sept. 5, 2006
- Sept. 6, 2006
- Sept. 7, 2006
- Sept. 8, 2006
- Sept. 9, 2006
- Sept. 10, 2006
- Sept. 12, 2006
- Sept. 13, 2006
- Sept. 15, 2006
- Sept. 16, 2006
- Sept. 17, 2006
- Sept. 19, 2006
- Sept. 20, 2006
- Sept. 21, 2006
- Sept. 22, 2006
- Sept. 23, 2006
- Sept. 24, 2006
- Sept. 25, 2006
- Sept. 26, 2006
- Sept. 28, 2006
- Sept. 29, 2006