Archives week 34 of 2005
Aug. 22, 2005 - Aug. 28, 2005
Well at least the redbook demos work (Running tests is a good thing...)
Written by
on
in
Snaking.
So, I decided I would try running all of the demos/tests that could be expected to run with the current state of OpenGL-ctypes. There's a considerable number of working tests (see the "continue reading" link below for more detail than anyone could possibly care about).
What's better, in doing so, I discovered a fairly big ...!-->!-->
Image-handling code would be more useful if it *worked*, of course (Well, images seem to work fine, it's *textures* that are messed up)
Written by
on
in
Snaking.
Shademan postponed the movie until tomorrow, so I did a bit more work on OpenGL-ctypes. Quite a lot of wrapping of exotic functions I've never had a reason to call (mostly image-processing functions). Of course, I have no tests for any of those, so who knows if they work.
However, I seem to have lost, ...!-->!-->
Image handling begins to shape up (Wrappers upon wrappers upon wrappers...)
Written by
on
in
Snaking.
Managed to get the image-handling code starting to look like a reasonable approach to the problem. Still quite a few functions un-wrapped, but in most cases the effort to wrap is now down to two lines of code. Also got quite a few more of the glGet* functions implemented. GLUT is still basically nonfunctional, and ...
Doh! Don't assume constant formatting in GL headers (Not all that surprising it's been failing... though it didn't start magically working yet...)
Written by
on
in
Snaking.
Turns out that all of the GLU and GLUT constants were mis-declared. I used the same script to rip them out of the header as I did for GL... but in gl.h the constants are declared in hexidecimal. In the other two they are declared in decimal, and the script got a little carried away ...
OpenGL works *so* much better when using error checking (But don't forget that you can't use it within glBegin/glEnd)
Written by
on
in
Snaking.
Just finished the surgery to make OpenGL-ctypes do error-checking for all functions that allow error checking (i.e. those outside of glBegin/glEnd). It's still a bit ugly looking in there (the scar from having two wrapper classes will eventually have to be removed), but it does make the system work with considerably more of the tests ...
Housekeeping (Of the web-site sort)
Written by
on
in
Vindaloo.
Went to put some poems on the texts page and realised that the list of poems was getting a bit long. It also lacked any particular ordering scheme. So I restructured it a bit.
Then though "oh, while I'm at it, I should update the Eye Candy page to include any newer material". So, there ...!-->!-->
Long day on documentation (Much easier to read now)
Written by
on
in
Snaking.
Spent the whole day (modulo a few minutes fixing a bug) on user-level documentation for Cinemon. Looking back it's kind of amazing that I left so much of it in point-form, there's still a number of sections that need fleshing out, but the big topics are now at least discussed in full sentences :) . ...
Sigh... bust (So tantalisingly close!)
Written by
on
in
Tuxedo.
I finally got past the block that's been sticking for more than a month (the inability to get a multilib version of both glibc and gcc), and was happily rolling through the automated update script when I hit one of the expected snags. No big deal, obviously others have hit it, and there's detailed instructions ...
Once more into the Gentoo upgrade breach (Multilib or bust (since I can't sleep))
Written by
on
in
Tuxedo.
Can't sleep, and don't feel like doing anything that requires deep thought, so I'm going to try (yet again) to update my Gentoo profile from 2004.3 to 2005.0 (and then 2005.1). I've pulled the emul-linux packages from the 2005.1 CD (was never able to get them to build multilib on my 2004.3 system). Am now ...
Sporty Younger Blondes
Written by
on
in
Vindaloo.
So mid-life is upon me
I am told by gentle stranger
I'm just not sure I'm ready
For a red phallatial car
Or a sporty younger blonde
I'd hoped youth might stay
Just a few years longer
And join me in old age