Author archives: Mike
Audio Monitor for System Load in CSound (Using CSound from Python)
Written by
on
in
Snaking,
Young Coders.
To try to help out with Seneca's presentation today on the Python interface to CSound I tried to create a small demonstration application. It shows the use of CSound's "real time" Python API, that is, the API that allows you to poke notes directly into the score buffer for playing.
6 Word Sci-Fi
Written by
on
in
Vindaloo.
She almost missed Schroedinger's cat door.
"Your clone's warranty expired upon fertilization."
Jennifer disappeared soon after perfecting fusion.
Embarrassingly, his clothes did not follow.
Blue-collar photon entanglers started looking.
"Ned spoke for Earth without authorization."
These Armageddon parties need to stop.
Inanimate crystals were her best clients.
Inanimate crystals ...
glInterleavedArrays is deprecated...
Written by
on
in
Snaking.
Doing a bit of after-work hacking on the PyOpenGL presentation, just realized that glInterleavedArrays is deprecated. It's pretty trivial to rewrite as array pointers when you have VBO objects:
glInterleavedArrays( GL_T2F_N3F_V3F, 0, data )
Becomes:
glEnable( GL_VERTEX_ARRAY )
glEnable( GL_NORMAL_ARRAY )
glEnable( GL_TEXTURE_COORD_ARRAY )
glVertexPointer( len(data), GL_FLOAT, 32, data+20 )
glNormalPointer( len(data), GL_FLOAT, 32, data+8 ...
Presentations are Roughed Out
Written by
on
in
Snaking.
Have the basic outline for the two PyCon presentations worked out now. I'll need some more work to pull together really good sample code for the PyOpenGL one. I added the ability to load multiple profile files to RunSnakeRun as I worked on the profiling presentation (one of those, "oh, yeah, I'm describing how to ...
Sure, I'm fine, but...
Written by
on
in
Snaking.
Realized today as I wrote the presentation for PyOpenGL that one of the bullet points "calculate the transform matrix yourself" is going to be a considerable challenge for new users of (Py)OpenGL. OpenGLContext/PyVRML97 has code to do this already for its hierarchy of nodes, but it's a C-coded extension to have reasonable performance.
May need ...
Should make the VBO objects act as arrays if no implementation
Written by
on
in
Snaking.
As I'm going through the (rather mechanical) process of eliminating the deprecated OpenGL functionality from OpenGLContext, I'm discovering something I hadn't thought about before, when I was on the library providing side. Namely that most of the time what you really want to do is to create the VBO and if there's no implementation, still ...
Sync Thunderbird Contacts to Bluetooth Phone?
Written by
on
in
Tuxedo.
Got the Nokia 6301. I'm underwhelmed, but whatever, it's an included-with-the-plan phone. However, I can't find a good program for working with it over BlueTooth, wammu seems to be the only thing that can talk to it, but it doesn't seem to have any hooks into desktop applications (Thunderbird's what I care about) for sync. ...
Learning Curves
Written by
on
in
Knight Errant.
Sat down to clean up some dojo widgets for a project today. Basically these are "explorer" like collections of sets-of-things, with the desire to allow for filtering the set, viewing a detailed-list view, you know, standard stuff.
So I figured I would work on the detail-list stuff. It's a simple grid control, dojo has a ...
Adding Shader support to OpenGLContext scenegraph
Written by
on
in
Snaking.
Got distracted writing the presentation this evening. I wanted a simple set of examples of shader usage, particularly with respect to replacing fixed-function pipeline operations (there's a number of partial solutions in the various OpenGL books I have on my bookshelf, but I haven't found anything that looks like a complete reimplementation, though there are ...
Need to make Py3D easier to maintain
Written by
on
in
Snaking.
[Update] also need to check the address when I hit "reply" on a message on ...