Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Nurbs working in OpenGL-ctypes (Should have been writing...)


Wasn't really in the mood to write this afternoon, so I spent a few hours on OpenGL-ctypes. The nurbs support is pretty much finished, all of the tests I have work fine, including the callback test that didn't work under PyOpenGL. There's still problems where the slowdown on NURBS rendering winds up completely k-o-ing the ...

Continue reading

Round trip completed (finally) (CAD Views to topological views to CAD views...)


Finished off the CAD-system integration code for Cinemon today. Lots of little details mostly. Upside is that as of now we can import the files, store them properly, populate them for demos, and produce files to have the viewer pull up the CAD map with annotations for an area on user request.

Off to UU ...

Continue reading

More integration (Different product...)


Spent the whole day on Cinemon today; mostly making the code handle imports from a partner's CAD system more elegantly. Tweaked the graphics code to be able to handle deeper hierarchies as part of that.

The graphs are produced by a fairly elegant (IMO) algorithm, but there's a limit to how dense the graph it ...

Continue reading

Slow getting started today (So much for early-to-bed early-to-rise)


Don't much feel like playing with VoIP today. Still, have to get it done. Building mostly external-systems integration stuff now, import and export scripts, that kind of thing.

A note to people who want other people to integrate with their business systems; publish technical specs on your web-site in the public areas. Don't put the ...

Continue reading

Doesn't look like I'll get the nurbs finished this weekend (Darn it)


I've probably got 80 or 90% of the work done for making NURBs work in OpenGL-ctypes. This is mostly just refactoring the code from the Tessellation structure into a base class and then writing up the various wrapper functions. Unfortunately, there doesn't seem to be a generic way to know, at the callback level, what ...

Continue reading

gluTess* working now (Though it's really ugly under the covers...)


The problem with the GLU tessellation routines does appear to have been an indirection-level problem. Basically I'd been passing a byref( func ) instead of a func into the function. The reason for that is that the data-type of the argument wouldn't accept bald func, so I'd assumed it was a pointer-to-a-function. In fact it ...

Continue reading

RunSnakeRun released (finally) (HotShot profile loading/viewing utility using wxPython)


Since Dobes wanted it, I've packaged up RunSnakeRun as a distutils archive so that people can install it on their systems easily. It even has its own little web-page now on which you can see a screenshot and from which you can download a copy.

Shane's Darwin platform module for OpenGL-ctypes (Test and report bugs...)


Shane Holloway just sent in a darwin.py platform module that should let OpenGL-ctypes run on OS-X (he's only tested with the wxPython demo so far). I've checked the module into CVS, so all you darwin peoples who've just been chomping at the bit to see the OpenGL-ctypes goodness, feel free to check it out and ...

Continue reading

Well that was cool (For about 5 seconds...)


So, I finally got all the ducks in line enough to let Cinemon do an entirely "remoted" scan of a real CMTS and all of its modems... It was kinda cool. My little workstation here was running both the server and the client, along with another hundred or so processes, including recording video and everything ...

Continue reading