Author archives: Mike
Off to the movies I go (I really have no great desire to see Star Wars III)
Written by
on
in
Vindaloo.
Shademan just called, he's running late, so I'll have to get down to Young and Bloor on my own, which means I have to leave a bit earlier. Oh well, at least I won't need to type while I'm down there :) .
Windows steals another 5 or 6 hours of my life (79 trojan horses of various descriptions)
Written by
on
in
Vindaloo.
Got the new video card for Delcina's computer. Installed it and finally logged onto the machine. Thing was in rather rough shape; Norton AV with the subscription long-since expired, half a dozen questionable IE plugins, something that was taking over the IE executable, suspicious-looking card-games, and 79 trojan horse programs installed.
I didn't have their ...!-->!-->
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 ...