Archives 2012

QIII Shader File Parser added to Twitch

So after yesterday's post, you *must* have been thinking: "where *are* all those textures"? No one has 30 missing textures in a map level. A few of them seem like something that might have been hard-coded, "noshader" "clip" and the like, but there's no way those "sky" textures were going to be hard-coded to content ...

Continue reading

Added Textures to Twitch this evening...

I've been playing at writing a small Quake III BSP map rendering engine using PyOpenGL (and OpenGLContext, for now) when I get the bug to do 3D.

Today I added basic texture rendering for "simple" surfaces (non bezier spline patches). With that you can wander around (unzipped) maps and tell what's going on, but nothing ...

Continue reading

Video from PyCon.ca is up...


The video has a number of drop-outs, and as noted elsewhere, it turns out that the section on Python 3 was wrong. Sigh. Python 3 did not clean up the profile/cProfile duality as it did for all other name/cName pairs, so Python 3 profiling works as long as you use Python 2 tools to process ...

Continue reading

PyCon.ca Tools Sprint wrap-up (a bit late)

We just had two people out to the Tools Sprint, myself and Alex Volkov (of PyGTA fame).  Alex ported gprof2dot to Python 3, which was, as usual, complicated because the codebase already handled Unicode in various areas and because it is explicitly supporting very old Python versions.  Along the way we discovered that Python 3 ...

Continue reading

Coldshot reaches loose equivalence, now the fun part...

So as of now I can load Coldshot profiles into RunSnakeRun.  So far they are no more informative than a cProfile profile.  Now the fun part is seeing what kind of tools can actually be fashioned when you have all of this information...

Some ideas

  • per-thread views (I think that's a given)
  • browse into set ...

Continue reading

KDE CD Ripping rocks

Want to get rid of a CD around the house (who uses CDs any more)?  Pop it into your drive, open it with Dolphin, browse to the 'MP3' (or 'Ogg Vorbis') folder and copy the files to your media directory.  The KDE IO system automatically generates (rips) the "files" when the copying process goes to ...

Continue reading

Line localtime inadvertantly implemented...

Started really looking at the results from Coldshot and realized that the line timings just didn't add up to the function timings... because the line-timings were "localtime" rather than "cumtime".  Local time is actually pretty interesting as a piece of information, but I'm guessing 95% of the time you actually want cumtime when you are ...

Continue reading

Coldshot progress...

Been playing with my experimental profiler (Coldshot) all day.

At this point it can load an OpenGLContext run with 207MB of trace data and produce a basic textual summary (both cProfile-style calls/timing and file:line level timings) in around 4s.  That's still quite slow, as the profiler records around 4MB/second of data, so multi-GB traces seems ...

Continue reading

Monthly archives

Previous year

2011

Next year

2013