Archives May 2009

Roughing in the Play in Design section

My point-form outline for my 1997 thesis was 30 pages of single-spaced 10pt text.  It's somewhat daunting going through it and picking out which pieces need to be in a document for first-year students.  For tonight I dropped in the "Play in Design" section as a fairly quick rough draft.  I figure it eventually deserves ...

Continue reading

Sphere rendering with numpy...

So, you ask; "how do you generate the coordinates necessary to render a (unit) sphere" (you do ask the strangest questions)?  Well, since you insist, here's a quick rundown of one way to go about it.  We'll assume that we're going to use a pair of vertex/index VBOs to render the geometry.  We won't try ...

Continue reading

Do not use "profile", use "cProfile"

For those who didn't see the presentation at PyCon:

  • do not use the profile module with python 2.x
  • use the cProfile module (or hotshot if you're on < 2.4)

the profile module has extremely high overhead and will produce results that would have you doing the wrong thing if you were to believe them.  See ...

Continue reading

Most of the work I planned to do is done...

There's always going to be lots more work to get done, but I think I'm pretty much okay with where OpenGL_accelerate is for now.  There's now a C-level API for format handlers, so that Cython modules can be written that pretty much do a cast and a dereference to get values, rather than doing lots ...

Continue reading

Daily archives

Previous month

April 2009

Next month

June 2009